OSID Logo
OSID Specifications
room package
Version 3.0.0
Interfaceosid.room.BuildingSearchOrder
Implementsosid.OsidObjectSearchOrder
osid.OsidTemporalSearchOrder
Used Byosid.room.BuildingSearchOrder
osid.room.BuildingSearchSession
osid.room.BuildingSmartCampusSession
osid.room.FloorSearchOrder
osid.room.RoomSearchOrder
osid.room.construction.ProjectSearchOrder
osid.room.squatting.DeedSearchOrder
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_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodsupportsAddressSearchOrder
Description

Tests if an address order is available.

Returnbooleantrue 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
ErrorsUNIMPLEMENTEDsupportsAddressSearchOrder() 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_ARGUMENTstyle 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_ARGUMENTstyle 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_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodsupportsEnclosingBuildingSearchOrder
Description

Tests if an enclosing building search order is available.

Returnbooleantrue 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
ErrorsUNIMPLEMENTEDsupportsEnclosingBuildingSearchOrder() 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_ARGUMENTstyle 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_ARGUMENTbuildingRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(buildingRecordType) is false
CompliancemandatoryThis method must be implemented.