OSID Logo
OSID Specifications
control package
Version 3.0.0
Release Candidate Preview
Interfaceosid.control.ActionGroupSearchSession
Implementsosid.control.ActionGroupQuerySession
Description

This session provides methods for searching among ActionGroup objects. 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.ActionGroupSearchthe action group search
CompliancemandatoryThis 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.ActionGroupSearchOrderthe action group search order
CompliancemandatoryThis method must be implemented.
MethodgetActionGroupsBySearch
Description

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

Parametersosid.control.ActionGroupQueryactuionGroupQuerythe action group query
osid.control.ActionGroupSearchactionGroupSearchthe action group search
Returnosid.control.ActionGroupSearchResultsthe returned search results
ErrorsNULL_ARGUMENT actuionGroupQuery or actionGroupSearch is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
UNSUPPORTED actuionGroupQuery or actionGroupSearch is not of this service
CompliancemandatoryThis method must be implemented.
MethodgetActionGroupQueryFromInspector
Description

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

Parametersosid.control.ActionGroupQueryInspectoractuionGroupQueryInspectoran action group query inspector
Returnosid.control.ActionGroupQuerythe action group query
ErrorsNULL_ARGUMENT actuionGroupQueryInspector is null
UNSUPPORTED actuionGroupQueryInspector is not of this service
CompliancemandatoryThis method must be implemented.