Interface | osid.control.TriggerLookupSession | ||
---|---|---|---|
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 | canLookupTriggers | ||
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 | useComparativeTriggerView | ||
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 | usePlenaryTriggerView | ||
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 triggers 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 | useActiveTriggerView | ||
Description |
Only active triggers are returned from methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useAnyStatusTriggerView | ||
Description |
Borth active and inactive triggers are returned from methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getTrigger | ||
Description |
Gets the In active mode, triggers are returned that are currently active. In any status mode, active and inactive triggers are returned. | ||
Parameters | osid.id.Id | triggerId | Id of the Trigger |
Return | osid.control.Trigger | the trigger | |
Errors | NOT_FOUND | triggerId not found | |
NULL_ARGUMENT | triggerId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getTriggersByIds | ||
Description |
Gets a In active mode, triggers are returned that are currently active. In any status mode, active and inactive triggers are returned. | ||
Parameters | osid.id.IdList | triggerIds | the list of Ids to retrieve |
Return | osid.control.TriggerList | the returned Trigger list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | triggerIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getTriggersByGenusType | ||
Description |
Gets a In active mode, triggers are returned that are currently active. In any status mode, active and inactive triggers are returned. | ||
Parameters | osid.type.Type | triggerGenusType | a trigger genus type |
Return | osid.control.TriggerList | the returned Trigger list | |
Errors | NULL_ARGUMENT | triggerGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getTriggersByParentGenusType | ||
Description |
Gets a In active mode, triggers are returned that are currently active. In any status mode, active and inactive triggers are returned. | ||
Parameters | osid.type.Type | triggerGenusType | a trigger genus type |
Return | osid.control.TriggerList | the returned Trigger list | |
Errors | NULL_ARGUMENT | triggerGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getTriggersByRecordType | ||
Description |
Gets a In active mode, triggers are returned that are currently active. In any status mode, active and inactive triggers are returned. | ||
Parameters | osid.type.Type | triggerRecordType | a trigger record type |
Return | osid.control.TriggerList | the returned Trigger list | |
Errors | NULL_ARGUMENT | triggerRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getTriggersForController | ||
Description |
Gets a list of triggers for the given controller.
In active mode, triggers are returned that are currently active. In any status mode, active and inactive triggers are returned. | ||
Parameters | osid.id.Id | controllerId | a controller Id |
Return | osid.control.TriggerList | the returned Trigger list | |
Errors | NULL_ARGUMENT | controllerId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getTriggers | ||
Description |
Gets all In plenary mode, the returned list contains all known triggers or an error results. Otherwise, the returned list may contain only those triggers that are accessible through this session. In active mode, triggers are returned that are currently active. In any status mode, active and inactive triggers are returned. | ||
Return | osid.control.TriggerList | a list of Triggers | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |