Interface RepositorySearch

All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable

public interface RepositorySearch extends OsidSearch

The interface for governing repository searches.

  • Method Details

    • searchAmongRepositories

      void searchAmongRepositories(IdList repositoryIds)
      Execute this search among the given list of repositories.
      Parameters:
      repositoryIds - list of repositories
      Throws:
      NullArgumentException - repositoryIds is null
      Compliance:
      mandatory - This method must be implemented.
    • orderRepositoryResults

      void orderRepositoryResults(RepositorySearchOrder repositorySearchOrder)
      Specify an ordering to the search results.
      Parameters:
      repositorySearchOrder - repository search order
      Throws:
      NullArgumentException - repositorySearchOrder is null
      UnsupportedException - repositorySearchOrder is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getRepositorySearchRecord

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