Interface ObjectiveBankSearchSession

All Superinterfaces:
AutoCloseable, Closeable, ObjectiveBankQuerySession, OsidSession, OsidSession

public interface ObjectiveBankSearchSession extends ObjectiveBankQuerySession

This session provides methods for searching among ObjectiveBanks . The search query is constructed using the ObjectiveBankQuery .

getObjectiveBanksByQuery() is the basic search method and returns a list of ObjectiveBank objects.A more advanced search may be performed with getObjectiveBanksBySearch() . It accepts a ObjectiveBankSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as ordering. getObjectiveBanksBySearch() returns a ObjectiveBankSearchResults that can be used to access the resulting ObjectiveBankList or be used to perform a search within the result set through ObjectiveBankSearch . ObjectiveBanks may have a query record indicated by their respective record types. The query record is accessed via the ObjectiveBankQuery .
  • Method Details

    • getObjectiveBankSearch

      ObjectiveBankSearch getObjectiveBankSearch()
      Gets an objective bank search.
      Returns:
      an objective bank search
      Compliance:
      mandatory - This method must be implemented.
    • getObjectiveBankSearchOrder

      ObjectiveBankSearchOrder getObjectiveBankSearchOrder()
      Gets an objective bank search order. The ObjectiveBankSearchOrder is supplied to a ObjectiveBankSearch to specify the ordering of results.
      Returns:
      the objective bank search order
      Compliance:
      mandatory - This method must be implemented.
    • getObjectiveBanksBySearch

      ObjectiveBankSearchResults getObjectiveBanksBySearch(ObjectiveBankQuery objectiveBankQuery, ObjectiveBankSearch objectiveBankSearch) throws OperationFailedException, PermissionDeniedException
      Gets the search results matching the given search query using the given search.
      Parameters:
      objectiveBankQuery - the objective bank query
      objectiveBankSearch - the objective bank search
      Returns:
      the search results
      Throws:
      NullArgumentException - objectiveBankQuery or objectiveBankSearch is null
      OperationFailedException - unable to complete request
      PermissionDeniedException - authorization failure
      UnsupportedException - objectiveBankQuery or objectiveBankSearch is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getObjectiveBankQueryFromInspector

      ObjectiveBankQuery getObjectiveBankQueryFromInspector(ObjectiveBankQueryInspector objectiveBankQueryInspector)
      Gets an objective bank query from an inspector. The inspector is available from an ObjectiveBankSearchResults .
      Parameters:
      objectiveBankQueryInspector - an objective bank query inspector
      Returns:
      the objective bank query
      Throws:
      NullArgumentException - objectiveBankQueryInspector is null
      UnsupportedException - objectiveBankQueryInspector is not of this service
      Compliance:
      mandatory - This method must be implemented.