Class AbstractJavaDataSource
- java.lang.Object
 - 
- com.identityworksllc.iiq.common.reporting.AbstractJavaDataSource
 
 
- 
- All Implemented Interfaces:
 net.sf.jasperreports.engine.JRDataSource,sailpoint.reporting.datasource.JavaDataSource,sailpoint.reporting.datasource.LiveReportDataSource,sailpoint.reporting.datasource.TopLevelDataSource
- Direct Known Subclasses:
 PluginDataSource
public abstract class AbstractJavaDataSource extends Object implements sailpoint.reporting.datasource.JavaDataSource
Parent class for Java data sources, making certain things easier 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected sailpoint.api.SailPointContextcontextprotected StringgroupByprotected sailpoint.object.Attributes<Object,Object>inputsprotected intlimitprotected sailpoint.object.LiveReportliveReportprotected sailpoint.task.Monitormonitorprotected ArrayList<Object>sortByprotected intstart 
- 
Constructor Summary
Constructors Constructor Description AbstractJavaDataSource() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()StringgetBaseHql()sailpoint.object.QueryOptionsgetBaseQueryOptions()ObjectgetFieldValue(net.sf.jasperreports.engine.JRField jrField)intgetSizeEstimate()voidinitialize(sailpoint.api.SailPointContext context, sailpoint.object.LiveReport liveReport, sailpoint.object.Attributes<String,Object> taskArguments, String groupBy, List<sailpoint.object.Sort> sortBy)voidsetLimit(int arg0, int arg1)voidsetMonitor(sailpoint.task.Monitor arg0) 
 - 
 
- 
- 
Field Detail
- 
context
protected sailpoint.api.SailPointContext context
 
- 
limit
protected int limit
 
- 
liveReport
protected sailpoint.object.LiveReport liveReport
 
- 
monitor
protected sailpoint.task.Monitor monitor
 
- 
start
protected int start
 
 - 
 
- 
Constructor Detail
- 
AbstractJavaDataSource
public AbstractJavaDataSource()
 
 - 
 
- 
Method Detail
- 
close
public void close()
- Specified by:
 closein interfacesailpoint.reporting.datasource.TopLevelDataSource
 
- 
getBaseHql
public String getBaseHql()
- Specified by:
 getBaseHqlin interfacesailpoint.reporting.datasource.LiveReportDataSource
 
- 
getBaseQueryOptions
public sailpoint.object.QueryOptions getBaseQueryOptions()
- Specified by:
 getBaseQueryOptionsin interfacesailpoint.reporting.datasource.LiveReportDataSource
 
- 
getFieldValue
public Object getFieldValue(net.sf.jasperreports.engine.JRField jrField) throws net.sf.jasperreports.engine.JRException
- Specified by:
 getFieldValuein interfacenet.sf.jasperreports.engine.JRDataSource- Throws:
 net.sf.jasperreports.engine.JRException
 
- 
getSizeEstimate
public int getSizeEstimate() throws sailpoint.tools.GeneralException
- Specified by:
 getSizeEstimatein interfacesailpoint.reporting.datasource.LiveReportDataSource- Throws:
 sailpoint.tools.GeneralException
 
- 
initialize
public void initialize(sailpoint.api.SailPointContext context, sailpoint.object.LiveReport liveReport, sailpoint.object.Attributes<String,Object> taskArguments, String groupBy, List<sailpoint.object.Sort> sortBy) throws sailpoint.tools.GeneralException
- Specified by:
 initializein interfacesailpoint.reporting.datasource.JavaDataSource- Throws:
 sailpoint.tools.GeneralException
 
- 
setLimit
public void setLimit(int arg0, int arg1)
- Specified by:
 setLimitin interfacesailpoint.reporting.datasource.JavaDataSource
 
- 
setMonitor
public void setMonitor(sailpoint.task.Monitor arg0)
- Specified by:
 setMonitorin interfacesailpoint.reporting.datasource.TopLevelDataSource
 
 - 
 
 -