Class AbstractDataAdapterService
- java.lang.Object
-
- net.sf.jasperreports.dataadapters.AbstractDataAdapterService
-
- All Implemented Interfaces:
DataAdapterService
,ParameterContributor
- Direct Known Subclasses:
AbstractClasspathAwareDataAdapterService
,AbstractXlsDataAdapterService
,CsvDataAdapterService
,EjbqlDataAdapterService
,EjbqlDataAdapterService
,EmptyDataAdapterService
,JndiDataAdapterService
,JsonDataAdapterService
,QueryExecuterDataAdapterService
,RandomDataAdapterService
,SpringHibernateDataAdapterService
,SpringHibernateDataAdapterService
,XmlaDataAdapterService
,XmlDataAdapterService
public abstract class AbstractDataAdapterService extends Object implements DataAdapterService
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static String
SECRETS_CATEGORY
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractDataAdapterService(JasperReportsContext jasperReportsContext, DataAdapter dataAdapter)
Deprecated.AbstractDataAdapterService(ParameterContributorContext paramContribContext, DataAdapter dataAdapter)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
contributeParameters(Map<String,Object> parameters)
void
dispose()
DataAdapter
getDataAdapter()
JasperReportsContext
getJasperReportsContext()
String
getName()
ParameterContributorContext
getParameterContributorContext()
void
setDataAdapter(DataAdapter dataAdapter)
FIXME consider removingvoid
setName(String name)
void
test()
-
-
-
Field Detail
-
SECRETS_CATEGORY
public static final String SECRETS_CATEGORY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AbstractDataAdapterService
protected AbstractDataAdapterService(JasperReportsContext jasperReportsContext, DataAdapter dataAdapter)
Deprecated.
-
AbstractDataAdapterService
public AbstractDataAdapterService(ParameterContributorContext paramContribContext, DataAdapter dataAdapter)
-
-
Method Detail
-
getParameterContributorContext
public ParameterContributorContext getParameterContributorContext()
-
getJasperReportsContext
public JasperReportsContext getJasperReportsContext()
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDataAdapter
public DataAdapter getDataAdapter()
-
setDataAdapter
public void setDataAdapter(DataAdapter dataAdapter)
FIXME consider removing
-
contributeParameters
public abstract void contributeParameters(Map<String,Object> parameters) throws JRException
- Specified by:
contributeParameters
in interfaceParameterContributor
- Throws:
JRException
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceParameterContributor
-
test
public void test() throws JRException
- Specified by:
test
in interfaceDataAdapterService
- Throws:
JRException
-
-