public interface ProcessQuery extends OsidCatalogQuery
This is the query for searching processes. Each method specifies an
AND term while multiple invocations of the same method
produce a nested OR.
| Modifier and Type | Method and Description |
|---|---|
void |
clearAncestorProcessIdTerms()
Clears the ancestor process
Id terms. |
void |
clearAncestorProcessTerms()
Clears the ancestor process terms.
|
void |
clearDescendantProcessIdTerms()
Clears the descendant process
Id terms. |
void |
clearDescendantProcessTerms()
Clears the descendant process terms.
|
void |
clearStateIdTerms()
Clears the state
Id terms. |
void |
clearStateTerms()
Clears the state terms.
|
ProcessQuery |
getAncestorProcessQuery()
Gets the query for a process.
|
ProcessQuery |
getDescendantProcessQuery()
Gets the query for a process.
|
ProcessQueryRecord |
getProcessQueryRecord(Type processRecordType)
Gets the process query record corresponding to the given
Process record Type. |
StateQuery |
getStateQuery()
Gets the query for a state.
|
void |
matchAncestorProcessId(Id processId,
boolean match)
Sets the process
Id for this query to match processes
that have the specified process as an ancestor. |
void |
matchAnyAncestorProcess(boolean match)
Matches processes with any ancestor.
|
void |
matchAnyDescendantProcess(boolean match)
Matches processes with any descendant.
|
void |
matchAnyState(boolean match)
Matches processes with any states.
|
void |
matchDescendantProcessId(Id processId,
boolean match)
Sets the process
Id for this query to match that have
the specified process as a descendant. |
void |
matchStateId(Id stateId,
boolean match)
Sets the state
Id for this query. |
boolean |
supportsAncestorProcessQuery()
Tests if a
ProcessQuery is available. |
boolean |
supportsDescendantProcessQuery()
Tests if a
ProcessQuery is available. |
boolean |
supportsStateQuery()
Tests if a
StateQuery is available. |
clearCommentIdTerms, clearCommentTerms, clearCreditIdTerms, clearCreditTerms, clearDescriptionTerms, clearDisplayNameTerms, clearGenusTypeTerms, clearJournalEntryIdTerms, clearJournalEntryTerms, clearParentGenusTypeTerms, clearRelationshipIdTerms, clearRelationshipPeerIdTerms, clearRelationshipTerms, clearStatisticTerms, clearSubjectIdTerms, clearSubjectRelevancyTerms, clearSubjectTerms, getCommentQuery, getCreditQuery, getJournalEntryQuery, getRelationshipQuery, getStatisticQuery, getSubjectQuery, getSubjectRelevancyQuery, matchAnyComment, matchAnyCredit, matchAnyDescription, matchAnyDisplayName, matchAnyGenusType, matchAnyJournalEntry, matchAnyRelationship, matchAnyStatistic, matchAnySubject, matchCommentId, matchCreditId, matchDescription, matchDisplayName, matchGenusType, matchJournalEntryId, matchParentGenusType, matchRelationshipId, matchRelationshipPeerId, matchSubjectId, supportsCommentQuery, supportsCreditQuery, supportsJournalEntryQuery, supportsRelationshipQuery, supportsStatisticQuery, supportsSubjectQuery, supportsSubjectRelevancyQueryclearIdTerms, matchIdclearRecordTerms, matchAnyRecord, matchRecordTypegetRecordTypes, hasRecordTypeclearAnyTerms, clearKeywordTerms, getStringMatchTypes, matchAny, matchKeyword, supportsStringMatchTypeclearBrandingIdTerms, clearBrandingTerms, clearLicenseTerms, clearProviderIdTerms, clearProviderTerms, getBrandingQuery, getProviderQuery, matchAnyBranding, matchAnyLicense, matchAnyProvider, matchBrandingId, matchLicense, matchProviderId, supportsBrandingQuery, supportsProviderQueryvoid matchStateId(Id stateId, boolean match)
Id for this query.matchStateId in interface OsidObjectQuerystateId - a state Id match - true for a positive match, false
for a negative matchNullArgumentException - stateId is
null mandatory - This method must be implemented. void clearStateIdTerms()
Id terms.clearStateIdTerms in interface OsidObjectQuerymandatory - This method must be implemented. boolean supportsStateQuery()
StateQuery is available.supportsStateQuery in interface OsidObjectQuery true if a state query is available,
false otherwisemandatory - This method must be implemented. StateQuery getStateQuery()
OR term.getStateQuery in interface OsidObjectQueryUnimplementedException - supportsStateQuery()
is false optional - This method must be implemented if
supportsStateQuery() is true. void matchAnyState(boolean match)
matchAnyState in interface OsidObjectQuerymatch - true to match processes with any states,
false to match processes with no statesmandatory - This method must be implemented. void clearStateTerms()
clearStateTerms in interface OsidObjectQuerymandatory - This method must be implemented. void matchAncestorProcessId(Id processId, boolean match)
Id for this query to match processes
that have the specified process as an ancestor.processId - a process Id match - true for a positive match, false
for a negative matchNullArgumentException - processId is
null mandatory - This method must be implemented. void clearAncestorProcessIdTerms()
Id terms.mandatory - This method must be implemented. boolean supportsAncestorProcessQuery()
ProcessQuery is available. true if a process query is available,
false otherwisemandatory - This method must be implemented. ProcessQuery getAncestorProcessQuery()
OR term.UnimplementedException -
supportsAncestorProcessQuery() is false optional - This method must be implemented if
supportsAncestorProcessQuery() is true.
void matchAnyAncestorProcess(boolean match)
match - true to match process with any ancestor,
false to match root processesmandatory - This method must be implemented. void clearAncestorProcessTerms()
mandatory - This method must be implemented. void matchDescendantProcessId(Id processId, boolean match)
Id for this query to match that have
the specified process as a descendant.processId - a process Id match - true for a positive match, false
for a negative matchNullArgumentException - processId is
null mandatory - This method must be implemented. void clearDescendantProcessIdTerms()
Id terms.mandatory - This method must be implemented. boolean supportsDescendantProcessQuery()
ProcessQuery is available. true if a process query is available,
false otherwisemandatory - This method must be implemented. ProcessQuery getDescendantProcessQuery()
OR term.UnimplementedException -
supportsDescendantProcessQuery() is false
optional - This method must be implemented if
supportsDescendantProcessQuery() is true.
void matchAnyDescendantProcess(boolean match)
match - true to match process with any
descendant, false to match leaf processesmandatory - This method must be implemented. void clearDescendantProcessTerms()
mandatory - This method must be implemented. ProcessQueryRecord getProcessQueryRecord(Type processRecordType) throws OperationFailedException
Process record Type. Multiple retrievals
produce a nested OR term.processRecordType - a process record typeNullArgumentException - processRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(processRecordType) is false
mandatory - This method must be implemented.