| Interface | osid.process.ProcessQuery | ||
|---|---|---|---|
| Implements | osid.OsidCatalogQuery | ||
| Description |
This is the query for searching processes. Each method
specifies an | ||
| Method | matchStateId | ||
| Description |
Sets the state | ||
| Parameters | osid.id.Id | stateId | a state Id |
boolean | match | true for a positive match, false for a
negative match | |
| Errors | NULL_ARGUMENT | stateId is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearStateIdTerms | ||
| Description |
Clears the state | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsStateQuery | ||
| Description |
Tests if a | ||
| Return | boolean | true if a state query is available, false
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getStateQuery | ||
| Description |
Gets the query for a state. Multiple retrievals produce
a nested | ||
| Return | osid.process.StateQuery | the state query | |
| Errors | UNIMPLEMENTED | supportsStateQuery() is false | |
| Compliance | optional | This method must be implemented if supportsStateQuery() is
true. | |
| Method | matchAnyState | ||
| Description |
Matches processes with any states. | ||
| Parameters | boolean | match | true to match processes with any states, false
to match processes with no states |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearStateTerms | ||
| Description |
Clears the state terms. | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | matchAncestorProcessId | ||
| Description |
Sets the process | ||
| Parameters | osid.id.Id | processId | a process Id |
boolean | match | true for a positive match, false for a
negative match | |
| Errors | NULL_ARGUMENT | processId is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearAncestorProcessIdTerms | ||
| Description |
Clears the ancestor process | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsAncestorProcessQuery | ||
| Description |
Tests if a | ||
| Return | boolean | true if a process query is available, false
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAncestorProcessQuery | ||
| Description |
Gets the query for a process. Multiple retrievals
produce a nested | ||
| Return | osid.process.ProcessQuery | the process query | |
| Errors | UNIMPLEMENTED | supportsAncestorProcessQuery() is false | |
| Compliance | optional | This method must be implemented if supportsAncestorProcessQuery()
is true. | |
| Method | matchAnyAncestorProcess | ||
| Description |
Matches processes with any ancestor. | ||
| Parameters | boolean | match | true to match process with any ancestor, false
to match root processes |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearAncestorProcessTerms | ||
| Description |
Clears the ancestor process terms. | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | matchDescendantProcessId | ||
| Description |
Sets the process | ||
| Parameters | osid.id.Id | processId | a process Id |
boolean | match | true for a positive match, false for a
negative match | |
| Errors | NULL_ARGUMENT | processId is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearDescendantProcessIdTerms | ||
| Description |
Clears the descendant process | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsDescendantProcessQuery | ||
| Description |
Tests if a | ||
| Return | boolean | true if a process query is available, false
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getDescendantProcessQuery | ||
| Description |
Gets the query for a process. Multiple retrievals
produce a nested | ||
| Return | osid.process.ProcessQuery | the process query | |
| Errors | UNIMPLEMENTED | supportsDescendantProcessQuery() is false | |
| Compliance | optional | This method must be implemented if supportsDescendantProcessQuery()
is true. | |
| Method | matchAnyDescendantProcess | ||
| Description |
Matches processes with any descendant. | ||
| Parameters | boolean | match | true to match process with any descendant, false
to match leaf processes |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearDescendantProcessTerms | ||
| Description |
Clears the descendant process terms. | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getProcessQueryRecord | ||
| Description |
Gets the process query record corresponding to the
given | ||
| Parameters | osid.type.Type | processRecordType | a process record type |
| Return | osid.process.records.ProcessQueryRecord | the process query record | |
| Errors | NULL_ARGUMENT | processRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED | hasRecordType(processRecordType) is false | ||
| Compliance | mandatory | This method must be implemented. | |