Interface | osid.control.rules.TriggerEnablerLookupSession | ||
---|---|---|---|
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 | getSystemId | ||
Description |
Gets the | ||
Return | osid.id.Id | the System Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getSystem | ||
Description |
Gets the | ||
Return | osid.control.System | the system | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canLookupTriggerEnablers | ||
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 | useComparativeTriggerEnablerView | ||
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 | usePlenaryTriggerEnablerView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useFederatedSystemView | ||
Description |
Federates the view for methods in this session. A federated view will include trigger enablers in systems which are children of this system in the system hierarchy. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useIsolatedSystemView | ||
Description |
Isolates the view for methods in this session. An isolated view restricts lookups to this system only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useActiveTriggerEnablerView | ||
Description |
Only active trigger enablers are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useAnyStatusTriggerEnablerView | ||
Description |
All active and inactive trigger enablers are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getTriggerEnabler | ||
Description |
Gets the In active mode, trigger enablers are returned that are currently active. In any status mode, active and inactive trigger enablers are returned. | ||
Parameters | osid.id.Id | triggerEnablerId | Id of the TriggerEnabler |
Return | osid.control.rules.TriggerEnabler | the trigger enabler | |
Errors | NOT_FOUND | triggerEnablerId not found | |
NULL_ARGUMENT | triggerEnablerId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getTriggerEnablersByIds | ||
Description |
Gets a In active mode, trigger enablers are returned that are currently active. In any status mode, active and inactive trigger enablers are returned. | ||
Parameters | osid.id.IdList | triggerEnablerIds | the list of Ids to retrieve |
Return | osid.control.rules.TriggerEnablerList | the returned TriggerEnabler list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | triggerEnablerIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getTriggerEnablersByGenusType | ||
Description |
Gets a In active mode, trigger enablers are returned that are currently active. In any status mode, active and inactive trigger enablers are returned. | ||
Parameters | osid.type.Type | triggerEnablerGenusType | a trigger enabler genus type |
Return | osid.control.rules.TriggerEnablerList | the returned TriggerEnabler list | |
Errors | NULL_ARGUMENT | triggerEnablerGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getTriggerEnablersByParentGenusType | ||
Description |
Gets a In active mode, trigger enablers are returned that are currently active. In any status mode, active and inactive trigger enablers are returned. | ||
Parameters | osid.type.Type | triggerEnablerGenusType | a trigger enabler genus type |
Return | osid.control.rules.TriggerEnablerList | the returned TriggerEnabler list | |
Errors | NULL_ARGUMENT | triggerEnablerGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getTriggerEnablersByRecordType | ||
Description |
Gets a In active mode, trigger enablers are returned that are currently active. In any status mode, active and inactive trigger enablers are returned. | ||
Parameters | osid.type.Type | triggerEnablerRecordType | a trigger enabler record type |
Return | osid.control.rules.TriggerEnablerList | the returned TriggerEnabler list | |
Errors | NULL_ARGUMENT | triggerEnablerRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getTriggerEnablersOnDate | ||
Description |
Gets a In active mode, trigger enablers are returned that are currently active in addition to being effective during the given date range. In any status mode, active and inactive trigger enablers are returned. | ||
Parameters | osid.calendaring.DateTime | from | a start date |
osid.calendaring.DateTime | to | an end date | |
Return | osid.control.rules.TriggerEnablerList | the returned TriggerEnabler list | |
Errors | INVALID_ARGUMENT | from is greater than to | |
NULL_ARGUMENT | from or to is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getTriggerEnablersOnDateWithAgent | ||
Description |
Gets a In active mode, trigger enablers are returned that are currently active in addition to being effective during the given date range. In any status mode, active and inactive trigger enablers are returned. | ||
Parameters | osid.id.Id | agentId | an agent Id |
osid.calendaring.DateTime | from | a start date | |
osid.calendaring.DateTime | to | an end date | |
Return | osid.control.rules.TriggerEnablerList | the returned TriggerEnabler list | |
Errors | INVALID_ARGUMENT | from is greater than to | |
NULL_ARGUMENT | agentId, from, or to is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getTriggerEnablers | ||
Description |
Gets all In plenary mode, the returned list contains all known trigger enablers or an error results. Otherwise, the returned list may contain only those trigger enablers that are accessible through this session. In active mode, trigger enablers are returned that are currently active. In any status mode, active and inactive trigger enablers are returned. | ||
Return | osid.control.rules.TriggerEnablerList | the returned TriggerEnabler list | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |