Interface WorkflowEventManager
- All Superinterfaces:
AutoCloseable, Closeable, OsidManager, OsidManager, OsidProfile, Sourceable, WorkflowEventProfile
The workflow.event manager provides access to rules sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
WorkflowEventLookupSession: a session to retrieve workflow events -
WorkflowEventQuerySession: a session to query for workflow events -
WorkflowEventSearchSession: a session to search for workflow events -
WorkflowEventAdminSession: a session to create and delete workflow events -
WorkflowEventNotificationSession: a session to receive notifications pertaining to workflow event changes -
WorkflowEventOfficeSession: a session to look up workflow event office mappings -
WorkflowEventOfficeAssignmentSession: a session to manage workflow event to office mappings -
WorkflowEventSmartOfficeSession: a session to manage dynamic offices of workflow events
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the workflow event administration service.getWorkflowEventAdminSessionForOffice(Id officeId) Gets theOsidSessionassociated with the workflow event administration service for the given office.Gets theOsidSessionassociated with the workflow event lookup service.getWorkflowEventLookupSessionForOffice(Id officeId) Gets theOsidSessionassociated with the workflow event lookup service for the given office.getWorkflowEventNotificationSession(WorkflowEventReceiver workflowEventReceiver) Gets theOsidSessionassociated with the workflow event notification service.getWorkflowEventNotificationSessionForOffice(WorkflowEventReceiver workflowEventReceiver, Id officeId) Gets theOsidSessionassociated with the workflow event notification service for the given office.Gets theOsidSessionassociated with assigning workflow events to offices.Gets theOsidSessionto lookup workflow event/office mappings.Gets theOsidSessionassociated with the workflow event query service.getWorkflowEventQuerySessionForOffice(Id officeId) Gets theOsidSessionassociated with the workflow event query service for the given office.Gets theOsidSessionassociated with the workflow event search service.getWorkflowEventSearchSessionForOffice(Id officeId) Gets theOsidSessionassociated with the workflow event search service for the given office.getWorkflowEventSmartOfficeSession(Id officeId) Gets theOsidSessionto manage workflow event smart offices.Methods inherited from interface OsidManager
closeMethods inherited from interface OsidManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime) Rolls back this service to a point in time.Methods inherited from interface OsidProfile
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordTypeModifier and TypeMethodDescriptionGets this service branch.Gets theBranch Idrepresenting this service branch.Gets a description of this service implementation.Gets a display name for this service implementation.getId()Gets an identifier for this service implementation.Gets the locales supported in this service.Gets the proxy recordTypessupported in this service.Gets the date this service implementation was released.Gets the version of this service implementation.booleanTest for support of a journal branching service.booleanTest for support of a journaling rollback service.booleansupportsOSIDVersion(Version version) Test for support of an OSID specification version.booleansupportsProxyRecordType(Type proxyRecordType) Test for support of a proxy type.Methods inherited from interface Sourceable
getBranding, getBrandingIds, getLicense, getProvider, getProviderIdModifier and TypeMethodDescriptionGets a branding, such as an image or logo, expressed using theAssetinterface.Gets the branding assetIds.Gets the terms of usage.Gets theResourcerepresenting the provider.Gets theIdof the provider.Methods inherited from interface WorkflowEventProfile
getWorkflowEventRecordTypes, getWorkflowEventSearchRecordTypes, supportsVisibleFederation, supportsWorkflowEventAdmin, supportsWorkflowEventLookup, supportsWorkflowEventNotification, supportsWorkflowEventOffice, supportsWorkflowEventOfficeAssignment, supportsWorkflowEventQuery, supportsWorkflowEventRecordType, supportsWorkflowEventSearch, supportsWorkflowEventSearchRecordType, supportsWorkflowEventSmartOfficeModifier and TypeMethodDescriptionGets the supportedWorkflowEventrecord types.Gets the supportedWorkflowEventsearch types.booleanTests if any office federation is exposed.booleanTests if a workflow event administrative service is supported.booleanTests if looking up workflow events is supported.booleanTests if a workflow event notification service is supported.booleanTests if a workflow event office lookup service is supported.booleanTests if a workflow event office assignment service is supported.booleanTests if querying workflow events is supported.booleansupportsWorkflowEventRecordType(Type workflowEventRecordType) Tests if the givenWorkflowEventrecord type is supported.booleanTests if searching workflow events is supported.booleansupportsWorkflowEventSearchRecordType(Type workflowEventSearchRecordType) Tests if the givenWorkflowEventsearch type is supported.booleanTests if a workflow event smart office service is supported.
-
Method Details
-
getWorkflowEventLookupSession
Gets theOsidSessionassociated with the workflow event lookup service.- Returns:
- a
WorkflowEventLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsWorkflowEventLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsWorkflowEventLookup()} is {@code true} .
-
getWorkflowEventLookupSessionForOffice
WorkflowEventLookupSession getWorkflowEventLookupSessionForOffice(Id officeId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the workflow event lookup service for the given office.- Parameters:
officeId- theIdof theOffice- Returns:
- a
WorkflowEventLookupSession - Throws:
NotFoundException- noOfficefound by the givenIdNullArgumentException-officeIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsWorkflowEventLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsWorkflowEventLookup()} and {@code supportsVisibleFederation()} are {@code true}
-
getWorkflowEventQuerySession
Gets theOsidSessionassociated with the workflow event query service.- Returns:
- a
WorkflowEventQuerySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsWorkflowEventQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsWorkflowEventQuery()} is {@code true} .
-
getWorkflowEventQuerySessionForOffice
WorkflowEventQuerySession getWorkflowEventQuerySessionForOffice(Id officeId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the workflow event query service for the given office.- Parameters:
officeId- theIdof theOffice- Returns:
- a
WorkflowEventQuerySession - Throws:
NotFoundException- no office found by the givenIdNullArgumentException-officeIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsWorkflowEventQuery()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsWorkflowEventQuery()} and {@code supportsVisibleFederation()} are {@code true}
-
getWorkflowEventSearchSession
Gets theOsidSessionassociated with the workflow event search service.- Returns:
- a
WorkflowEventSearchSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsWorkflowEventSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsWorkflowEventSearch()} is {@code true} .
-
getWorkflowEventSearchSessionForOffice
WorkflowEventSearchSession getWorkflowEventSearchSessionForOffice(Id officeId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the workflow event search service for the given office.- Parameters:
officeId- theIdof theOffice- Returns:
- a
WorkflowEventSearchSession - Throws:
NotFoundException- no office found by the givenIdNullArgumentException-officeIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsWorkflowEventSearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsWorkflowEventSearch()} and {@code supportsVisibleFederation()} are {@code true}
-
getWorkflowEventAdminSession
Gets theOsidSessionassociated with the workflow event administration service.- Returns:
- a
WorkflowEventAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsWorkflowEventAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsWorkflowEventAdmin()} is {@code true} .
-
getWorkflowEventAdminSessionForOffice
WorkflowEventAdminSession getWorkflowEventAdminSessionForOffice(Id officeId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the workflow event administration service for the given office.- Parameters:
officeId- theIdof theOffice- Returns:
- a
WorkflowEventAdminSession - Throws:
NotFoundException- no office found by the givenIdNullArgumentException-officeIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsWorkflowEventAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsWorkflowEventAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getWorkflowEventNotificationSession
WorkflowEventNotificationSession getWorkflowEventNotificationSession(WorkflowEventReceiver workflowEventReceiver) throws OperationFailedException Gets theOsidSessionassociated with the workflow event notification service.- Parameters:
workflowEventReceiver- the notification callback- Returns:
- a
WorkflowEventNotificationSession - Throws:
NullArgumentException-workflowEventReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsWorkflowEventNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsWorkflowEventNotification()} is {@code true} .
-
getWorkflowEventNotificationSessionForOffice
WorkflowEventNotificationSession getWorkflowEventNotificationSessionForOffice(WorkflowEventReceiver workflowEventReceiver, Id officeId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the workflow event notification service for the given office.- Parameters:
workflowEventReceiver- the notification callbackofficeId- theIdof theOffice- Returns:
- a
WorkflowEventNotificationSession - Throws:
NotFoundException- no office found by the givenIdNullArgumentException-workflowEventReceiverorofficeIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsWorkflowEventNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsWorkflowEventNotification()} and {@code supportsVisibleFederation()} are {@code true}
-
getWorkflowEventOfficeSession
Gets theOsidSessionto lookup workflow event/office mappings.- Returns:
- a
WorkflowEventOfficeSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsWorkflowEventOffice()isfalse- Compliance:
optional- This method must be implemented if {@code supportsWorkflowEventOffice()} is {@code true} .
-
getWorkflowEventOfficeAssignmentSession
WorkflowEventOfficeAssignmentSession getWorkflowEventOfficeAssignmentSession() throws OperationFailedExceptionGets theOsidSessionassociated with assigning workflow events to offices.- Returns:
- a
WorkflowEventOfficeAssignmentSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsWorkflowEventOfficeAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsWorkflowEventOfficeAssignment()} is {@code true} .
-
getWorkflowEventSmartOfficeSession
WorkflowEventSmartOfficeSession getWorkflowEventSmartOfficeSession(Id officeId) throws NotFoundException, OperationFailedException Gets theOsidSessionto manage workflow event smart offices.- Parameters:
officeId- theIdof theOffice- Returns:
- a
WorkflowEventSmartOfficeSession - Throws:
NotFoundException- no office found by the givenIdNullArgumentException-officeIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsWorkflowEventSmartOffice()isfalse- Compliance:
optional- This method must be implemented if {@code supportsWorkflowEventSmartOffice()} is {@code true} .
-