Interface BuildingSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing building searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetBuildingSearchRecord(Type buildingSearchRecordType) Gets the building search record corresponding to the given building search recordType.voidorderBuildingResults(BuildingSearchOrder buildingSearchOrder) Specify an ordering to the search results.voidsearchAmongBuildings(IdList buildingIds) Execute this search among the given list of buildings.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
-
searchAmongBuildings
Execute this search among the given list of buildings.- Parameters:
buildingIds- list of buildings- Throws:
NullArgumentException-buildingIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderBuildingResults
Specify an ordering to the search results.- Parameters:
buildingSearchOrder- building search order- Throws:
NullArgumentException-buildingSearchOrderisnullUnsupportedException-buildingSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getBuildingSearchRecord
BuildingSearchRecord getBuildingSearchRecord(Type buildingSearchRecordType) throws OperationFailedException Gets the building search record corresponding to the given building search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
buildingSearchRecordType- a building search record type- Returns:
- the building search record
- Throws:
NullArgumentException-buildingSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(buildingSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-