Interface RoomSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing room searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetRoomSearchRecord(Type roomSearchRecordType) Gets the room search record corresponding to the given room search recordType.voidorderRoomResults(RoomSearchOrder roomSearchOrder) Specify an ordering to the search results.voidsearchAmongRooms(IdList roomIds) Execute this search among the given list of rooms.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
-
searchAmongRooms
Execute this search among the given list of rooms.- Parameters:
roomIds- list of rooms- Throws:
NullArgumentException-roomIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderRoomResults
Specify an ordering to the search results.- Parameters:
roomSearchOrder- room search order- Throws:
NullArgumentException-roomSearchOrderisnullUnsupportedException-roomSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getRoomSearchRecord
Gets the room search record corresponding to the given room search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
roomSearchRecordType- a room search record type- Returns:
- the room search record
- Throws:
NullArgumentException-roomSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(roomSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-