| Interface | osid.hold.BlockQuery | ||
|---|---|---|---|
| Implements | osid.OsidObjectQuery | ||
| Used By | osid.hold.BlockQuerySession | ||
osid.hold.BlockSearchSession | |||
osid.hold.BlockSmartOublietteSession | |||
osid.hold.IssueQuery | |||
osid.hold.OublietteQuery | |||
osid.rules.check.CheckQuery | |||
| Description |
This is the query for searching blocks. Each method match
specifies an | ||
| Method | matchIssueId | ||
| Description |
Sets the issue | ||
| Parameters | osid.id.Id | issueId | the issue Id |
boolean | match | true for a positive match, false for a negative
match | |
| Errors | NULL_ARGUMENT | issueId is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearIssueIdTerms | ||
| Description |
Clears the issue | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsIssueQuery | ||
| Description |
Tests if an | ||
| Return | boolean | true if an issue query is available, false
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getIssueQuery | ||
| Description |
Gets the query for an issue. Multiple retrievals
produce a nested | ||
| Return | osid.hold.IssueQuery | the issue query | |
| Errors | UNIMPLEMENTED | supportsIssueQuery() is false | |
| Compliance | optional | This method must be implemented if supportsIssueQuery() is
true . | |
| Method | matchAnyIssue | ||
| Description |
Matches blocks that have any issue. | ||
| Parameters | boolean | match | true to match blocks with any issue, false to
match blocks with no issue |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearIssueTerms | ||
| Description |
Clears the issue query terms. | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | matchOublietteId | ||
| Description |
Sets the oubliette | ||
| Parameters | osid.id.Id | oublietteId | the oubliette Id |
boolean | match | true for a positive match, false for a negative
match | |
| Errors | NULL_ARGUMENT | oublietteId is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearOublietteIdTerms | ||
| Description |
Clears the oubliette | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsOublietteQuery | ||
| Description |
Tests if an | ||
| Return | boolean | true if an oubliette query is available, false
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getOublietteQuery | ||
| Description |
Gets the query for an oubliette. Multiple retrievals
produce a nested | ||
| Return | osid.hold.OublietteQuery | the oubliette query | |
| Errors | UNIMPLEMENTED | supportsOublietteQuery() is false | |
| Compliance | optional | This method must be implemented if supportsOublietteQuery() is
true . | |
| Method | clearOublietteTerms | ||
| Description |
Clears the oubliette query terms. | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getBlockQueryRecord | ||
| Description |
Gets the block query record corresponding to the given
| ||
| Parameters | osid.type.Type | blockRecordType | a block record type |
| Return | osid.hold.records.BlockQueryRecord | the block query record | |
| Errors | NULL_ARGUMENT | blockRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| UNSUPPORTED | hasRecordType(blockRecordType) is false | ||
| Compliance | mandatory | This method must be implemented. | |