public interface BuildingSearchOrder extends OsidObjectSearchOrder, OsidTemporalSearchOrder
An interface for specifying the ordering of search results.
Modifier and Type | Method and Description |
---|---|
AddressSearchOrder |
getAddressSearchOrder()
Gets the address search order.
|
BuildingSearchOrderRecord |
getBuildingSearchOrderRecord(Type buildingRecordType)
Gets the building search order record corresponding to the given
building record Type.
|
BuildingSearchOrder |
getEnclosingBuildingSearchOrder()
Gets the enclosing building search order.
|
void |
orderByAddress(SearchOrderStyle style)
Specifies a preference for ordering the result set by the address.
|
void |
orderByEnclosingBuilding(SearchOrderStyle style)
Specifies a preference for ordering the result set by the
subdivisions.
|
void |
orderByGrossArea(SearchOrderStyle style)
Specifies a preference for ordering the result set by the gross area.
|
void |
orderByNumber(SearchOrderStyle style)
Specifies a preference for ordering the result set by the building
number.
|
void |
orderByOfficialName(SearchOrderStyle style)
Specifies a preference for ordering the result set by the offical
name.
|
boolean |
supportsAddressSearchOrder()
Tests if an address order is available.
|
boolean |
supportsEnclosingBuildingSearchOrder()
Tests if an enclosing building search order is available.
|
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatistic
orderById
getRecordTypes, hasRecordType
orderByEffective, orderByEndDate, orderByStartDate
void orderByAddress(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsAddressSearchOrder()
true
if an address search order is available,
false
otherwisemandatory
- This method must be implemented. AddressSearchOrder getAddressSearchOrder()
UnimplementedException
-
supportsAddressSearchOrder()
is false
optional
- This method must be implemented if
supportsAddressSearchOrder()
is true.
void orderByOfficialName(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByNumber(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByEnclosingBuilding(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsEnclosingBuildingSearchOrder()
true
if a building search order is available,
false
otherwisemandatory
- This method must be implemented. BuildingSearchOrder getEnclosingBuildingSearchOrder()
UnimplementedException
-
supportsEnclosingBuildingSearchOrder()
is false
optional
- This method must be implemented if
supportsEnclosingBuildingSearchOrder()
is
true.
void orderByGrossArea(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. BuildingSearchOrderRecord getBuildingSearchOrderRecord(Type buildingRecordType) throws OperationFailedException
buildingRecordType
- a building record typeNullArgumentException
- buildingRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(buildingRecordType)
is false
mandatory
- This method must be implemented.