Interface ActionGroupSearchSession

All Superinterfaces:
ActionGroupQuerySession, AutoCloseable, Closeable, OsidSession, OsidSession

public interface ActionGroupSearchSession extends ActionGroupQuerySession

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 .

  • Method Details

    • getActionGroupSearch

      ActionGroupSearch getActionGroupSearch()
      Gets an action group search.
      Returns:
      the action group search
      Compliance:
      mandatory - This method must be implemented.
    • getActionGroupSearchOrder

      ActionGroupSearchOrder getActionGroupSearchOrder()
      Gets an action group search order. The ActionGroupSearchOrder is supplied to an ActionGroupSearch to specify the ordering of results.
      Returns:
      the action group search order
      Compliance:
      mandatory - This method must be implemented.
    • getActionGroupsBySearch

      ActionGroupSearchResults getActionGroupsBySearch(ActionGroupQuery actuionGroupQuery, ActionGroupSearch actionGroupSearch) throws OperationFailedException, PermissionDeniedException
      Gets the search results matching the given search query using the given search.
      Parameters:
      actuionGroupQuery - the action group query
      actionGroupSearch - the action group search
      Returns:
      the returned search results
      Throws:
      NullArgumentException - actuionGroupQuery or actionGroupSearch is null
      OperationFailedException - unable to complete request
      PermissionDeniedException - authorization failure
      UnsupportedException - actuionGroupQuery or actionGroupSearch is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getActionGroupQueryFromInspector

      ActionGroupQuery getActionGroupQueryFromInspector(ActionGroupQueryInspector actuionGroupQueryInspector)
      Gets an action group query from an inspector. The inspector is available from an ActionGroupSearchResults .
      Parameters:
      actuionGroupQueryInspector - an action group query inspector
      Returns:
      the action group query
      Throws:
      NullArgumentException - actuionGroupQueryInspector is null
      UnsupportedException - actuionGroupQueryInspector is not of this service
      Compliance:
      mandatory - This method must be implemented.