| Interface | osid.OsidRuleApplicatorQuery | ||
|---|---|---|---|
| Implements | osid.OsidEnablerQuery | ||
| Implemented By | osid.rules.check.InstructionQuery | ||
| Description |
This is the query interface for searching
| ||
| Method | matchResourceId | ||
| Description |
Match the | ||
| Parameters | osid.id.Id | resourceId | Id to match |
boolean | match | true if for a positive match, false for a
negative match | |
| Errors | NULL_ARGUMENT | resourceId is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearResourceIdTerms | ||
| Description |
Clears all resource | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsResourceQuery | ||
| Description |
Tests if a | ||
| Return | boolean | true if a resource query is available, false
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getResourceQuery | ||
| Description |
Gets the query for the resource. Each retrieval
performs a boolean | ||
| Parameters | boolean | match | true if for a positive match, false for a
negative match |
| Return | osid.resource.ResourceQuery | the resource query | |
| Errors | UNIMPLEMENTED | supportsResourceQuery() is false | |
| Compliance | optional | This method must be implemented if supportsResourceQuery() is
true. | |
| Method | matchAnyResource | ||
| Description |
Match any associated resource. | ||
| Parameters | boolean | match | true to match any resource, false to match no
resources |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearResourceTerms | ||
| Description |
Clears all resource terms. | ||
| Compliance | mandatory | This method must be implemented. | |