Interface | osid.process.StateSequencingSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session manages state sequences. | ||
Method | getProcessId | ||
Description |
Gets the | ||
Return | osid.id.Id | the Process Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getProcess | ||
Description |
Gets the | ||
Return | osid.process.Process | the Process associated with this session | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canSequenceStates | ||
Description |
Tests if this user can sequence | ||
Return | boolean | false if State sequencing is not authorized,
true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | addValidNextState | ||
Description |
Adds a valid next state. | ||
Parameters | osid.id.Id | stateId | the Id of the State |
osid.id.Id | nextStateId | the Id of the next State | |
Errors | NOT_FOUND | stateId or nextStateId is not found | |
NULL_ARGUMENT | stateId or nextStateId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | removeValidNextState | ||
Description |
Removes a valid next state. | ||
Parameters | osid.id.Id | stateId | the Id of the State |
osid.id.Id | nextStateId | the Id of the next State | |
Errors | NOT_FOUND | stateId or nextStateId is not found | |
NULL_ARGUMENT | stateId or nextStateId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |