Interface RealmSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing realm searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetRealmSearchRecord(Type realmSearchRecordType) Gets the record corresponding to the given realm search recordType.voidorderRealmResults(RealmSearchOrder realmSearchOrder) Specify an ordering to the search results.voidsearchAmongRealms(IdList realmIds) Execute this search among the given list of realms.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface OsidSearch
limitResultSetModifier and TypeMethodDescriptionvoidlimitResultSet(long start, long end) By default, searches return all matching results.
-
Method Details
-
searchAmongRealms
Execute this search among the given list of realms.- Parameters:
realmIds- list of realms- Throws:
NullArgumentException-realmIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderRealmResults
Specify an ordering to the search results.- Parameters:
realmSearchOrder- realm search order- Throws:
NullArgumentException-realmSearchOrderisnullUnsupportedException-realmSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getRealmSearchRecord
Gets the record corresponding to the given realm search recordType. 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-realmSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(realmSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-