public interface FrontOfficeQuery extends OsidCatalogQuery
This is the query for searching front offices. 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 |
clearAncestorFrontOfficeIdTerms()
Clears the ancestor front office
Id query terms. |
void |
clearAncestorFrontOfficeTerms()
Clears the ancestor front office query terms.
|
void |
clearDescendantFrontOfficeIdTerms()
Clears the descendant front office
Id query terms. |
void |
clearDescendantFrontOfficeTerms()
Clears the descendant front office query terms.
|
void |
clearIssueIdTerms()
Clears the issue
Id query terms. |
void |
clearIssueTerms()
Clears the issue query terms.
|
void |
clearQueueIdTerms()
Clears the queue query terms.
|
void |
clearQueueTerms()
Clears the queue query terms.
|
FrontOfficeQuery |
getAncestorFrontOfficeQuery()
Gets the query for a frontOffice/ Multiple retrievals produce a nested
OR term. |
FrontOfficeQuery |
getDescendantFrontOfficeQuery()
Gets the query for a frontOffice/ Multiple retrievals produce a nested
OR term. |
FrontOfficeQueryRecord |
getFrontOfficeQueryRecord(Type frontOfficeRecordType)
Gets the front office query record corresponding to the given
FrontOffice record Type. |
IssueQuery |
getIssueQuery()
Gets the query for a issue.
|
QueueQuery |
getQueueQuery()
Gets the query for a queue.
|
void |
matchAncestorFrontOfficeId(Id frontOfficeId,
boolean match)
Sets the front office
Id for this query to match front
offices that have the specified front office as an ancestor. |
void |
matchAnyAncestorFrontOffice(boolean match)
Matches front offices with any ancestor.
|
void |
matchAnyDescendantFrontOffice(boolean match)
Matches front offices with any descendant.
|
void |
matchAnyIssue(boolean match)
Matches front offices that have any issue.
|
void |
matchAnyQueue(boolean match)
Matches front offices that have any queue.
|
void |
matchDescendantFrontOfficeId(Id frontOfficeId,
boolean match)
Sets the front office
Id for this query to match front
offices that have the specified front office as a descendant. |
void |
matchIssueId(Id issueId,
boolean match)
Sets the issue
Id for this query to match front offices
that have a related issue. |
void |
matchQueueId(Id queueId,
boolean match)
Sets the effort
Id for this query to match front
offices containing queues. |
boolean |
supportsAncestorFrontOfficeQuery()
Tests if a
FrontOfficeQuery is available. |
boolean |
supportsDescendantFrontOfficeQuery()
Tests if a
FrontOfficeQuery is available. |
boolean |
supportsIssueQuery()
Tests if a
IssueQuery is available. |
boolean |
supportsQueueQuery()
Tests if a
QueueQuery 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
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 front offices
that have a related issue.issueId
- a issue Id
match
- true
if 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 front offices with any
issue, false
to match front offices with no
issuemandatory
- This method must be implemented. void clearIssueTerms()
mandatory
- This method must be implemented. void matchQueueId(Id queueId, boolean match)
Id
for this query to match front
offices containing queues.queueId
- the queue Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- queueId
is
null
mandatory
- This method must be implemented. void clearQueueIdTerms()
mandatory
- This method must be implemented. boolean supportsQueueQuery()
QueueQuery
is available. true
if a queue query is available,
false
otherwisemandatory
- This method must be implemented. QueueQuery getQueueQuery()
OR
term.UnimplementedException
- supportsQueueQuery()
is false
optional
- This method must be implemented if
supportsQueueQuery()
is true.
void matchAnyQueue(boolean match)
match
- true
to match front offices with any
queue, false
to match front offices with no
queuemandatory
- This method must be implemented. void clearQueueTerms()
mandatory
- This method must be implemented. void matchAncestorFrontOfficeId(Id frontOfficeId, boolean match)
Id
for this query to match front
offices that have the specified front office as an ancestor.frontOfficeId
- a front office Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- frontOfficeId
is
null
mandatory
- This method must be implemented. void clearAncestorFrontOfficeIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsAncestorFrontOfficeQuery()
FrontOfficeQuery
is available. true
if a front office query is available,
false
otherwisemandatory
- This method must be implemented. FrontOfficeQuery getAncestorFrontOfficeQuery()
OR
term.UnimplementedException
-
supportsAncestorFrontOfficeQuery()
is false
optional
- This method must be implemented if
supportsAncestorFrontOfficeQuery()
is true.
void matchAnyAncestorFrontOffice(boolean match)
match
- true
to match front offices with any
ancestor, false
to match root frontOfficesmandatory
- This method must be implemented. void clearAncestorFrontOfficeTerms()
mandatory
- This method must be implemented. void matchDescendantFrontOfficeId(Id frontOfficeId, boolean match)
Id
for this query to match front
offices that have the specified front office as a descendant.frontOfficeId
- a front office Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- frontOfficeId
is
null
mandatory
- This method must be implemented. void clearDescendantFrontOfficeIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsDescendantFrontOfficeQuery()
FrontOfficeQuery
is available. true
if a front office query is available,
false
otherwisemandatory
- This method must be implemented. FrontOfficeQuery getDescendantFrontOfficeQuery()
OR
term.UnimplementedException
-
supportsDescendantFrontOfficeQuery()
is false
optional
- This method must be implemented if
supportsDescendantFrontOfficeQuery()
is
true.
void matchAnyDescendantFrontOffice(boolean match)
match
- true
to match front offices with any
descendant, false
to match leaf frontOfficesmandatory
- This method must be implemented. void clearDescendantFrontOfficeTerms()
mandatory
- This method must be implemented. FrontOfficeQueryRecord getFrontOfficeQueryRecord(Type frontOfficeRecordType) throws OperationFailedException
FrontOffice
record Type.
Multiple record
retrievals produce a nested OR
term.frontOfficeRecordType
- a front office record typeNullArgumentException
- frontOfficeRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(frontOfficeRecordType)
is false
mandatory
- This method must be implemented.