Interface ICampaignCursor
- All Superinterfaces:
ICursor, IDisposable, IEntity, IEntityCursor
Represents a campaign 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 campaign 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
CampaignData[] 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
-
getCampaignManager
ICampaignManager getCampaignManager() throws Exception, altitude.integrationServer.exceptions.ISExceptionReturns the campaign manager that created the cursor.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-