Interface | osid.control.SceneLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session defines methods for retrieving scenes. This lookup session defines several views:
The methods Scenes may have an additional records indicated by their respective record types. The record may not be accessed through a cast of the scenes. | ||
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 | canLookupScenes | ||
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 | useComparativeSceneView | ||
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 | usePlenarySceneView | ||
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 scenes 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 retrievals to this system only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getScene | ||
Description |
Gets the | ||
Parameters | osid.id.Id | sceneId | the Id of the Scene to retrieve |
Return | osid.control.Scene | the returned Scene | |
Errors | NOT_FOUND | no Scene found with the given Id | |
NULL_ARGUMENT | sceneId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getScenesByIds | ||
Description |
Gets a | ||
Parameters | osid.id.IdList | sceneIds | the list of Ids to retrieve |
Return | osid.control.SceneList | the returned Scene list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | sceneIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getScenesByGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | sceneGenusType | a scene genus type |
Return | osid.control.SceneList | the returned Scene list | |
Errors | NULL_ARGUMENT | sceneGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getScenesByParentGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | sceneGenusType | a scene genus type |
Return | osid.control.SceneList | the returned Scene list | |
Errors | NULL_ARGUMENT | sceneGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getScenesByRecordType | ||
Description |
Gets a In plenary mode, the returned list contains all known scenes or an error results. Otherwise, the returned list may contain only those scenes that are accessible through this session. | ||
Parameters | osid.type.Type | sceneRecordType | a scene record type |
Return | osid.control.SceneList | the returned Scene list | |
Errors | NULL_ARGUMENT | sceneRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getScenesBySetting | ||
Description |
Gets a list of scenes by a setting. | ||
Parameters | osid.id.Id | settingId | a setting Id |
Return | osid.control.SceneList | the returned Scene list | |
Errors | NULL_ARGUMENT | settingId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getScenes | ||
Description |
Gets all scenes. | ||
Return | osid.control.SceneList | the returned Scene list | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |