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

This session provides methods for searching among ActionGroups. The search query is constructed using the ActionGroupQuery.

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

This session defines views that offer differing behaviors for searching.

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

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

MethodgetActionGroupSearch
Description

Gets an action group search.

Returnosid.control.ActionGroupSearch the action group search
Compliancemandatory This method must be implemented.
MethodgetActionGroupSearchOrder
Description

Gets an action group search order. The ActionGroupSearchOrder is supplied to an ActionGroupSearch to specify the ordering of results.

Returnosid.control.ActionGroupSearchOrder the action group search order
Compliancemandatory This method must be implemented.
MethodgetActionGroupsBySearch
Description

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

Parametersosid.control.ActionGroupQueryactuionGroupQuery the action group query
osid.control.ActionGroupSearchactionGroupSearch the action group search
Returnosid.control.ActionGroupSearchResults the returned search results
ErrorsNULL_ARGUMENT actuionGroupQuery or actionGroupSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED actuionGroupQuery or actionGroupSearch is not of this service
Compliancemandatory This method must be implemented.
MethodgetActionGroupQueryFromInspector
Description

Gets an action group query from an inspector. The inspector is available from an ActionGroupSearchResults.

Parametersosid.control.ActionGroupQueryInspectoractuionGroupQueryInspector an action group query inspector
Returnosid.control.ActionGroupQuery the action group query
ErrorsNULL_ARGUMENT actuionGroupQueryInspector is null
UNSUPPORTED actuionGroupQueryInspector is not of this service
Compliancemandatory This method must be implemented.