OSID Logo
OSID Specifications
control package
Version 3.1.0
Interfaceosid.control.SceneSearchSession
Implementsosid.control.SceneQuerySession
Used Byosid.control.ControlManager
osid.control.ControlProxyManager
Description

This session provides methods for searching among Scenes. The search query is constructed using the SceneQuery.

getScenesByQuery() is the basic search method and returns a list of Scenes. A more advanced search may be performed with getScenesBySearch(). It accepts an SceneSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as ordering. getScenesBySearch() returns an SceneSearchResults that can be used to access the resulting SceneList or be used to perform a search within the result set through SceneSearch.

This session defines views that offer differing behaviors for searching.

  • federated system view: searches include scenes in systems of which this system is an ancestor in the system hierarchy
  • isolated system view: searches are restricted to scenes in this system

Scenes may have a query record indicated by their respective record types. The query record is accessed via the SceneQuery.

MethodgetSceneSearch
Description

Gets a scene search.

Returnosid.control.SceneSearch the scene search
Compliancemandatory This method must be implemented.
MethodgetSceneSearchOrder
Description

Gets a scene search order. The SceneSearchOrder is supplied to a SceneSearch to specify the ordering of results.

Returnosid.control.SceneSearchOrder the scene search order
Compliancemandatory This method must be implemented.
MethodgetScenesBySearch
Description

Gets the search results matching the given search query using the given search.

Parametersosid.control.SceneQuerysceneQuery the scene query
osid.control.SceneSearchsceneSearch the scene search
Returnosid.control.SceneSearchResults the returned search results
ErrorsNULL_ARGUMENT sceneQuery or sceneSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED sceneQuery or sceneSearch is not of this service
Compliancemandatory This method must be implemented.
MethodgetSceneQueryFromInspector
Description

Gets a scene query from an inspector. The inspector is available from a SceneSearchResults.

Parametersosid.control.SceneQueryInspectorsceneQueryInspector a scene query inspector
Returnosid.control.SceneQuery the scene query
ErrorsNULL_ARGUMENT sceneQueryInspector is null
UNSUPPORTED sceneQueryInspector is not of this service
Compliancemandatory This method must be implemented.