OSID Logo
OSID Specifications
room package
Version 3.0.0
Interfaceosid.room.FloorQuery
Implementsosid.OsidObjectQuery
osid.OsidTemporalQuery
osid.OsidSubjugateableQuery
Used Byosid.room.CampusQuery
osid.room.FloorQuerySession
osid.room.FloorSearchSession
osid.room.FloorSmartCampusSession
osid.room.RoomQuery
Description

This is the query for searching for floors. Each method specifies an AND term while multiple invocations of the same method produce a nested OR .

MethodmatchBuildingId
Description

Sets the building Id for this query to match floors assigned to buildings.

Parametersosid.id.IdbuildingIda building Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTbuildingId is null
CompliancemandatoryThis method must be implemented.
MethodclearBuildingIdTerms
Description

Clears the building Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsBuildingQuery
Description

Tests if a BuildingQuery is available.

Returnbooleantrue if a building query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetBuildingQuery
Description

Gets the query for a building query. Multiple retrievals produce a nested OR term.

Returnosid.room.BuildingQuerythe building query
ErrorsUNIMPLEMENTEDsupportsBuildingQuery() is false
ComplianceoptionalThis method must be implemented if supportsBuildingQuery() is true .
MethodclearBuildingTerms
Description

Clears the building terms.

CompliancemandatoryThis method must be implemented.
MethodmatchNumber
Description

Sets a floor number.

Parametersstringnumbera number
osid.type.TypestringMatchTypea string match type
booleanmatchtrue for a positive match, false for a negative match
ErrorsINVALID_ARGUMENTnumber is not of stringMatchType
NULL_ARGUMENTnumber is null
UNSUPPORTEDsupportsStringMatchType(stringMatchType) is false
CompliancemandatoryThis method must be implemented.
MethodmatchAnyNumber
Description

Matches any floor number.

Parametersbooleanmatchtrue to match floors with any number, false to match floors with no number
CompliancemandatoryThis method must be implemented.
MethodclearNumberTerms
Description

Clears the number terms.

CompliancemandatoryThis method must be implemented.
MethodmatchGrossArea
Description

Matches an area within the given range inclusive.

Parametersdecimallowstart of range
decimalhighend of range
booleanmatchtrue for a positive match, false for a negative match
ErrorsINVALID_ARGUMENTlow is greater than high
CompliancemandatoryThis method must be implemented.
MethodmatchAnyGrossArea
Description

Matches any area.

Parametersbooleanmatchtrue to match floors with any area, false to match floors with no area assigned
CompliancemandatoryThis method must be implemented.
MethodclearGrossAreaTerms
Description

Clears the area terms.

CompliancemandatoryThis method must be implemented.
MethodmatchRoomId
Description

Sets the room Id for this query to match rooms assigned to floors.

Parametersosid.id.IdroomIda room Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTroomId is null
CompliancemandatoryThis method must be implemented.
MethodclearRoomIdTerms
Description

Clears the room Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsRoomQuery
Description

Tests if a room query is available.

Returnbooleantrue if a room query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetRoomQuery
Description

Gets the query for a floor.

Returnosid.room.RoomQuerythe room query
ErrorsUNIMPLEMENTEDsupportsRoomQuery() is false
ComplianceoptionalThis method must be implemented if supportsRoomQuery() is true .
MethodmatchAnyRoom
Description

Matches floors. with any room.

Parametersbooleanmatchtrue to match floors with any room, false to match floors with no rooms
CompliancemandatoryThis method must be implemented.
MethodclearRoomTerms
Description

Clears the room terms.

CompliancemandatoryThis method must be implemented.
MethodmatchCampusId
Description

Sets the floor Id for this query to match rooms assigned to campuses.

Parametersosid.id.IdcampusIda campus Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTcampusId is null
CompliancemandatoryThis method must be implemented.
MethodclearCampusIdTerms
Description

Clears the campus Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsCampusQuery
Description

Tests if a CampusQuery is available.

Returnbooleantrue if a campus query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetCampusQuery
Description

Gets the query for a campus query. Multiple retrievals produce a nested OR term.

Returnosid.room.CampusQuerythe campus query
ErrorsUNIMPLEMENTEDsupportsCampusQuery() is false
ComplianceoptionalThis method must be implemented if supportsCampusQuery() is true .
MethodclearCampusTerms
Description

Clears the campus terms.

CompliancemandatoryThis method must be implemented.
MethodgetFloorQueryRecord
Description

Gets the floor query record corresponding to the given Floor record Type .Multiple record retrievals produce a nested boolean OR term.

Parametersosid.type.TypefloorRecordTypea floor record type
Returnosid.room.records.FloorQueryRecordthe floor query record
ErrorsNULL_ARGUMENTfloorRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(floorRecordType) is false
CompliancemandatoryThis method must be implemented.