Interface RealmSearch

All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable

public interface RealmSearch extends OsidSearch

The search interface for governing realm searches.

  • Method Details

    • searchAmongRealms

      void searchAmongRealms(IdList realmIds)
      Execute this search among the given list of realms.
      Parameters:
      realmIds - list of realms
      Throws:
      NullArgumentException - realmIds is null
      Compliance:
      mandatory - This method must be implemented.
    • orderRealmResults

      void orderRealmResults(RealmSearchOrder realmSearchOrder)
      Specify an ordering to the search results.
      Parameters:
      realmSearchOrder - realm search order
      Throws:
      NullArgumentException - realmSearchOrder is null
      UnsupportedException - realmSearchOrder is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getRealmSearchRecord

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