| Interface | osid.room.construction.ProjectQuery | ||
|---|---|---|---|
| Implements | osid.OsidObjectQuery | ||
osid.OsidTemporalQuery | |||
| Description |
This is the query for searching for projects. Each method
specifies an | ||
| Method | matchBuildingId | ||
| Description |
Sets a building | ||
| Parameters | osid.id.Id | buildingId | a building Id |
boolean | match | true for a positive match, false for a
negative match | |
| Errors | NULL_ARGUMENT | buildingId is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearBuildingIdTerms | ||
| Description |
Clears the building | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsBuildingQuery | ||
| Description |
Tests if a | ||
| Return | boolean | true if a building query is available, false
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getBuildingQuery | ||
| Description |
Gets the query for a building query. Multiple
retrievals produce a nested | ||
| Return | osid.room.BuildingQuery | the building query | |
| Errors | UNIMPLEMENTED | supportsBuildingQuery() is false | |
| Compliance | optional | This method must be implemented if supportsBuildingQuery()
is true. | |
| Method | clearBuildingTerms | ||
| Description |
Clears the building 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 project | ||
| 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 | getProjectQueryRecord | ||
| Description |
Gets the project query record corresponding to the
given | ||
| Parameters | osid.type.Type | projectRecordType | a project record type |
| Return | osid.room.construction.records.ProjectQueryRecord | the project query record | |
| Errors | NULL_ARGUMENT | projectRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED | hasRecordType(projectRecordType) is false | ||
| Compliance | mandatory | This method must be implemented. | |