OSID Logo
OSID Specifications
room package
Version 3.0.0
Release Candidate Preview
Interfaceosid.room.BuildingSearchOrder
Implementsosid.OsidObjectSearchOrder
osid.OsidTemporalSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderByAddress
Description

Specifies a preference for ordering the result set by the address.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsAddressSearchOrder
Description

Tests if an address order is available.

Returnboolean true if an address search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetAddressSearchOrder
Description

Gets the address search order.

Returnosid.contact.AddressSearchOrderthe address search order
ErrorsUNIMPLEMENTED supportsAddressSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsAddressSearchOrder() is true.
MethodorderByOfficialName
Description

Specifies a preference for ordering the result set by the offical name.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByNumber
Description

Specifies a preference for ordering the result set by the building number.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByEnclosingBuilding
Description

Specifies a preference for ordering the result set by the subdivisions.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsEnclosingBuildingSearchOrder
Description

Tests if an enclosing building search order is available.

Returnboolean true if a building search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetEnclosingBuildingSearchOrder
Description

Gets the enclosing building search order.

Returnosid.room.BuildingSearchOrderthe building search order
ErrorsUNIMPLEMENTED supportsEnclosingBuildingSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsEnclosingBuildingSearchOrder() is true.
MethodorderByGrossArea
Description

Specifies a preference for ordering the result set by the gross area.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodgetBuildingSearchOrderRecord
Description

Gets the building search order record corresponding to the given building record Type. Multiple retrievals return the same underlying object.

Parametersosid.type.TypebuildingRecordTypea building record type
Returnosid.room.records.BuildingSearchOrderRecordthe building search order record
ErrorsNULL_ARGUMENT buildingRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(buildingRecordType) is false
CompliancemandatoryThis method must be implemented.