public interface StateQuery extends OsidObjectQuery
This is the query for searching states. Each method specifies an
AND
term while multiple invocations of the same method produce a
nested OR.
Modifier and Type | Method and Description |
---|---|
void |
clearProcessIdTerms()
Clears the process
Id terms. |
void |
clearProcessTerms()
Clears the process terms.
|
ProcessQuery |
getProcessQuery()
Gets the query for a process.
|
StateQueryRecord |
getStateQueryRecord(Type stateRecordType)
Gets the state query record corresponding to the given
State
record Type. |
void |
matchProcessId(Id processId,
boolean match)
Sets the process
Id for this query. |
boolean |
supportsProcessQuery()
Tests if a
ProcessQuery is available. |
clearCommentIdTerms, clearCommentTerms, clearCreditIdTerms, clearCreditTerms, clearDescriptionTerms, clearDisplayNameTerms, clearGenusTypeTerms, clearJournalEntryIdTerms, clearJournalEntryTerms, clearParentGenusTypeTerms, clearRelationshipIdTerms, clearRelationshipPeerIdTerms, clearRelationshipTerms, clearStateIdTerms, clearStateTerms, clearStatisticTerms, clearSubjectIdTerms, clearSubjectRelevancyTerms, clearSubjectTerms, getCommentQuery, getCreditQuery, getJournalEntryQuery, getRelationshipQuery, getStateQuery, getStatisticQuery, getSubjectQuery, getSubjectRelevancyQuery, matchAnyComment, matchAnyCredit, matchAnyDescription, matchAnyDisplayName, matchAnyGenusType, matchAnyJournalEntry, matchAnyRelationship, matchAnyState, matchAnyStatistic, matchAnySubject, matchCommentId, matchCreditId, matchDescription, matchDisplayName, matchGenusType, matchJournalEntryId, matchParentGenusType, matchRelationshipId, matchRelationshipPeerId, matchStateId, matchSubjectId, supportsCommentQuery, supportsCreditQuery, supportsJournalEntryQuery, supportsRelationshipQuery, supportsStateQuery, supportsStatisticQuery, supportsSubjectQuery, supportsSubjectRelevancyQuery
clearIdTerms, matchId
clearRecordTerms, matchAnyRecord, matchRecordType
getRecordTypes, hasRecordType
clearAnyTerms, clearKeywordTerms, getStringMatchTypes, matchAny, matchKeyword, supportsStringMatchType
void matchProcessId(Id processId, boolean match)
Id
for this query.processId
- the process Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- processId
is
null
mandatory
- This method must be implemented. void clearProcessIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsProcessQuery()
ProcessQuery
is available. true
if a process query is available,
false
otherwisemandatory
- This method must be implemented. ProcessQuery getProcessQuery()
OR
term.UnimplementedException
- supportsProcessQuery()
is false
optional
- This method must be implemented if
supportsProcessQuery()
is true.
void clearProcessTerms()
mandatory
- This method must be implemented. StateQueryRecord getStateQueryRecord(Type stateRecordType) throws OperationFailedException
State
record Type.
Multiple retrievals produce a
nested OR
term.stateRecordType
- a state record typeNullArgumentException
- stateRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(stateRecordType)
is false
mandatory
- This method must be implemented.