OSID Logo
OSID Specifications
room package
Version 3.1.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.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodsupportsAddressSearchOrder
Description

Tests if an address order is available.

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

Gets the address search order.

Returnosid.contact.AddressSearchOrder the address search order
ErrorsUNIMPLEMENTED supportsAddressSearchOrder() is false
Complianceoptional This method must be implemented if supportsAddressSearchOrder() is true.
MethodorderByOfficialName
Description

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

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodorderByNumber
Description

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

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodorderByEnclosingBuilding
Description

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

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This 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
Compliancemandatory This method must be implemented.
MethodgetEnclosingBuildingSearchOrder
Description

Gets the enclosing building search order.

Returnosid.room.BuildingSearchOrder the building search order
ErrorsUNIMPLEMENTED supportsEnclosingBuildingSearchOrder() is false
Complianceoptional This method must be implemented if supportsEnclosingBuildingSearchOrder() is true.
MethodorderByGrossArea
Description

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

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This 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.TypebuildingRecordType a building record type
Returnosid.room.records.BuildingSearchOrderRecord the building search order record
ErrorsNULL_ARGUMENT buildingRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(buildingRecordType) is false
Compliancemandatory This method must be implemented.