| Interface | osid.recipe.ProcedureQuery | ||
|---|---|---|---|
| Implements | osid.OsidObjectQuery | ||
| Description |
This is the query for searching procedures. Each method
specifies an | ||
| Method | matchLearningObjectiveId | ||
| Description |
Sets the objective | ||
| Parameters | osid.id.Id | objectiveId | the asset Id |
boolean | match | true for a positive match, false for a
negative match | |
| Errors | NULL_ARGUMENT | objectiveId is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearLearningObjectiveIdTerms | ||
| Description |
Clears the objective | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsLearningObjectiveQuery | ||
| Description |
Tests if an | ||
| Return | boolean | true if an objective query is available, false
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getLearningObjectiveQuery | ||
| Description |
Gets the query for an objective. Multiple retrievals
produce a nested | ||
| Return | osid.learning.ObjectiveQuery | the objective query | |
| Errors | UNIMPLEMENTED | supportsLearningObjectiveQuery() is false | |
| Compliance | optional | This method must be implemented if supportsLearningObjectiveQuery()
is true. | |
| Method | matchAnyLearningObjective | ||
| Description |
Matches directions with any objective. | ||
| Parameters | boolean | match | true to match directions with any objective, false
to match directions with no objectives |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearLearningObjectiveTerms | ||
| Description |
Clears the objective query terms. | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | matchCookbookId | ||
| Description |
Sets the award | ||
| Parameters | osid.id.Id | cookbookId | a cook book Id |
boolean | match | true for a positive match, false for a
negative match | |
| Errors | NULL_ARGUMENT | cookbookId is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearCookbookIdTerms | ||
| Description |
Clears the cook book | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsCookbookQuery | ||
| Description |
Tests if an | ||
| Return | boolean | true if a cook book query is available, false
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCookbookQuery | ||
| Description |
Gets the query for a cook book query. Multiple
retrievals produce a nested | ||
| Return | osid.recipe.CookbookQuery | the cook book query | |
| Errors | UNIMPLEMENTED | supportsCookbookQuery() is false | |
| Compliance | optional | This method must be implemented if supportsCookbookQuery()
is true. | |
| Method | clearCookbookTerms | ||
| Description |
Clears the cook book terms. | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getProcedureQueryRecord | ||
| Description |
Gets the procedure query record corresponding to the
given | ||
| Parameters | osid.type.Type | procedureRecordType | a procedure record type |
| Return | osid.recipe.records.ProcedureQueryRecord | the procedure query record | |
| Errors | NULL_ARGUMENT | procedureRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED | hasRecordType(procedureRecordType) is false | ||
| Compliance | mandatory | This method must be implemented. | |