public interface QueueQuery extends OsidGovernatorQuery
This is the query for searching queues. 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 |
clearFrontOfficeIdTerms()
Clears the front office
Id query terms. |
void |
clearFrontOfficeTerms()
Clears the front office query terms.
|
void |
clearIssueIdTerms()
Clears the issue
Id query terms. |
void |
clearIssueTerms()
Clears the issue query terms.
|
FrontOfficeQuery |
getFrontOfficeQuery()
Gets the query for a front office.
|
IssueQuery |
getIssueQuery()
Gets the query for a issue.
|
QueueQueryRecord |
getQueueQueryRecord(Type queueRecordType)
Gets the queue query record corresponding to the given
Queue
record Type. |
void |
matchAnyIssue(boolean match)
Matches log entries that go through any issue.
|
void |
matchFrontOfficeId(Id frontOfficeId,
boolean match)
Sets the front office
Id for this query to match queues
assigned to front offices. |
void |
matchIssueId(Id issueId,
boolean match)
Sets the issue
Id for this query to match queues that
pass through issues. |
boolean |
supportsFrontOfficeQuery()
Tests if a
FrontOfficeQuery is available. |
boolean |
supportsIssueQuery()
Tests if a
IssueQuery 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
clearActiveTerms, clearDisabledTerms, clearEnabledTerms, clearOperationalTerms, matchActive, matchDisabled, matchEnabled, matchOperational
clearBrandingIdTerms, clearBrandingTerms, clearLicenseTerms, clearProviderIdTerms, clearProviderTerms, getBrandingQuery, getProviderQuery, matchAnyBranding, matchAnyLicense, matchAnyProvider, matchBrandingId, matchLicense, matchProviderId, supportsBrandingQuery, supportsProviderQuery
void matchIssueId(Id issueId, boolean match)
Id
for this query to match queues that
pass through issues.issueId
- the issue Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- issueId
is
null
mandatory
- This method must be implemented. void clearIssueIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsIssueQuery()
IssueQuery
is available. true
if a issue query is available,
false
otherwisemandatory
- This method must be implemented. IssueQuery getIssueQuery()
OR
term.UnimplementedException
- supportsIssueQuery()
is false
optional
- This method must be implemented if
supportsIssueQuery()
is true.
void matchAnyIssue(boolean match)
match
- true
to match log entries with any issue,
false
to match log entries with no issuemandatory
- This method must be implemented. void clearIssueTerms()
mandatory
- This method must be implemented. void matchFrontOfficeId(Id frontOfficeId, boolean match)
Id
for this query to match queues
assigned to front offices.frontOfficeId
- the front office Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- frontOfficeId
is
null
mandatory
- This method must be implemented. void clearFrontOfficeIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsFrontOfficeQuery()
FrontOfficeQuery
is available. true
if a front office query is available,
false
otherwisemandatory
- This method must be implemented. FrontOfficeQuery getFrontOfficeQuery()
OR
term.UnimplementedException
-
supportsFrontOfficeQuery()
is false
optional
- This method must be implemented if
supportsFrontOfficeQuery()
is true.
void clearFrontOfficeTerms()
mandatory
- This method must be implemented. QueueQueryRecord getQueueQueryRecord(Type queueRecordType) throws OperationFailedException
Queue
record Type.
Multiple record retrievals produce
a nested OR
term.queueRecordType
- a queue record typeNullArgumentException
- queueRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(queueRecordType)
is false
mandatory
- This method must be implemented.