Interface IReportTemplateCursor
- All Superinterfaces:
ICursor, IDisposable, IEntity, IEntityCursor
Represents a report template cursor.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddCursorClosedListener(CursorClosedListener listener) Registers the CursorClosedListener.fetch(int position, int numberOfRows) Fetches rows in the cursor and returns the rows fetched from the database.Returns the report manager that created the cursor.voidUnregisters the CursorClosedListener.Methods inherited from interface ICursor
close, closeOnIdleTimeout, closeOnSessionCleared, getId, getStateMethods inherited from interface IDisposable
addDisposedListener, removeDisposedListenerMethods inherited from interface IEntity
getUserContext, setUserContextMethods inherited from interface IEntityCursor
fetchAsAttributes, fetchAsValues
-
Method Details
-
addCursorClosedListener
Registers the CursorClosedListener.- Parameters:
listener- Event listener to add.
-
removeCursorClosedListener
Unregisters the CursorClosedListener.- Parameters:
listener- Event listener to remove.
-
fetch
ReportTemplate[] fetch(int position, int numberOfRows) throws Exception, altitude.integrationServer.exceptions.ISException, altitude.integrationServer.exceptions.ISSqlException Fetches rows in the cursor and returns the rows fetched from the database.- Parameters:
position- Index of the first row to fetch. The index is zero-based.numberOfRows- Number of rows to fetch.- Returns:
- The rows fetched from the database.
- Throws:
Exceptionaltitude.integrationServer.exceptions.ISExceptionaltitude.integrationServer.exceptions.ISSqlException
-
getReportManager
IReportManager getReportManager() throws Exception, altitude.integrationServer.exceptions.ISExceptionReturns the report manager that created the cursor.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-