OSID Logo
OSID Specifications
room package
Version 3.1.0
Interfaceosid.room.FloorSearchOrder
Implementsosid.OsidObjectSearchOrder
osid.OsidTemporalSearchOrder
osid.OsidSubjugateableSearchOrder
Used Byosid.room.FloorSearchSession
osid.room.FloorSmartCampusSession
osid.room.RoomSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderByBuilding
Description

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

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

Tests if a building order is available.

Returnboolean true if a building order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetBuildingSearchOrder
Description

Gets the building order.

Returnosid.room.BuildingSearchOrder the building search order
ErrorsUNIMPLEMENTED supportsBuildingSearchOrder() is false
Complianceoptional This method must be implemented if supportsBuildingSearchOrder() is true.
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.
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.
MethodgetFloorSearchOrderRecord
Description

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

Parametersosid.type.TypefloorRecordType a floor record type
Returnosid.room.records.FloorSearchOrderRecord the floor search order record
ErrorsNULL_ARGUMENT floorRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(floorRecordType) is false
Compliancemandatory This method must be implemented.