Interface | osid.room.construction.RenovationQuery | ||
---|---|---|---|
Implements | osid.OsidObjectQuery | ||
osid.OsidTemporalQuery | |||
Description |
This is the query for searching for renovations. Each
method specifies an | ||
Method | matchRoomId | ||
Description |
Sets the room | ||
Parameters | osid.id.Id | roomId | a room Id |
boolean | match | true for a positive match, false for a
negative match | |
Errors | NULL_ARGUMENT | roomId is null | |
Compliance | mandatory | This method must be implemented. | |
Method | clearRoomIdTerms | ||
Description |
Clears the room | ||
Compliance | mandatory | This method must be implemented. | |
Method | supportsRoomQuery | ||
Description |
Tests if a room query is available. | ||
Return | boolean | true if a room query is available, false
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getRoomQuery | ||
Description |
Gets the query for a renovation. | ||
Return | osid.room.RoomQuery | the room query | |
Errors | UNIMPLEMENTED | supportsRoomQuery() is false | |
Compliance | optional | This method must be implemented if supportsRoomQuery() is
true. | |
Method | clearRoomTerms | ||
Description |
Clears the room terms. | ||
Compliance | mandatory | This method must be implemented. | |
Method | matchCost | ||
Description |
Matches a cost within the given range inclusive. | ||
Parameters | osid.financials.Currency | low | start of range |
osid.financials.Currency | high | end of range | |
boolean | match | true for a positive match, false for a
negative match | |
Errors | INVALID_ARGUMENT | low is greater than high | |
NULL_ARGUMENT | low or high is null | ||
Compliance | mandatory | This method must be implemented. | |
Method | matchAnyCost | ||
Description |
Matches any cost. | ||
Parameters | boolean | match | true to match projects with any cost assigned, false
to match buildings with no cost assigned |
Compliance | mandatory | This method must be implemented. | |
Method | clearCostTerms | ||
Description |
Clears the cost terms. | ||
Compliance | mandatory | This method must be implemented. | |
Method | matchCampusId | ||
Description |
Sets the renovation | ||
Parameters | osid.id.Id | campusId | a campus Id |
boolean | match | true for a positive match, false for a
negative match | |
Errors | NULL_ARGUMENT | campusId is null | |
Compliance | mandatory | This method must be implemented. | |
Method | clearCampusIdTerms | ||
Description |
Clears the campus | ||
Compliance | mandatory | This method must be implemented. | |
Method | supportsCampusQuery | ||
Description |
Tests if a | ||
Return | boolean | true if a campus query is available, false
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getCampusQuery | ||
Description |
Gets the query for a campus query. Multiple retrievals
produce a nested | ||
Return | osid.room.CampusQuery | the campus query | |
Errors | UNIMPLEMENTED | supportsCampusQuery() is false | |
Compliance | optional | This method must be implemented if supportsCampusQuery() is
true. | |
Method | clearCampusTerms | ||
Description |
Clears the campus terms. | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRenovationQueryRecord | ||
Description |
Gets the renovation query record corresponding to the
given | ||
Parameters | osid.type.Type | renovationRecordType | a renovation record type |
Return | osid.room.construction.records.RenovationQueryRecord | the renovation query record | |
Errors | NULL_ARGUMENT | renovationRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
UNSUPPORTED | hasRecordType(renovationRecordType) is false | ||
Compliance | mandatory | This method must be implemented. |