| Interface | osid.workflow.rules.StepEnablerLookupSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.workflow.rules.WorkflowRulesManager | ||
osid.workflow.rules.WorkflowRulesProxyManager | |||
| 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 | canLookupStepEnablers | ||
| 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 | useComparativeStepEnablerView | ||
| 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 | usePlenaryStepEnablerView | ||
| 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 enablers 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 | getStepEnabler | ||
| Description |
Gets the In plenary mode, the exact | ||
| Parameters | osid.id.Id | stepEnablerId | Id of the StepEnabler |
| Return | osid.workflow.rules.StepEnabler | the step enabler | |
| Errors | NOT_FOUND | stepEnablerId not found | |
| NULL_ARGUMENT | stepEnablerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getStepEnablersByIds | ||
| Description |
Gets a In plenary mode, the returned list contains all of the
step enablers specified in the | ||
| Parameters | osid.id.IdList | stepEnablerIds | the list of Ids to retrieve |
| Return | osid.workflow.rules.StepEnablerList | the returned StepEnabler list | |
| Errors | NOT_FOUND | an Id was not found | |
| NULL_ARGUMENT | stepEnablerIds is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getStepEnablersByGenusType | ||
| Description |
Gets a In plenary mode, the returned list contains
all known step enablers or an error results. Otherwise,
the returned list may contain only those step enablers
that are accessible through this session.
| ||
| Parameters | osid.type.Type | stepEnablerGenusType | a step enabler genus type |
| Return | osid.workflow.rules.StepEnablerList | the returned StepEnabler list | |
| Errors | NULL_ARGUMENT | stepEnablerGenusType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getStepEnablersByParentGenusType | ||
| Description |
Gets a In plenary mode, the returned list contains
all known step enablers or an error results. Otherwise,
the returned list may contain only those step enablers
that are accessible through this session.
| ||
| Parameters | osid.type.Type | stepEnablerGenusType | a step genus type |
| Return | osid.workflow.rules.StepEnablerList | the returned StepEnabler list | |
| Errors | NULL_ARGUMENT | stepEnablerGenusType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getStepEnablersByRecordType | ||
| Description |
Gets a In plenary mode, the returned list contains
all known step enablers or an error results. Otherwise,
the returned list may contain only those step enablers
that are accessible through this session.
| ||
| Parameters | osid.type.Type | stepEnablerRecordType | a step enabler record type |
| Return | osid.workflow.rules.StepEnablerList | the returned StepEnabler list | |
| Errors | NULL_ARGUMENT | stepEnablerRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getStepEnablers | ||
| Description |
Gets all In plenary mode, the returned list contains all known step enablers or an error results. Otherwise, the returned list may contain only those step enablers that are accessible through this session. | ||
| Return | osid.workflow.rules.StepEnablerList | a list of StepEnablers | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |