OSID Logo
OSID Specifications
process package
Version 3.1.0
Interfaceosid.process.ProcessProxyManager
Implementsosid.OsidProxyManager
osid.process.ProcessProfile
Used Byosid.orchestration.OrchestrationManager
Description

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 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
MethodgetStateSession
Description

Gets the OsidSession associated with the state service.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.process.StateSession a StateLookupSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsState() is false
Complianceoptional This method must be implemented if supportsState() is true.
MethodgetStateSessionForProcess
Description

Gets the OsidSession associated with the state service for the given process.

Parametersosid.id.IdprocessId the Id of the process
osid.proxy.Proxyproxy a proxy
Returnosid.process.StateSession a StateStateSession
ErrorsNOT_FOUND processId not found
NULL_ARGUMENT processId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsState() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsState() and supportsVisibleFederation() are true.
MethodgetStateAssignmentSession
Description

Gets the OsidSession associated with the state assignment service.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.process.StateAssignmentSession a StateAssignmentLookupSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsStateAssignment() is false
Complianceoptional This method must be implemented if supportsStateAssignment() is true.
MethodgetStateAssignmentSessionForProcess
Description

Gets the OsidSession associated with the state assignment service for the given process.

Parametersosid.id.IdprocessId the Id of the process
osid.proxy.Proxyproxy a proxy
Returnosid.process.StateAssignmentSession a StateAssignmentStateSession
ErrorsNOT_FOUND processId not found
NULL_ARGUMENT processId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsStateAssignment() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsStateAssignment() and supportsVisibleFederation() are true.
MethodgetStateChangeNotificationSession
Description

Gets the notification session for notifications pertaining to state changes.

Parametersosid.process.StateChangeReceiverstateChangeReceiver the notification callback
osid.proxy.Proxyproxy a proxy
Returnosid.process.StateNotificationSession a StateChangeNotificationSession
ErrorsNULL_ARGUMENT stateChangeReceiver or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsStateChangeNotification() is false
Complianceoptional This method must be implemented if supportsStateChangeNotification() is true.
MethodgetStateChangeNotificationSessionForProcess
Description

Gets the state change notification session for the given process.

Parametersosid.process.StateChangeReceiverstateChangeReceiver the notification callback
osid.id.IdprocessId the Id of the process
osid.proxy.Proxyproxy a proxy
Returnosid.process.StateNotificationSession a StateChangeNotificationSession
ErrorsNOT_FOUND processId not found
NULL_ARGUMENT stateChangeReceiver, processId, or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsStateChangeNotification() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsStateChangeNotfication() and supportsVisibleFederation() are true.
MethodgetStateLookupSession
Description

Gets the OsidSession associated with the state lookup service.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.process.StateLookupSession a StateLookupSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsStateLookup() is false
Complianceoptional This method must be implemented if supportsStateLookup() is true.
MethodgetStateLookupSessionForProcess
Description

Gets the OsidSession associated with the state lookup service for the given process.

Parametersosid.id.IdprocessId the Id of the process
osid.proxy.Proxyproxy a proxy
Returnosid.process.StateLookupSession a StateLookupSession
ErrorsNOT_FOUND processId not found
NULL_ARGUMENT processId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsStateLookup() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsStateLookup() and supportsVisibleFederation() are true.
MethodgetStateQuerySession
Description

Gets a state query session.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.process.StateQuerySession a StateQuerySession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsStateQuery() is false
Complianceoptional This method must be implemented if supportsStateQuery() is true.
MethodgetStateQuerySessionForProcess
Description

Gets a state query session for the given process.

Parametersosid.id.IdprocessId the Id of the process
osid.proxy.Proxyproxy a proxy
Returnosid.process.StateQuerySession a StateQuerySession
ErrorsNOT_FOUND processId not found
NULL_ARGUMENT processId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsStateQuery() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsStateQuery() and supportsVisibleFederation() are true.
MethodgetStateSearchSession
Description

Gets a state search session.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.process.StateSearchSession a StateSearchSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsStateSearch() is false
Complianceoptional This method must be implemented if supportsStateSearch() is true.
MethodgetStateSearchSessionForProcess
Description

Gets a state search session for the given process.

Parametersosid.id.IdprocessId the Id of the process
osid.proxy.Proxyproxy a proxy
Returnosid.process.StateSearchSession a StateSearchSession
ErrorsNOT_FOUND processId not found
NULL_ARGUMENT processId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsStateSearch() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsStateSearch() and supportsVisibleFederation() are true.
MethodgetStateAdminSession
Description

Gets a state administration session for creating, updating and deleting states.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.process.StateAdminSession a StateAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsStateAdmin() is false
Complianceoptional This method must be implemented if supportsStateAdmin() is true.
MethodgetStateAdminSessionForProcess
Description

Gets a state administration session for the given process.

Parametersosid.id.IdprocessId the Id of the process
osid.proxy.Proxyproxy a proxy
Returnosid.process.StateAdminSession a StateAdminSession
ErrorsNOT_FOUND processId not found
NULL_ARGUMENT processId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsStateAdmin() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsStateAdmin() and supportsVisibleFederation() are true.
MethodgetStateSequencingSession
Description

Gets a state sequencing session for ordering states.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.process.StateSequencingSession a StateSequencingSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsStateSequencing() is false
Complianceoptional This method must be implemented if supportsStateSequencing() is true.
MethodgetStateSequencingSessionForProcess
Description

Gets a state sequencing session for the given process.

Parametersosid.id.IdprocessId the Id of the process
osid.proxy.Proxyproxy a proxy
Returnosid.process.StateSequencingSession a StateSequencingSession
ErrorsNOT_FOUND processId not found
NULL_ARGUMENT processId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsStateSequencing() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsStateSequencing() and supportsVisibleFederation() are true.
MethodgetStateNotificationSession
Description

Gets the state notification session for the given process.

Parametersosid.process.StateReceiverstateReceiver notification callback
osid.proxy.Proxyproxy a proxy
Returnosid.process.StateNotificationSession a StateNotificationSession
ErrorsNULL_ARGUMENT stateReceiver or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsStateNotification() is false
Complianceoptional This method must be implemented if supportsStateNotification() is true.
MethodgetStateNotificationSessionForProcess
Description

Gets the state notification session for the given process.

Parametersosid.process.StateReceiverstateReceiver notification callback
osid.id.IdprocessId the Id of the process
osid.proxy.Proxyproxy a proxy
Returnosid.process.StateNotificationSession a StateNotificationSession
ErrorsNOT_FOUND processId not found
NULL_ARGUMENT stateReceiver, processId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsStateNotification() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsStateNotfication() and supportsVisibleFederation() are true.
MethodgetProcessLookupSession
Description

Gets the process lookup session.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.process.ProcessLookupSession a ProcessLookupSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProcessLookup() is false
Complianceoptional This method must be implemented if supportsProcessLookup() is true.
MethodgetProcessQuerySession
Description

Gets the process query session.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.process.ProcessQuerySession a ProcessQuerySession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProcessQuery() is false
Complianceoptional This method must be implemented if supportsProcessQuery() is true.
MethodgetProcessSearchSession
Description

Gets the process search session.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.process.ProcessSearchSession a ProcessSearchSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProcessSearch() is false
Complianceoptional This method must be implemented if supportsProcessSearch() is true.
MethodgetProcessAdminSession
Description

Gets the process administrative session for creating, updating and deleteing processes.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.process.ProcessAdminSession a ProcessAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProcessAdmin() is false
Complianceoptional This method must be implemented if supportsProcessAdmin() is true.
MethodgetProcessNotificationSession
Description

Gets the notification session for subscriprocessg to changes to a process.

Parametersosid.process.ProcessReceiverprocessReceiver notification callback
osid.proxy.Proxyproxy a proxy
Returnosid.process.ProcessNotificationSession a ProcessNotificationSession
ErrorsNULL_ARGUMENT processReceiver or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProcessNotification() is false
Complianceoptional This method must be implemented if supportsProcessNotification() is true.
MethodgetProcessHierarchySession
Description

Gets the process hierarchy traversal session.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.process.ProcessHierarchySession a ProcessHierarchySession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProcessHierarchy() is false
Complianceoptional This method must be implemented if supportsProcessHierarchy() is true.
MethodgetProcessHierarchyDesignSession
Description

Gets the process hierarchy design session.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.process.ProcessHierarchyDesignSession a ProcessHierarchyDesignSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsProcessHierarchyDesign() is false
Complianceoptional This method must be implemented if supportsProcessHierarchyDesign() is true.