public interface IssueQuery extends OsidObjectQuery
This is the query for searching issues. Each method match specifies an
AND
term while multiple invocations of the same method
produce a nested OR.
Modifier and Type | Method and Description |
---|---|
void |
clearBlockIdTerms()
Clears the block
Id query terms. |
void |
clearBlockTerms()
Clears the block query terms.
|
void |
clearBureauIdTerms()
Clears the resource
Id query terms. |
void |
clearBureauTerms()
Clears the resource query terms.
|
void |
clearHoldIdTerms()
Clears the hold
Id query terms. |
void |
clearHoldTerms()
Clears the hold query terms.
|
void |
clearOublietteIdTerms()
Clears the oubliette
Id query terms. |
void |
clearOublietteTerms()
Clears the oubliette query terms.
|
BlockQuery |
getBlockQuery()
Gets the query for a block.
|
ResourceQuery |
getBureauQuery()
Gets the query for a resource.
|
HoldQuery |
getHoldQuery()
Gets the query for a hold.
|
IssueQueryRecord |
getIssueQueryRecord(Type issueRecordType)
Gets the issue query record corresponding to the given
Issue
record Type. |
OublietteQuery |
getOublietteQuery()
Gets the query for an oubliette.
|
void |
matchAnyBlock(boolean match)
Matches issues used for any block.
|
void |
matchAnyHold(boolean match)
Matches issues referenced by any hold.
|
void |
matchBlockId(Id blockId,
boolean match)
Sets the block
Id for this query. |
void |
matchBureauId(Id resourceId,
boolean match)
Sets the resource
Id for this query. |
void |
matchHoldId(Id holdId,
boolean match)
Sets the hold
Id for this query. |
void |
matchOublietteId(Id oublietteId,
boolean match)
Sets the oubliette
Id for this query to match issues
assigned to foundries. |
boolean |
supportsBlockQuery()
Tests if a
BlockQuery is available. |
boolean |
supportsBureauQuery()
Tests if a
ResourceQuery is available. |
boolean |
supportsHoldQuery()
Tests if a
HoldQuery is available. |
boolean |
supportsOublietteQuery()
Tests if a
OublietteQuery 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 matchBureauId(Id resourceId, boolean match)
Id
for this query.resourceId
- the resource Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- resourceId
is
null
mandatory
- This method must be implemented. void clearBureauIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsBureauQuery()
ResourceQuery
is available. true
if a resource query is available,
false
otherwisemandatory
- This method must be implemented. ResourceQuery getBureauQuery()
OR
term.UnimplementedException
- supportsResourceQuery()
is false
optional
- This method must be implemented if
supportsResourceQuery()
is true.
void clearBureauTerms()
mandatory
- This method must be implemented. void matchBlockId(Id blockId, boolean match)
Id
for this query.blockId
- the block Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- blockId
is
null
mandatory
- This method must be implemented. void clearBlockIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsBlockQuery()
BlockQuery
is available. true
if a block query is available,
false
otherwisemandatory
- This method must be implemented. BlockQuery getBlockQuery()
OR
term.UnimplementedException
- supportsBlockQuery()
is false
optional
- This method must be implemented if
supportsBlockQuery()
is true.
void matchAnyBlock(boolean match)
match
- true
to match issues with any blocks,
false
to match issues with no blocksmandatory
- This method must be implemented. void clearBlockTerms()
mandatory
- This method must be implemented. void matchHoldId(Id holdId, boolean match)
Id
for this query.holdId
- the hold Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- holdId
is
null
mandatory
- This method must be implemented. void clearHoldIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsHoldQuery()
HoldQuery
is available. true
if a hold query is available, false
otherwisemandatory
- This method must be implemented. HoldQuery getHoldQuery()
OR
term.UnimplementedException
- supportsHoldQuery()
is false
optional
- This method must be implemented if
supportsHoldQuery()
is true.
void matchAnyHold(boolean match)
match
- true
to match issues with any holds,
false
to match issues with no holdsmandatory
- This method must be implemented. void clearHoldTerms()
mandatory
- This method must be implemented. void matchOublietteId(Id oublietteId, boolean match)
Id
for this query to match issues
assigned to foundries.oublietteId
- the oubliette Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- oublietteId
is
null
mandatory
- This method must be implemented. void clearOublietteIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsOublietteQuery()
OublietteQuery
is available. true
if an oubliette query is available,
false
otherwisemandatory
- This method must be implemented. OublietteQuery getOublietteQuery()
OR
term.UnimplementedException
-
supportsOublietteQuery()
is false
optional
- This method must be implemented if
supportsOublietteQuery()
is true.
void clearOublietteTerms()
mandatory
- This method must be implemented. IssueQueryRecord getIssueQueryRecord(Type issueRecordType) throws OperationFailedException, PermissionDeniedException
Issue
record Type.
Multiple record retrievals produce
a nested OR
term.issueRecordType
- an issue record typeNullArgumentException
- issueRecordType
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
-
hasRecordType(issueRecordType)
is false
mandatory
- This method must be implemented.