Interface ProcessProxyManager
- All Superinterfaces:
AutoCloseable, Closeable, OsidProfile, OsidProxyManager, OsidProxyManager, ProcessProfile, Sourceable
The state manager provides access to state lookup and creation session
and provides interoperability tests for various aspects of this service.
Methods in this manager support the passing of a Proxy for the
purposes of passing information from a server environment. The sessions
included in this manager are:
-
StateSession: a session to look up state toIdmappings -
StateAssignmentSession: a session to manage state toIdmappings -
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: asession 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
-
Method Summary
Modifier and TypeMethodDescriptiongetProcessAdminSession(Proxy proxy) Gets the process administrative session for creating, updating and deleteing processes.Gets the process hierarchy design session.getProcessHierarchySession(Proxy proxy) Gets the process hierarchy traversal session.getProcessLookupSession(Proxy proxy) Gets the process lookup session.getProcessNotificationSession(ProcessReceiver processReceiver, Proxy proxy) Gets the notification session for subscriprocessg to changes to a process.getProcessQuerySession(Proxy proxy) Gets the process query session.getProcessSearchSession(Proxy proxy) Gets the process search session.getStateAdminSession(Proxy proxy) Gets a state administration session for creating, updating and deleting states.getStateAdminSessionForProcess(Id processId, Proxy proxy) Gets a state administration session for the given process.getStateAssignmentSession(Proxy proxy) Gets theOsidSessionassociated with the state assignment service.getStateAssignmentSessionForProcess(Id processId, Proxy proxy) Gets theOsidSessionassociated with the state assignment service for the given process.getStateChangeNotificationSession(StateChangeReceiver stateChangeReceiver, Proxy proxy) Gets the notification session for notifications pertaining to state changes.getStateChangeNotificationSessionForProcess(StateChangeReceiver stateChangeReceiver, Id processId, Proxy proxy) Gets the state change notification session for the given process.getStateLookupSession(Proxy proxy) Gets theOsidSessionassociated with the state lookup service.getStateLookupSessionForProcess(Id processId, Proxy proxy) Gets theOsidSessionassociated with the state lookup service for the given process.getStateNotificationSession(StateReceiver stateReceiver, Proxy proxy) Gets the state notification session for the given process.getStateNotificationSessionForProcess(StateReceiver stateReceiver, Id processId, Proxy proxy) Gets the state notification session for the given process.getStateQuerySession(Proxy proxy) Gets a state query session.getStateQuerySessionForProcess(Id processId, Proxy proxy) Gets a state query session for the given process.getStateSearchSession(Proxy proxy) Gets a state search session.getStateSearchSessionForProcess(Id processId, Proxy proxy) Gets a state search session for the given process.getStateSequencingSession(Proxy proxy) Gets a state sequencing session for ordering states.getStateSequencingSessionForProcess(Id processId, Proxy proxy) Gets a state sequencing session for the given process.getStateSession(Proxy proxy) Gets theOsidSessionassociated with the state service.getStateSessionForProcess(Id processId, Proxy proxy) Gets theOsidSessionassociated with the state service for the given process.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 OsidProxyManager
closeMethods inherited from interface OsidProxyManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId, Proxy proxy) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime, Proxy proxy) Rolls back this service to a point in time.Methods inherited from interface ProcessProfile
getProcessRecordTypes, getProcessSearchRecordTypes, getStateRecordTypes, getStateSearchRecordTypes, supportsProcessAdmin, supportsProcessHierarchy, supportsProcessHierarchyDesign, supportsProcessLookup, supportsProcessNotification, supportsProcessQuery, supportsProcessRecordType, supportsProcessSearch, supportsProcessSearchRecordType, supportsState, supportsStateAdmin, supportsStateAssignment, supportsStateChangeNotification, supportsStateLookup, supportsStateNotification, supportsStateQuery, supportsStateRecordType, supportsStateSearch, supportsStateSearchRecordType, supportsStateSequencing, supportsVisibleFederationModifier and TypeMethodDescriptionGets all the process record types supported.Gets all the process search record types supported.Gets all the state record types supported.Gets all the state search record types supported.booleanTests if process administration is supported.booleanTests if a process hierarchy traversal is supported.booleanTests if a process hierarchy design is supported.booleanTests if process lookup is supported.booleanTests if process notification is supported.booleanTests if process query is supported.booleansupportsProcessRecordType(Type processRecordType) Tests if a given process record type is supported.booleanTests if process search is supported.booleansupportsProcessSearchRecordType(Type processSearchRecordType) Tests if a given process search record type is supported.booleanTests if retrieving mappings of state andIdsis supported.booleanTests if state administration is supported.booleanTests if managing mappings of states andIdsis supported.booleanTests if subscirbing to state change notifications is supported.booleanTests if state lookup is supported.booleanTests if state notification is supported.booleanTests if state query is supported.booleansupportsStateRecordType(Type stateRecordType) Tests if a given state record type is supported.booleanTests if state search is supported.booleansupportsStateSearchRecordType(Type stateSearchRecordType) Tests if a given state search type is supported.booleanTests if state sequencing is supported.booleanTests if federation is visible.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.
-
Method Details
-
getStateSession
Gets theOsidSessionassociated with the state service.- Parameters:
proxy- a proxy- Returns:
a StateLookupSession- Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsState()isfalse- Compliance:
optional- This method must be implemented if {@code supportsState()} is {@code true} .
-
getStateSessionForProcess
StateSession getStateSessionForProcess(Id processId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the state service for the given process.- Parameters:
processId- theIdof the processproxy- a proxy- Returns:
a StateStateSession- Throws:
NotFoundException-processIdnot foundNullArgumentException-processIdorproxyisnullOperationFailedException-unable to complete requestUnimplementedException-supportsState()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsState()} and {@code supportsVisibleFederation()} are {@code true} .
-
getStateAssignmentSession
Gets theOsidSessionassociated with the state assignment service.- Parameters:
proxy- a proxy- Returns:
- a
StateAssignmentLookupSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsStateAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsStateAssignment()} is {@code true} .
-
getStateAssignmentSessionForProcess
StateAssignmentSession getStateAssignmentSessionForProcess(Id processId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the state assignment service for the given process.- Parameters:
processId- theIdof the processproxy- a proxy- Returns:
a StateAssignmentStateSession- Throws:
NotFoundException-processIdnot foundNullArgumentException-processIdorproxyisnullOperationFailedException-unable to complete requestUnimplementedException-supportsStateAssignment()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsStateAssignment()} and {@code supportsVisibleFederation()} are {@code true} .
-
getStateChangeNotificationSession
StateNotificationSession getStateChangeNotificationSession(StateChangeReceiver stateChangeReceiver, Proxy proxy) throws OperationFailedException Gets the notification session for notifications pertaining to state changes.- Parameters:
stateChangeReceiver- the notification callbackproxy- a proxy- Returns:
- a
StateChangeNotificationSession - Throws:
NullArgumentException-stateChangeReceiverorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsStateChangeNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsStateChangeNotification()} is {@code true} .
-
getStateChangeNotificationSessionForProcess
StateNotificationSession getStateChangeNotificationSessionForProcess(StateChangeReceiver stateChangeReceiver, Id processId, Proxy proxy) throws NotFoundException, OperationFailedException Gets the state change notification session for the given process.- Parameters:
stateChangeReceiver- the notification callbackprocessId- theIdof the processproxy- a proxy- Returns:
- a
StateChangeNotificationSession - Throws:
NotFoundException-processIdnot foundNullArgumentException-stateChangeReceiver, processId, orproxyisnullOperationFailedException-unable to complete requestUnimplementedException-supportsStateChangeNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsStateChangeNotfication()} and {@code supportsVisibleFederation()} are {@code true} .
-
getStateLookupSession
Gets theOsidSessionassociated with the state lookup service.- Parameters:
proxy- a proxy- Returns:
a StateLookupSession- Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsStateLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsStateLookup()} is {@code true} .
-
getStateLookupSessionForProcess
StateLookupSession getStateLookupSessionForProcess(Id processId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the state lookup service for the given process.- Parameters:
processId- theIdof the processproxy- a proxy- Returns:
a StateLookupSession- Throws:
NotFoundException-processIdnot foundNullArgumentException-processIdorproxyisnullOperationFailedException-unable to complete requestUnimplementedException-supportsStateLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsStateLookup()} and {@code supportsVisibleFederation()} are {@code true} .
-
getStateQuerySession
Gets a state query session.- Parameters:
proxy- a proxy- Returns:
a StateQuerySession- Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsStateQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsStateQuery()} is {@code true} .
-
getStateQuerySessionForProcess
StateQuerySession getStateQuerySessionForProcess(Id processId, Proxy proxy) throws NotFoundException, OperationFailedException Gets a state query session for the given process.- Parameters:
processId- theIdof the processproxy- a proxy- Returns:
a StateQuerySession- Throws:
NotFoundException-processIdnot foundNullArgumentException-processIdorproxyisnullOperationFailedException-unable to complete requestUnimplementedException-supportsStateQuery()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsStateQuery()} and {@code supportsVisibleFederation()} are {@code true} .
-
getStateSearchSession
Gets a state search session.- Parameters:
proxy- a proxy- Returns:
a StateSearchSession- Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsStateSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsStateSearch()} is {@code true} .
-
getStateSearchSessionForProcess
StateSearchSession getStateSearchSessionForProcess(Id processId, Proxy proxy) throws NotFoundException, OperationFailedException Gets a state search session for the given process.- Parameters:
processId- theIdof the processproxy- a proxy- Returns:
a StateSearchSession- Throws:
NotFoundException-processIdnot foundNullArgumentException-processIdorproxyisnullOperationFailedException-unable to complete requestUnimplementedException-supportsStateSearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsStateSearch()} and {@code supportsVisibleFederation()} are {@code true} .
-
getStateAdminSession
Gets a state administration session for creating, updating and deleting states.- Parameters:
proxy- a proxy- Returns:
a StateAdminSession- Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsStateAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsStateAdmin()} is {@code true} .
-
getStateAdminSessionForProcess
StateAdminSession getStateAdminSessionForProcess(Id processId, Proxy proxy) throws NotFoundException, OperationFailedException Gets a state administration session for the given process.- Parameters:
processId- theIdof the processproxy- a proxy- Returns:
a StateAdminSession- Throws:
NotFoundException-processIdnot foundNullArgumentException-processIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsStateAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsStateAdmin()} and {@code supportsVisibleFederation()} are {@code true} .
-
getStateSequencingSession
Gets a state sequencing session for ordering states.- Parameters:
proxy- a proxy- Returns:
a StateSequencingSession- Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsStateSequencing()isfalse- Compliance:
optional- This method must be implemented if {@code supportsStateSequencing()} is {@code true} .
-
getStateSequencingSessionForProcess
StateSequencingSession getStateSequencingSessionForProcess(Id processId, Proxy proxy) throws NotFoundException, OperationFailedException Gets a state sequencing session for the given process.- Parameters:
processId- theIdof the processproxy- a proxy- Returns:
a StateSequencingSession- Throws:
NotFoundException-processIdnot foundNullArgumentException-processIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsStateSequencing()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsStateSequencing()} and {@code supportsVisibleFederation()} are {@code true} .
-
getStateNotificationSession
StateNotificationSession getStateNotificationSession(StateReceiver stateReceiver, Proxy proxy) throws OperationFailedException Gets the state notification session for the given process.- Parameters:
stateReceiver- notification callbackproxy- a proxy- Returns:
a StateNotificationSession- Throws:
NullArgumentException-stateReceiverorproxyis nullOperationFailedException- unable to complete requestUnimplementedException-supportsStateNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsStateNotification()} is {@code true} .
-
getStateNotificationSessionForProcess
StateNotificationSession getStateNotificationSessionForProcess(StateReceiver stateReceiver, Id processId, Proxy proxy) throws NotFoundException, OperationFailedException Gets the state notification session for the given process.- Parameters:
stateReceiver- notification callbackprocessId- theIdof the processproxy- a proxy- Returns:
a StateNotificationSession- Throws:
NotFoundException-processIdnot foundNullArgumentException-stateReceiver, processIdorproxyis nullOperationFailedException-unable to complete requestUnimplementedException-supportsStateNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsStateNotfication()} and {@code supportsVisibleFederation()} are {@code true} .
-
getProcessLookupSession
Gets the process lookup session.- Parameters:
proxy- a proxy- Returns:
- a
ProcessLookupSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsProcessLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProcessLookup()} is {@code true} .
-
getProcessQuerySession
Gets the process query session.- Parameters:
proxy- a proxy- Returns:
- a
ProcessQuerySession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsProcessQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProcessQuery()} is {@code true} .
-
getProcessSearchSession
Gets the process search session.- Parameters:
proxy- a proxy- Returns:
- a
ProcessSearchSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsProcessSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProcessSearch()} is {@code true} .
-
getProcessAdminSession
Gets the process administrative session for creating, updating and deleteing processes.- Parameters:
proxy- a proxy- Returns:
- a
ProcessAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsProcessAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProcessAdmin()} is {@code true} .
-
getProcessNotificationSession
ProcessNotificationSession getProcessNotificationSession(ProcessReceiver processReceiver, Proxy proxy) throws OperationFailedException Gets the notification session for subscriprocessg to changes to a process.- Parameters:
processReceiver- notification callbackproxy- a proxy- Returns:
- a
ProcessNotificationSession - Throws:
NullArgumentException-processReceiverorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsProcessNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProcessNotification()} is {@code true} .
-
getProcessHierarchySession
Gets the process hierarchy traversal session.- Parameters:
proxy- a proxy- Returns:
a ProcessHierarchySession- Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsProcessHierarchy()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProcessHierarchy()} is {@code true} .
-
getProcessHierarchyDesignSession
ProcessHierarchyDesignSession getProcessHierarchyDesignSession(Proxy proxy) throws OperationFailedException Gets the process hierarchy design session.- Parameters:
proxy- a proxy- Returns:
- a
ProcessHierarchyDesignSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsProcessHierarchyDesign()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProcessHierarchyDesign()} is {@code true} .
-