Interface ResourceSearch

All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable

public interface ResourceSearch extends OsidSearch

The search interface for governing resource searches.

  • Method Details

    • searchAmongResources

      void searchAmongResources(IdList resourceIds)
      Execute this search among the given list of resources.
      Parameters:
      resourceIds - list of resource Ids
      Throws:
      NullArgumentException - resourceIds is null
      Compliance:
      mandatory - This method must be implemented.
    • orderResourceResults

      void orderResourceResults(ResourceSearchOrder resourceSearchOrder)
      Specify an ordering to the search results.
      Parameters:
      resourceSearchOrder - resource search order
      Throws:
      NullArgumentException - order is null
      UnsupportedException - order is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getResourceSearchRecord

      ResourceSearchRecord getResourceSearchRecord(Type resourceSearchRecordType) throws OperationFailedException
      Gets the resource search record corresponding to the given resource search record Type . This method is used to retrieve an object implementing the requested record.
      Parameters:
      resourceSearchRecordType - a resource search record type
      Returns:
      the resource search record
      Throws:
      NullArgumentException - resourceSearchRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordTypeType(resourceSearchRecordType) is false
      Compliance:
      mandatory - This method must be implemented.