Interface ICursor
- All Superinterfaces:
IDisposable, IEntity
- All Known Subinterfaces:
IAgentCursor, IAgentInCampaignOperationLogCursor, IAgentOperationLogCursor, ICampaignCursor, ICampaignOperationLogCursor, IConfigurationLogCursor, IConsentAuditCursor, IConsentCursor, IContactCursor, IContactHistoryCursor, IContactProfileCursor, IContactProfileFieldPrivacyCursor, IContactProfileGdprRequestCursor, IContactProfileInProgressWorkflowCursor, IContactProfileInteractionHistoryCursor, IContactProfileQueuedEmailCursor, IContactProfileQueuedSocialCursor, IContactProfileScheduledContactCursor, ICubeCursor, IDocumentCursor, IEntityCursor, IInstanceOperationLogCursor, IInteractionHistoryCursor, IInteractionThreadCursor, IKBDocumentCursor, IMediaCursor, IOxeSynchroDashboardCursor, IPendingWorkCursor, IPrivacyCategoryCursor, IPurposeCursor, IQueuedAgentPickUpTaskCursor, IQueuedEmailCursor, IQueuedSocialCursor, IRecordingCursor, IReportTemplateCursor, IRoleCursor, ISavedReportCursor, IScriptDocumentCursor, ISentEmailCursor, ISentSocialCursor, IServiceCursor, ISqlCursor, ISystemEventLogCursor, ITeamCursor, IUserDefinedEnumeratedFieldCursor, IWorkflowDefinitionCursor
Represents a cursor on an entity
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes the cursor.voidcloseOnIdleTimeout(Duration timeout) Automatically close the cursor when it is idle for the specified amount of time.voidcloseOnSessionCleared(int sessionId) Automatically close the cursor when the specified session is cleared.intgetId()Identifier of the cursor.getState()State of the cursor.Methods inherited from interface IDisposable
addDisposedListener, removeDisposedListenerMethods inherited from interface IEntity
getUserContext, setUserContext
-
Method Details
-
close
-
closeOnIdleTimeout
-
closeOnSessionCleared
void closeOnSessionCleared(int sessionId) throws Exception, altitude.integrationServer.exceptions.ISException Automatically close the cursor when the specified session is cleared. If the session does not exist, then the cursor is closed immediately.- Parameters:
sessionId- Identifier of the session.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getId
-
getState
State of the cursor.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-