public interface ProcessManager extends OsidManager, ProcessProfile
The state manager provides access to state lookup and creation sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
StateSession: a session to look up state to
Id mappings StateAssignmentSession: a session to manage state
to Id mappings StateChangeNotificationSession: a session to
subscribe to state changes StateLookupSession: a session to retrieve states
StateQuerySession: a session to query states StateSearchSession: a session to search for states
StateAdminSession: a session to create and delete
states StateSequencingSession: a session to sequence
states StateNotificationSession: a session to receive
notifications pertaining to state changes ProcessLookupSession: a session to retrieve
processes ProcessQuerySession: a session to query processes
ProcessSearchSession: a session to search for
processes ProcessAdminSession: a session to create, update
and delete processes ProcessNotificationSession: a session to receive
notifications pertaining to changes in processes ProcessHierarchySession: a session to traverse
process hierarchies ProcessHierarchyDesignSession: a session to manage
process hierarchies | Modifier and Type | Method and Description |
|---|---|
ProcessAdminSession |
getProcessAdminSession()
Gets the process administrative session for creating, updating and
deleteing processes.
|
ProcessHierarchyDesignSession |
getProcessHierarchyDesignSession()
Gets the process hierarchy design session.
|
ProcessHierarchySession |
getProcessHierarchySession()
Gets the process hierarchy traversal session.
|
ProcessLookupSession |
getProcessLookupSession()
Gets the process lookup session.
|
ProcessNotificationSession |
getProcessNotificationSession(ProcessReceiver processReceiver)
Gets the notification session for subscriprocessg to changes to a
process.
|
ProcessQuerySession |
getProcessQuerySession()
Gets the process query session.
|
ProcessSearchSession |
getProcessSearchSession()
Gets the process search session.
|
StateAdminSession |
getStateAdminSession()
Gets a state administration session for creating, updating and
deleting states.
|
StateAdminSession |
getStateAdminSessionForProcess(Id processId)
Gets a state administration session for the given process.
|
StateAssignmentSession |
getStateAssignmentSession()
Gets the
OsidSession associated with the state
assignment service. |
StateAssignmentSession |
getStateAssignmentSessionForProcess(Id processId)
Gets the
OsidSession associated with the state
assignment service for the given process. |
StateNotificationSession |
getStateChangeNotificationSession(StateChangeReceiver stateChangeReceiver)
Gets the notification session for notifications pertaining to state
changes.
|
StateNotificationSession |
getStateChangeNotificationSessionForProcess(StateChangeReceiver stateChangeReceiver,
Id processId)
Gets the state change notification session for the given process.
|
StateLookupSession |
getStateLookupSession()
Gets the
OsidSession associated with the state lookup
service. |
StateLookupSession |
getStateLookupSessionForProcess(Id processId)
Gets the
OsidSession associated with the state lookup
service for the given process. |
StateNotificationSession |
getStateNotificationSession(StateReceiver stateReceiver)
Gets the notification session for notifications pertaining to state
changes.
|
StateNotificationSession |
getStateNotificationSessionForProcess(StateReceiver stateReceiver,
Id processId)
Gets the state notification session for the given process.
|
StateQuerySession |
getStateQuerySession()
Gets a state query session.
|
StateQuerySession |
getStateQuerySessionForProcess(Id processId)
Gets a state query session for the given process.
|
StateSearchSession |
getStateSearchSession()
Gets a state search session.
|
StateSearchSession |
getStateSearchSessionForProcess(Id processId)
Gets a state search session for the given process.
|
StateSequencingSession |
getStateSequencingSession()
Gets a state sequencing session for ordering states.
|
StateSequencingSession |
getStateSequencingSessionForProcess(Id processId)
Gets a state sequencing session for the given process.
|
StateSession |
getStateSession()
Gets the
OsidSession associated with the state service. |
StateSession |
getStateSessionForProcess(Id processId)
Gets the
OsidSession associated with the state service
for the given process. |
changeBranch, initialize, rollbackServiceclosegetProcessRecordTypes, getProcessSearchRecordTypes, getStateRecordTypes, getStateSearchRecordTypes, supportsProcessAdmin, supportsProcessHierarchy, supportsProcessHierarchyDesign, supportsProcessLookup, supportsProcessNotification, supportsProcessQuery, supportsProcessRecordType, supportsProcessSearch, supportsProcessSearchRecordType, supportsState, supportsStateAdmin, supportsStateAssignment, supportsStateChangeNotification, supportsStateLookup, supportsStateNotification, supportsStateQuery, supportsStateRecordType, supportsStateSearch, supportsStateSearchRecordType, supportsStateSequencing, supportsVisibleFederationgetBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordTypegetBranding, getBrandingIds, getLicense, getProvider, getProviderIdStateSession getStateSession() throws OperationFailedException
OsidSession associated with the state service. a StateLookupSession OperationFailedException - unable to complete requestUnimplementedException - supportsState()
is false optional - This method must be implemented if
supportsState() is true. StateSession getStateSessionForProcess(Id processId) throws NotFoundException, OperationFailedException
OsidSession associated with the state service
for the given process.processId - the Id of the process a StateStateSession NotFoundException - processId not foundNullArgumentException - processId is
null OperationFailedException - unable to complete
request UnimplementedException - supportsState()
or supportsVisibleFederation() is false
optional - This method must be implemented if
supportsState() and
supportsVisibleFederation() are true.
StateAssignmentSession getStateAssignmentSession() throws OperationFailedException
OsidSession associated with the state
assignment service. a StateAssignmentLookupSession OperationFailedException - unable to complete requestUnimplementedException -
supportsStateAssignment() is false optional - This method must be implemented if
supportsStateAssignment() is true. StateAssignmentSession getStateAssignmentSessionForProcess(Id processId) throws NotFoundException, OperationFailedException
OsidSession associated with the state
assignment service for the given process.processId - the Id of the process a StateAssignmentStateSession NotFoundException - processId not foundNullArgumentException - processId is
null OperationFailedException - unable to complete
request UnimplementedException -
supportsStateAssignment() or
supportsVisibleFederation() is false optional - This method must be implemented if
supportsStateAssignment() and
supportsVisibleFederation() are true.
StateNotificationSession getStateChangeNotificationSession(StateChangeReceiver stateChangeReceiver) throws OperationFailedException
stateChangeReceiver - the notification callback a StateChangeNotificationSession NullArgumentException - stateChangeReceiver
is null OperationFailedException - unable to complete requestUnimplementedException -
supportsStateChangeNotification() is false
optional - This method must be implemented if
supportsStateChangeNotification() is true.
StateNotificationSession getStateChangeNotificationSessionForProcess(StateChangeReceiver stateChangeReceiver, Id processId) throws NotFoundException, OperationFailedException
stateChangeReceiver - the notification callbackprocessId - the Id of the process a StateChangeNotificationSession NotFoundException - processId not foundNullArgumentException - stateChangeReceiver
or processId is null OperationFailedException - unable to complete
request UnimplementedException -
supportsStateChangeNotification() or
supportsVisibleFederation() is false optional - This method must be implemented if
supportsStateChangeNotfication() and
supportsVisibleFederation() are true.
StateLookupSession getStateLookupSession() throws OperationFailedException
OsidSession associated with the state lookup
service. a StateLookupSession OperationFailedException - unable to complete requestUnimplementedException - supportsStateLookup()
is false optional - This method must be implemented if
supportsStateLookup() is true. StateLookupSession getStateLookupSessionForProcess(Id processId) throws NotFoundException, OperationFailedException
OsidSession associated with the state lookup
service for the given process.processId - the Id of the process a StateLookupSession NotFoundException - processId not foundNullArgumentException - processId is
null OperationFailedException - unable to complete
request UnimplementedException - supportsStateLookup()
or supportsVisibleFederation() is
false optional - This method must be implemented if
supportsStateLookup() and
supportsVisibleFederation() are true.
StateQuerySession getStateQuerySession() throws OperationFailedException
a StatQuerySession OperationFailedException - unable to complete requestUnimplementedException - supportsStateQuery()
is false optional - This method must be implemented if
supportsStateQuery() is true. StateQuerySession getStateQuerySessionForProcess(Id processId) throws NotFoundException, OperationFailedException
processId - the Id of the process a StateQuerySession NotFoundException - processId not foundNullArgumentException - processId is
null OperationFailedException - unable to complete
request UnimplementedException - supportsStateQuery()
or supportsVisibleFederation() is
false optional - This method must be implemented if
supportsStateQuery() and
supportsVisibleFederation() are true.
StateSearchSession getStateSearchSession() throws OperationFailedException
a StateSearchSession OperationFailedException - unable to complete requestUnimplementedException - supportsStateSearch()
is false optional - This method must be implemented if
supportsStateSearch() is true. StateSearchSession getStateSearchSessionForProcess(Id processId) throws NotFoundException, OperationFailedException
processId - the Id of the process a StateSearchSession NotFoundException - processId not foundNullArgumentException - processId is
null OperationFailedException - unable to complete
request UnimplementedException - supportsStateSearch()
or supportsVisibleFederation() is
false optional - This method must be implemented if
supportsStateSearch() and
supportsVisibleFederation() are true.
StateAdminSession getStateAdminSession() throws OperationFailedException
a StateAdminSession OperationFailedException - unable to complete requestUnimplementedException - supportsStateAdmin()
is false optional - This method must be implemented if
supportsStateAdmin() is true. StateAdminSession getStateAdminSessionForProcess(Id processId) throws NotFoundException, OperationFailedException
processId - the Id of the process a StateAdminSession NotFoundException - processId not foundNullArgumentException - processId is
null OperationFailedException - unable to complete requestUnimplementedException - supportsStateAdmin()
or supportsVisibleFederation() is
false optional - This method must be implemented if
supportsStateAdmin() and
supportsVisibleFederation() are true.
StateSequencingSession getStateSequencingSession() throws OperationFailedException
a StateSequencingSession OperationFailedException - unable to complete requestUnimplementedException -
supportsStateSequencing() is false optional - This method must be implemented if
supportsStateSequencing() is true. StateSequencingSession getStateSequencingSessionForProcess(Id processId) throws NotFoundException, OperationFailedException
processId - the Id of the process a StateSequencingSession NotFoundException - processId not foundNullArgumentException - processId is
null OperationFailedException - unable to complete requestUnimplementedException -
supportsStateSequencing() or
supportsVisibleFederation() is false optional - This method must be implemented if
supportsStateSequencing() and
supportsVisibleFederation() are true.
StateNotificationSession getStateNotificationSession(StateReceiver stateReceiver) throws OperationFailedException
stateReceiver - the notification callback a StateNotificationSession NullArgumentException - stateReceiver is
null OperationFailedException - unable to complete requestUnimplementedException -
supportsStateNotification() is false optional - This method must be implemented if
supportsStateNotification() is true.
StateNotificationSession getStateNotificationSessionForProcess(StateReceiver stateReceiver, Id processId) throws NotFoundException, OperationFailedException
stateReceiver - the notification callbackprocessId - the Id of the process a StateNotificationSession NotFoundException - processId not foundNullArgumentException - stateReceiver or
processId is null OperationFailedException - unable to complete
request UnimplementedException -
supportsStateNotification() or
supportsVisibleFederation() is false optional - This method must be implemented if
supportsStateNotfication() and
supportsVisibleFederation() are true.
ProcessLookupSession getProcessLookupSession() throws OperationFailedException
ProcessLookupSession OperationFailedException - unable to complete requestUnimplementedException - supportsProcessLookup()
is false optional - This method must be implemented if
supportsProcessLookup() is true. ProcessQuerySession getProcessQuerySession() throws OperationFailedException
ProcessQuerySession OperationFailedException - unable to complete requestUnimplementedException - supportsProcessQuery()
is false optional - This method must be implemented if
supportsProcessQuery() is true. ProcessSearchSession getProcessSearchSession() throws OperationFailedException
ProcessSearchSession OperationFailedException - unable to complete requestUnimplementedException - supportsProcessSearch()
is false optional - This method must be implemented if
supportsProcessSearch() is true. ProcessAdminSession getProcessAdminSession() throws OperationFailedException
ProcessAdminSession OperationFailedException - unable to complete requestUnimplementedException - supportsProcessAdmin()
is false optional - This method must be implemented if
supportsProcessAdmin() is true. ProcessNotificationSession getProcessNotificationSession(ProcessReceiver processReceiver) throws OperationFailedException
processReceiver - the notification callback ProcessNotificationSession NullArgumentException - processReceiver
is null OperationFailedException - unable to complete requestUnimplementedException -
supportsProcessNotification() is false optional - This method must be implemented if
supportsProcessNotification() is true.
ProcessHierarchySession getProcessHierarchySession() throws OperationFailedException
a ProcessHierarchySession OperationFailedException - unable to complete requestUnimplementedException -
supportsProcessHierarchy() is false optional - This method must be implemented if
supportsProcessHierarchy() is true. ProcessHierarchyDesignSession getProcessHierarchyDesignSession() throws OperationFailedException
ProcessHierarchyDesignSession OperationFailedException - unable to complete requestUnimplementedException -
supportsProcessHierarchyDesign() is false
optional - This method must be implemented if
supportsProcessHierarchyDesign() is true.