Interface | osid.workflow.rules.StepConstrainerLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods for retrieving This session defines views that offer differing behaviors when retrieving multiple objects.
Generally, the comparative view should be used for most
applications as it permits operation even if there is data
that cannot be accessed. The methods | ||
Method | getOfficeId | ||
Description |
Gets the | ||
Return | osid.id.Id | the Office Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getOffice | ||
Description |
Gets the | ||
Return | osid.workflow.Office | the office | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canLookupStepConstrainers | ||
Description |
Tests if this user can perform | ||
Return | boolean | false if lookup methods are not authorized, true
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | useComparativeStepConstrainerView | ||
Description |
The returns from the lookup methods may omit or translate elements based on this session, such as authorization, and not result in an error. This view is used when greater interoperability is desired at the expense of precision. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | usePlenaryStepConstrainerView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useFederatedOfficeView | ||
Description |
Federates the view for methods in this session. A federated view will include step constrainer in offices which are children of this office in the office hierarchy. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useIsolatedOfficeView | ||
Description |
Isolates the view for methods in this session. An isolated view restricts lookups to this office only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useActiveStepConstrainerView | ||
Description |
Only active step constrainers are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useAnyStatusStepConstrainerView | ||
Description |
All active and inactive step constrainers are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getStepConstrainer | ||
Description |
Gets the In active mode, step constrainers are returned that are currently active. In any status mode, active and inactive step constrainers are returned. | ||
Parameters | osid.id.Id | stepConstrainerId | Id of the StepConstrainer |
Return | osid.workflow.rules.StepConstrainer | the step constrainer | |
Errors | NOT_FOUND | stepConstrainerId not found | |
NULL_ARGUMENT | stepConstrainerId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getStepConstrainersByIds | ||
Description |
Gets a In active mode, step constrainers are returned that are currently active. In any status mode, active and inactive step constrainers are returned. | ||
Parameters | osid.id.IdList | stepConstrainerIds | the list of Ids to retrieve |
Return | osid.workflow.rules.StepConstrainerList | the returned StepConstrainer list | |
Errors | NOT_FOUND | a Id was not found | |
NULL_ARGUMENT | stepConstrainerIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getStepConstrainersByGenusType | ||
Description |
Gets a In active mode, step constrainers are returned that are currently active. In any status mode, active and inactive step constrainers are returned. | ||
Parameters | osid.type.Type | stepConstrainerGenusType | a step constrainer genus type |
Return | osid.workflow.rules.StepConstrainerList | the returned StepConstrainer list | |
Errors | NULL_ARGUMENT | stepConstrainerGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getStepConstrainersByParentGenusType | ||
Description |
Gets a In active mode, step constrainers are returned that are currently active. In any status mode, active and inactive step constrainers are returned. | ||
Parameters | osid.type.Type | stepConstrainerGenusType | a step constrainer genus type |
Return | osid.workflow.rules.StepConstrainerList | the returned StepConstrainer list | |
Errors | NULL_ARGUMENT | stepConstrainerGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getStepConstrainersByRecordType | ||
Description |
Gets a In active mode, step constrainers are returned that are currently active. In any status mode, active and inactive step constrainers are returned. | ||
Parameters | osid.type.Type | stepConstrainerRecordType | a step constrainer record type |
Return | osid.workflow.rules.StepConstrainerList | the returned StepConstrainer list | |
Errors | NULL_ARGUMENT | stepConstrainerRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getStepConstrainers | ||
Description |
Gets all In plenary mode, the returned list contains all known step constrainer or an error results. Otherwise, the returned list may contain only those step constrainer that are accessible through this session. In active mode, step constrainers are returned that are currently active. In any status mode, active and inactive step constrainers are returned. | ||
Return | osid.workflow.rules.StepConstrainerList | the returned StepConstrainer list | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |