Class 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
    • Method Detail

      • close

        public void close()
        Specified by:
        close in interface sailpoint.reporting.datasource.TopLevelDataSource
      • getBaseHql

        public String getBaseHql()
        Specified by:
        getBaseHql in interface sailpoint.reporting.datasource.LiveReportDataSource
      • getBaseQueryOptions

        public sailpoint.object.QueryOptions getBaseQueryOptions()
        Specified by:
        getBaseQueryOptions in interface sailpoint.reporting.datasource.LiveReportDataSource
      • getFieldValue

        public Object getFieldValue​(net.sf.jasperreports.engine.JRField jrField)
                             throws net.sf.jasperreports.engine.JRException
        Specified by:
        getFieldValue in interface net.sf.jasperreports.engine.JRDataSource
        Throws:
        net.sf.jasperreports.engine.JRException
      • getSizeEstimate

        public int getSizeEstimate()
                            throws sailpoint.tools.GeneralException
        Specified by:
        getSizeEstimate in interface sailpoint.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 interface sailpoint.reporting.datasource.JavaDataSource
        Throws:
        sailpoint.tools.GeneralException
      • setLimit

        public void setLimit​(int arg0,
                             int arg1)
        Specified by:
        setLimit in interface sailpoint.reporting.datasource.JavaDataSource
      • setMonitor

        public void setMonitor​(sailpoint.task.Monitor arg0)
        Specified by:
        setMonitor in interface sailpoint.reporting.datasource.TopLevelDataSource