OSID Logo
OSID Specifications
process package
Version 3.0.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.Proxyproxya proxy
Returnosid.process.StateSessiona StateLookupSession
ErrorsNULL_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsState() is false
ComplianceoptionalThis method must be implemented if supportsState() is true .
MethodgetStateSessionForProcess
Description

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

Parametersosid.id.IdprocessIdthe Id of the process
osid.proxy.Proxyproxya proxy
Returnosid.process.StateSessiona StateStateSession
ErrorsNOT_FOUNDprocessId not found
NULL_ARGUMENTprocessId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsState() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsState() and supportsVisibleFederation() are true .
MethodgetStateAssignmentSession
Description

Gets the OsidSession associated with the state assignment service.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.process.StateAssignmentSessiona StateAssignmentLookupSession
ErrorsNULL_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsStateAssignment() is false
ComplianceoptionalThis 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.IdprocessIdthe Id of the process
osid.proxy.Proxyproxya proxy
Returnosid.process.StateAssignmentSessiona StateAssignmentStateSession
ErrorsNOT_FOUNDprocessId not found
NULL_ARGUMENTprocessId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsStateAssignment() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsStateAssignment() and supportsVisibleFederation() are true .
MethodgetStateChangeNotificationSession
Description

Gets the notification session for notifications pertaining to state changes.

Parametersosid.process.StateChangeReceiverstateChangeReceiverthe notification callback
osid.proxy.Proxyproxya proxy
Returnosid.process.StateNotificationSessiona StateChangeNotificationSession
ErrorsNULL_ARGUMENTstateChangeReceiver or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsStateChangeNotification() is false
ComplianceoptionalThis method must be implemented if supportsStateChangeNotification() is true .
MethodgetStateChangeNotificationSessionForProcess
Description

Gets the state change notification session for the given process.

Parametersosid.process.StateChangeReceiverstateChangeReceiverthe notification callback
osid.id.IdprocessIdthe Id of the process
osid.proxy.Proxyproxya proxy
Returnosid.process.StateNotificationSessiona StateChangeNotificationSession
ErrorsNOT_FOUNDprocessId not found
NULL_ARGUMENTstateChangeReceiver, processId , or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsStateChangeNotification() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsStateChangeNotfication() and supportsVisibleFederation() are true .
MethodgetStateLookupSession
Description

Gets the OsidSession associated with the state lookup service.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.process.StateLookupSessiona StateLookupSession
ErrorsNULL_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsStateLookup() is false
ComplianceoptionalThis 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.IdprocessIdthe Id of the process
osid.proxy.Proxyproxya proxy
Returnosid.process.StateLookupSessiona StateLookupSession
ErrorsNOT_FOUNDprocessId not found
NULL_ARGUMENTprocessId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsStateLookup() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsStateLookup() and supportsVisibleFederation() are true .
MethodgetStateQuerySession
Description

Gets a state query session.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.process.StateQuerySessiona StateQuerySession
ErrorsNULL_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsStateQuery() is false
ComplianceoptionalThis method must be implemented if supportsStateQuery() is true .
MethodgetStateQuerySessionForProcess
Description

Gets a state query session for the given process.

Parametersosid.id.IdprocessIdthe Id of the process
osid.proxy.Proxyproxya proxy
Returnosid.process.StateQuerySessiona StateQuerySession
ErrorsNOT_FOUNDprocessId not found
NULL_ARGUMENTprocessId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsStateQuery() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsStateQuery() and supportsVisibleFederation() are true .
MethodgetStateSearchSession
Description

Gets a state search session.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.process.StateSearchSessiona StateSearchSession
ErrorsNULL_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsStateSearch() is false
ComplianceoptionalThis method must be implemented if supportsStateSearch() is true .
MethodgetStateSearchSessionForProcess
Description

Gets a state search session for the given process.

Parametersosid.id.IdprocessIdthe Id of the process
osid.proxy.Proxyproxya proxy
Returnosid.process.StateSearchSessiona StateSearchSession
ErrorsNOT_FOUNDprocessId not found
NULL_ARGUMENTprocessId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsStateSearch() or supportsVisibleFederation() is false
ComplianceoptionalThis 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.Proxyproxya proxy
Returnosid.process.StateAdminSessiona StateAdminSession
ErrorsNULL_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsStateAdmin() is false
ComplianceoptionalThis method must be implemented if supportsStateAdmin() is true .
MethodgetStateAdminSessionForProcess
Description

Gets a state administration session for the given process.

Parametersosid.id.IdprocessIdthe Id of the process
osid.proxy.Proxyproxya proxy
Returnosid.process.StateAdminSessiona StateAdminSession
ErrorsNOT_FOUNDprocessId not found
NULL_ARGUMENTprocessId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsStateAdmin() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsStateAdmin() and supportsVisibleFederation() are true .
MethodgetStateSequencingSession
Description

Gets a state sequencing session for ordering states.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.process.StateSequencingSessiona StateSequencingSession
ErrorsNULL_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsStateSequencing() is false
ComplianceoptionalThis method must be implemented if supportsStateSequencing() is true .
MethodgetStateSequencingSessionForProcess
Description

Gets a state sequencing session for the given process.

Parametersosid.id.IdprocessIdthe Id of the process
osid.proxy.Proxyproxya proxy
Returnosid.process.StateSequencingSessiona StateSequencingSession
ErrorsNOT_FOUNDprocessId not found
NULL_ARGUMENTprocessId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsStateSequencing() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsStateSequencing() and supportsVisibleFederation() are true .
MethodgetStateNotificationSession
Description

Gets the state notification session for the given process.

Parametersosid.process.StateReceiverstateReceivernotification callback
osid.proxy.Proxyproxya proxy
Returnosid.process.StateNotificationSessiona StateNotificationSession
ErrorsNULL_ARGUMENTstateReceiver or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsStateNotification() is false
ComplianceoptionalThis method must be implemented if supportsStateNotification() is true .
MethodgetStateNotificationSessionForProcess
Description

Gets the state notification session for the given process.

Parametersosid.process.StateReceiverstateReceivernotification callback
osid.id.IdprocessIdthe Id of the process
osid.proxy.Proxyproxya proxy
Returnosid.process.StateNotificationSessiona StateNotificationSession
ErrorsNOT_FOUNDprocessId not found
NULL_ARGUMENTstateReceiver, processId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsStateNotification() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsStateNotfication() and supportsVisibleFederation() are true .
MethodgetProcessLookupSession
Description

Gets the process lookup session.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.process.ProcessLookupSessiona ProcessLookupSession
ErrorsNULL_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsProcessLookup() is false
ComplianceoptionalThis method must be implemented if supportsProcessLookup() is true .
MethodgetProcessQuerySession
Description

Gets the process query session.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.process.ProcessQuerySessiona ProcessQuerySession
ErrorsNULL_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsProcessQuery() is false
ComplianceoptionalThis method must be implemented if supportsProcessQuery() is true .
MethodgetProcessSearchSession
Description

Gets the process search session.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.process.ProcessSearchSessiona ProcessSearchSession
ErrorsNULL_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsProcessSearch() is false
ComplianceoptionalThis method must be implemented if supportsProcessSearch() is true .
MethodgetProcessAdminSession
Description

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

Parametersosid.proxy.Proxyproxya proxy
Returnosid.process.ProcessAdminSessiona ProcessAdminSession
ErrorsNULL_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsProcessAdmin() is false
ComplianceoptionalThis method must be implemented if supportsProcessAdmin() is true .
MethodgetProcessNotificationSession
Description

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

Parametersosid.process.ProcessReceiverprocessReceivernotification callback
osid.proxy.Proxyproxya proxy
Returnosid.process.ProcessNotificationSessiona ProcessNotificationSession
ErrorsNULL_ARGUMENTprocessReceiver or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsProcessNotification() is false
ComplianceoptionalThis method must be implemented if supportsProcessNotification() is true .
MethodgetProcessHierarchySession
Description

Gets the process hierarchy traversal session.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.process.ProcessHierarchySessiona ProcessHierarchySession
ErrorsNULL_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsProcessHierarchy() is false
ComplianceoptionalThis method must be implemented if supportsProcessHierarchy() is true .
MethodgetProcessHierarchyDesignSession
Description

Gets the process hierarchy design session.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.process.ProcessHierarchyDesignSessiona ProcessHierarchyDesignSession
ErrorsNULL_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsProcessHierarchyDesign() is false
ComplianceoptionalThis method must be implemented if supportsProcessHierarchyDesign() is true .