Interface IReportManager
- All Superinterfaces:
IDisposable, IEntity
Manages the reports.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteSavedReport(String savedReportName) Deletes a saved report.intgenerateReport(ReportGenerateRequest request) Generates a report.Returns the instance.getReportTemplateById(int reportTemplateId) Returns aReportTemplateobject with data about the report template.getReportTemplateByName(String reportTemplateName) Returns aReportTemplateobject with data about the report template.getReportTemplateCursor(int cursorId) Gets a report template cursor open in the instance.Returns the report template cursors open in the instance.getReportTemplateFilterColumnsById(int reportTemplateId) Returns an array ofTableSchemaColumnobjects with the report template filter columns.getReportTemplateFilterColumnsByName(String reportTemplateName) Returns an array ofTableSchemaColumnobjects with the report template filter columns.Gets the table schema of the report template.getSavedReportById(int savedReportId) Returns aSavedReportobject with data about the saved report.getSavedReportByName(String savedReportName) Returns aSavedReportobject with data about the saved report.byte[]getSavedReportContentById(int savedReportId, SavedReportFormat format) Gets the contents of the saved report in the specified format.byte[]getSavedReportContentByName(String savedReportName, SavedReportFormat format) Gets the contents of the saved report in the specified format.getSavedReportCursor(int cursorId) Gets a saved report cursor open in the instance.Returns the saved report cursors open in the instance.Gets the table schema of the saved report.newReportTemplateCursor(String[] columns, String sql) Opens a report template cursor.newSavedReportCursor(String[] columns, String sql) Opens a saved report cursor.tryGetReportTemplateCursor(int cursorId) Gets a report template cursor open in the instance or null if it doesn't exist.tryGetSavedReportCursor(int cursorId) Gets a saved report cursor open in the instance or null if it doesn't exist.voidupdateSavedReport(String savedReportName, SavedReportUpdateRequest request) Updates a saved report.Methods inherited from interface IDisposable
addDisposedListener, removeDisposedListenerMethods inherited from interface IEntity
getUserContext, setUserContext
-
Method Details
-
deleteSavedReport
-
generateReport
int generateReport(ReportGenerateRequest request) throws Exception, altitude.integrationServer.exceptions.ISException Generates a report.- Parameters:
request- Contains the fields for the report.- Returns:
- Identifier of the created saved report.
- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getInstance
-
getReportTemplateById
ReportTemplate getReportTemplateById(int reportTemplateId) throws Exception, altitude.integrationServer.exceptions.ISException Returns aReportTemplateobject with data about the report template.- Parameters:
reportTemplateId- Identifier of the report template.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getReportTemplateByName
ReportTemplate getReportTemplateByName(String reportTemplateName) throws Exception, altitude.integrationServer.exceptions.ISException Returns aReportTemplateobject with data about the report template.- Parameters:
reportTemplateName- Name of the report template.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getReportTemplateCursor
IReportTemplateCursor getReportTemplateCursor(int cursorId) throws Exception, altitude.integrationServer.exceptions.ISException Gets a report template cursor open in the instance.- Parameters:
cursorId- Identifier of the cursor.- Returns:
- The
IReportTemplateCursorcursor. - Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getReportTemplateCursors
IReportTemplateCursor[] getReportTemplateCursors() throws Exception, altitude.integrationServer.exceptions.ISExceptionReturns the report template cursors open in the instance.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getReportTemplateFilterColumnsById
TableSchemaColumn[] getReportTemplateFilterColumnsById(int reportTemplateId) throws Exception, altitude.integrationServer.exceptions.ISException Returns an array ofTableSchemaColumnobjects with the report template filter columns.- Parameters:
reportTemplateId- Identifier of the report template.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getReportTemplateFilterColumnsByName
TableSchemaColumn[] getReportTemplateFilterColumnsByName(String reportTemplateName) throws Exception, altitude.integrationServer.exceptions.ISException Returns an array ofTableSchemaColumnobjects with the report template filter columns.- Parameters:
reportTemplateName- Name of the report template.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getReportTemplateTableSchema
TableSchema getReportTemplateTableSchema() throws Exception, altitude.integrationServer.exceptions.ISExceptionGets the table schema of the report template.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getSavedReportById
SavedReport getSavedReportById(int savedReportId) throws Exception, altitude.integrationServer.exceptions.ISException Returns aSavedReportobject with data about the saved report.- Parameters:
savedReportId- Identifier of the saved report.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getSavedReportByName
SavedReport getSavedReportByName(String savedReportName) throws Exception, altitude.integrationServer.exceptions.ISException Returns aSavedReportobject with data about the saved report.- Parameters:
savedReportName- Name of the saved report.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getSavedReportContentById
byte[] getSavedReportContentById(int savedReportId, SavedReportFormat format) throws Exception, altitude.integrationServer.exceptions.ISException Gets the contents of the saved report in the specified format.- Parameters:
savedReportId- Identifier of the saved report.format- Format for the content.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getSavedReportContentByName
byte[] getSavedReportContentByName(String savedReportName, SavedReportFormat format) throws Exception, altitude.integrationServer.exceptions.ISException Gets the contents of the saved report in the specified format.- Parameters:
savedReportName- Name of the saved report.format- Format for the content.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getSavedReportCursor
ISavedReportCursor getSavedReportCursor(int cursorId) throws Exception, altitude.integrationServer.exceptions.ISException Gets a saved report cursor open in the instance.- Parameters:
cursorId- Identifier of the cursor.- Returns:
- The
ISavedReportCursorcursor. - Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getSavedReportCursors
ISavedReportCursor[] getSavedReportCursors() throws Exception, altitude.integrationServer.exceptions.ISExceptionReturns the saved report cursors open in the instance.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getSavedReportTableSchema
TableSchema getSavedReportTableSchema() throws Exception, altitude.integrationServer.exceptions.ISExceptionGets the table schema of the saved report.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
newReportTemplateCursor
IReportTemplateCursor newReportTemplateCursor(String[] columns, String sql) throws Exception, altitude.integrationServer.exceptions.ISException, altitude.integrationServer.exceptions.ISSqlException Opens a report template cursor.- Parameters:
columns- Columns to fetch.sql- SQL.- Returns:
- The
IReportTemplateCursorcursor. - Throws:
Exceptionaltitude.integrationServer.exceptions.ISExceptionaltitude.integrationServer.exceptions.ISSqlException
-
newSavedReportCursor
ISavedReportCursor newSavedReportCursor(String[] columns, String sql) throws Exception, altitude.integrationServer.exceptions.ISException, altitude.integrationServer.exceptions.ISSqlException Opens a saved report cursor.- Parameters:
columns- Columns to fetch.sql- SQL.- Returns:
- The
ISavedReportCursorcursor. - Throws:
Exceptionaltitude.integrationServer.exceptions.ISExceptionaltitude.integrationServer.exceptions.ISSqlException
-
tryGetReportTemplateCursor
IReportTemplateCursor tryGetReportTemplateCursor(int cursorId) throws Exception, altitude.integrationServer.exceptions.ISException Gets a report template cursor open in the instance or null if it doesn't exist.- Parameters:
cursorId- Identifier of the cursor.- Returns:
- The
IReportTemplateCursorcursor. - Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
tryGetSavedReportCursor
ISavedReportCursor tryGetSavedReportCursor(int cursorId) throws Exception, altitude.integrationServer.exceptions.ISException Gets a saved report cursor open in the instance or null if it doesn't exist.- Parameters:
cursorId- Identifier of the cursor.- Returns:
- The
ISavedReportCursorcursor. - Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
updateSavedReport
void updateSavedReport(String savedReportName, SavedReportUpdateRequest request) throws Exception, altitude.integrationServer.exceptions.ISException Updates a saved report.- Parameters:
savedReportName- Name of the saved report.request- Contains the fields to update.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-