OSID Logo
OSID Specifications
room package
Version 3.1.0
Interfaceosid.room.RoomSearchOrder
Implementsosid.OsidObjectSearchOrder
osid.OsidTemporalSearchOrder
osid.OsidSubjugateableSearchOrder
Used Byosid.room.RoomSearchOrder
osid.room.RoomSearchSession
osid.room.RoomSmartCampusSession
osid.room.squatting.LeaseSearchOrder
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 search order is available.

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

Gets the building search order.

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

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

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

Tests if a floor order is available.

Returnboolean true if a floor search order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetFloorSearchOrder
Description

Gets the floor search order.

Returnosid.room.FloorSearchOrder the floor search order
ErrorsUNIMPLEMENTED supportsFloorSearchOrder() is false
Complianceoptional This method must be implemented if supportsFloorSearchOrder() is true.
MethodorderByEnclosingRoom
Description

Specifies a preference for ordering the result set by the enclosing room.

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

Tests if a room search order is available.

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

Gets the room search order.

Returnosid.room.RoomSearchOrder the enclosing room search order
ErrorsUNIMPLEMENTED supportsEnclosingRoomSearchOrder() is false
Complianceoptional This method must be implemented if supportsEnclosingRoomSearchOrder() is true.
MethodorderByRoomNumber
Description

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

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

Specifies a preference for ordering the result set by the room code.

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

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

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

Specifies a preference for ordering the result set by the room occupancy limit.

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

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

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