OSID Logo
OSID Specifications
room construction package
Version 3.0.0
Interfaceosid.room.construction.RenovationQuery
Implementsosid.OsidObjectQuery
osid.OsidTemporalQuery
Used Byosid.room.construction.RenovationQuerySession
osid.room.construction.RenovationSearchSession
osid.room.construction.RenovationSmartCampusSession
Description

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

MethodmatchRoomId
Description

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

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 renovation.

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

Clears the room terms.

CompliancemandatoryThis method must be implemented.
MethodmatchCost
Description

Matches a cost within the given range inclusive.

Parametersosid.financials.Currencylowstart of range
osid.financials.Currencyhighend of range
booleanmatchtrue for a positive match, false for a negative match
ErrorsINVALID_ARGUMENTlow is greater than high
NULL_ARGUMENTlow or high is null
CompliancemandatoryThis method must be implemented.
MethodmatchAnyCost
Description

Matches any cost.

Parametersbooleanmatchtrue to match projects with any cost assigned, false to match buildings with no cost assigned
CompliancemandatoryThis method must be implemented.
MethodclearCostTerms
Description

Clears the cost terms.

CompliancemandatoryThis method must be implemented.
MethodmatchCampusId
Description

Sets the renovation 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.
MethodgetRenovationQueryRecord
Description

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

Parametersosid.type.TyperenovationRecordTypea renovation record type
Returnosid.room.construction.records.RenovationQueryRecordthe renovation query record
ErrorsNULL_ARGUMENTrenovationRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(renovationRecordType) is false
CompliancemandatoryThis method must be implemented.