public interface BuildingSearch extends OsidSearch
The search interface for governing building searches.
| Modifier and Type | Method and Description |
|---|---|
BuildingSearchRecord |
getBuildingSearchRecord(Type buildingSearchRecordType)
Gets the building search record corresponding to the given building
search record
Type. |
void |
orderBuildingResults(BuildingSearchOrder buildingSearchOrder)
Specify an ordering to the search results.
|
void |
searchAmongBuildings(IdList buildingIds)
Execute this search among the given list of buildings.
|
limitResultSetgetRecordTypes, hasRecordTypevoid searchAmongBuildings(IdList buildingIds)
buildingIds - list of buildingsNullArgumentException - buildingIds is
null mandatory - This method must be implemented. void orderBuildingResults(BuildingSearchOrder buildingSearchOrder)
buildingSearchOrder - building search orderNullArgumentException - buildingSearchOrder
is null UnsupportedException - buildingSearchOrder
is not of this servicemandatory - This method must be implemented. BuildingSearchRecord getBuildingSearchRecord(Type buildingSearchRecordType) throws OperationFailedException
Type. This method is used to retrieve an
object implementing the requested record.buildingSearchRecordType - a building search record typeNullArgumentException - buildingSearchRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(buildingSearchRecordType) is
false mandatory - This method must be implemented.