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.SailPointContext
context
protected String
groupBy
protected sailpoint.object.Attributes<Object,Object>
inputs
protected int
limit
protected sailpoint.object.LiveReport
liveReport
protected sailpoint.task.Monitor
monitor
protected ArrayList<Object>
sortBy
protected int
start
-
Constructor Summary
Constructors Constructor Description AbstractJavaDataSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
String
getBaseHql()
sailpoint.object.QueryOptions
getBaseQueryOptions()
Object
getFieldValue(net.sf.jasperreports.engine.JRField jrField)
int
getSizeEstimate()
void
initialize(sailpoint.api.SailPointContext context, sailpoint.object.LiveReport liveReport, sailpoint.object.Attributes<String,Object> taskArguments, String groupBy, List<sailpoint.object.Sort> sortBy)
void
setLimit(int arg0, int arg1)
void
setMonitor(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:
close
in interfacesailpoint.reporting.datasource.TopLevelDataSource
-
getBaseHql
public String getBaseHql()
- Specified by:
getBaseHql
in interfacesailpoint.reporting.datasource.LiveReportDataSource
-
getBaseQueryOptions
public sailpoint.object.QueryOptions getBaseQueryOptions()
- Specified by:
getBaseQueryOptions
in interfacesailpoint.reporting.datasource.LiveReportDataSource
-
getFieldValue
public Object getFieldValue(net.sf.jasperreports.engine.JRField jrField) throws net.sf.jasperreports.engine.JRException
- Specified by:
getFieldValue
in interfacenet.sf.jasperreports.engine.JRDataSource
- Throws:
net.sf.jasperreports.engine.JRException
-
getSizeEstimate
public int getSizeEstimate() throws sailpoint.tools.GeneralException
- Specified by:
getSizeEstimate
in 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:
initialize
in interfacesailpoint.reporting.datasource.JavaDataSource
- Throws:
sailpoint.tools.GeneralException
-
setLimit
public void setLimit(int arg0, int arg1)
- Specified by:
setLimit
in interfacesailpoint.reporting.datasource.JavaDataSource
-
setMonitor
public void setMonitor(sailpoint.task.Monitor arg0)
- Specified by:
setMonitor
in interfacesailpoint.reporting.datasource.TopLevelDataSource
-
-