Interface | osid.control.ControllerLookupSession | ||
---|---|---|---|
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 | canLookupControllers | ||
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 | useComparativeControllerView | ||
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 | usePlenaryControllerView | ||
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 controller constrainers 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 | useActiveControllerView | ||
Description |
Only active controllers are returned from methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useAnyStatusControllerView | ||
Description |
Borth active and inactive controllers are returned from methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getController | ||
Description |
Gets the In active mode, controllers are returned that are currently active. In any status mode, active and inactive controllers are returned. | ||
Parameters | osid.id.Id | controllerId | Id of the Controller |
Return | osid.control.Controller | the controller | |
Errors | NOT_FOUND | controllerId not found | |
NULL_ARGUMENT | controllerId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getControllersByIds | ||
Description |
Gets a In active mode, controllers are returned that are currently active. In any status mode, active and inactive controllers are returned. | ||
Parameters | osid.id.IdList | controllerIds | the list of Ids to retrieve |
Return | osid.control.ControllerList | the returned Controller list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | controllerIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getControllersByGenusType | ||
Description |
Gets a In active mode, controllers are returned that are currently active. In any status mode, active and inactive controllers are returned. | ||
Parameters | osid.type.Type | controllerGenusType | a controller genus type |
Return | osid.control.ControllerList | the returned Controller list | |
Errors | NULL_ARGUMENT | controllerGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getControllersByParentGenusType | ||
Description |
Gets a In active mode, controllers are returned that are currently active. In any status mode, active and inactive controllers are returned. | ||
Parameters | osid.type.Type | controllerGenusType | a controller genus type |
Return | osid.control.ControllerList | the returned Controller list | |
Errors | NULL_ARGUMENT | controllerGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getControllersByRecordType | ||
Description |
Gets a In active mode, controllers are returned that are currently active. In any status mode, active and inactive controllers are returned. | ||
Parameters | osid.type.Type | controllerRecordType | a controller record type |
Return | osid.control.ControllerList | the returned Controller list | |
Errors | NULL_ARGUMENT | controllerRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getControllersByAddress | ||
Description |
Gets a In active mode, controllers are returned that are currently active. In any status mode, active and inactive controllers are returned. | ||
Parameters | string | address | a controller address |
Return | osid.control.ControllerList | the returned Controller list | |
Errors | NULL_ARGUMENT | address is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getControllers | ||
Description |
Gets all In plenary mode, the returned list contains all known controllers or an error results. Otherwise, the returned list may contain only those controllers that are accessible through this session. In active mode, controllers are returned that are currently active. In any status mode, active and inactive controllers are returned. | ||
Return | osid.control.ControllerList | a list of Controllers | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |