public interface QueueConstrainerQuery extends OsidConstrainerQuery
This is the query for searching queue constrainers. Each method match
specifies a AND
term while multiple invocations of the same
method produce a nested OR.
Modifier and Type | Method and Description |
---|---|
void |
clearDistributorIdTerms()
Clears the distributor
Id query terms. |
void |
clearDistributorTerms()
Clears the distributor query terms.
|
void |
clearRequiredProvisionPoolIdTerms()
Clears the required provision pool
Id query terms. |
void |
clearRequiredProvisionPoolTerms()
Clears the required provision pool query terms.
|
void |
clearRequiresProvisionsTerms()
Clears the requires provisions query terms.
|
void |
clearRuledQueueIdTerms()
Clears the queue
Id query terms. |
void |
clearRuledQueueTerms()
Clears the queue query terms.
|
void |
clearSizeLimitTerms()
Clears the size limit query terms.
|
DistributorQuery |
getDistributorQuery()
Gets the query for a distributor.
|
QueueConstrainerQueryRecord |
getQueueConstrainerQueryRecord(Type queueConstrainerRecordType)
Gets the queue constrainer query record corresponding to the given
QueueConstrainer record Type. |
PoolQuery |
getRequiredProvisionPoolQuery()
Gets the query for a
Pool. |
QueueQuery |
getRuledQueueQuery()
Gets the query for a queue.
|
void |
matchAnyRequiredProvisionPool(boolean match)
Matches queues that have any required provision pool.
|
void |
matchAnyRuledQueue(boolean match)
Matches mapped to any queue.
|
void |
matchAnySizeLimit(boolean match)
Matches queues with any known size limit.
|
void |
matchDistributorId(Id distributorId,
boolean match)
Matches mapped to the distributor.
|
void |
matchRequiredProvisionPoolId(Id poolId,
boolean match)
Sets the required provision pool
Id for this query. |
void |
matchRequiresProvisions(boolean match)
Matches constraints that require provisions.
|
void |
matchRuledQueueId(Id queueId,
boolean match)
Matches mapped to a queue.
|
void |
matchSizeLimit(long start,
long end,
boolean match)
Matches queues of the given size limit inclusive.
|
boolean |
supportsDistributorQuery()
Tests if a
DistributorQuery is available. |
boolean |
supportsRequiredProvisionPoolQuery()
Tests if a
PoolQuery is available. |
boolean |
supportsRuledQueueQuery()
Tests if a
QueueQuery is available. |
clearRuleIdTerms, clearRuleTerms, getRuleQuery, matchAnyRule, matchRuleId, supportsRuleQuery
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
void matchSizeLimit(long start, long end, boolean match)
start
- start of rangeend
- end of rangematch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- start
is
greater than end
mandatory
- This method must be implemented. void matchAnySizeLimit(boolean match)
match
- true
for a positive match, false
for a negative matchmandatory
- This method must be implemented. void clearSizeLimitTerms()
mandatory
- This method must be implemented. void matchRequiresProvisions(boolean match)
match
- true
for a positive match, false
for a negative matchmandatory
- This method must be implemented. void clearRequiresProvisionsTerms()
mandatory
- This method must be implemented. void matchRequiredProvisionPoolId(Id poolId, boolean match)
Id
for this query.poolId
- a pool Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- poolId
is
null
mandatory
- This method must be implemented. void clearRequiredProvisionPoolIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsRequiredProvisionPoolQuery()
PoolQuery
is available. true
if a required provision pool query is
available, false
otherwisemandatory
- This method must be implemented. PoolQuery getRequiredProvisionPoolQuery()
Pool.
Multiple retrievals produce
a nested OR
term.UnimplementedException
-
supportsRequiredProvisionPoolQuery()
is false
optional
- This method must be implemented if
supportsRequiredProvisionPoolQuery()
is
true.
void matchAnyRequiredProvisionPool(boolean match)
match
- true
to match queues with any required
provision pool, false
to match queues with no
required provision poolmandatory
- This method must be implemented. void clearRequiredProvisionPoolTerms()
mandatory
- This method must be implemented. void matchRuledQueueId(Id queueId, boolean match)
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 clearRuledQueueIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsRuledQueueQuery()
QueueQuery
is available. true
if a queue query is available,
false
otherwisemandatory
- This method must be implemented. QueueQuery getRuledQueueQuery()
OR
term.UnimplementedException
-
supportsRuledQueueQuery()
is false
optional
- This method must be implemented if
supportsRuledQueueQuery()
is true.
void matchAnyRuledQueue(boolean match)
match
- true
for mapped to any queue,
false
to match mapped to no queuesmandatory
- This method must be implemented. void clearRuledQueueTerms()
mandatory
- This method must be implemented. void matchDistributorId(Id distributorId, boolean match)
distributorId
- the distributor Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- distributorId
is
null
mandatory
- This method must be implemented. void clearDistributorIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsDistributorQuery()
DistributorQuery
is available. true
if a distributor query is available,
false
otherwisemandatory
- This method must be implemented. DistributorQuery getDistributorQuery()
OR
term.UnimplementedException
-
supportsDistributorQuery()
is false
optional
- This method must be implemented if
supportsDistributorQuery()
is true.
void clearDistributorTerms()
mandatory
- This method must be implemented. QueueConstrainerQueryRecord getQueueConstrainerQueryRecord(Type queueConstrainerRecordType) throws OperationFailedException
QueueConstrainer
record Type.
Multiple
record retrievals produce a nested OR
term.queueConstrainerRecordType
- a queue constrainer record typeNullArgumentException
-
queueConstrainerRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(queueConstrainerRecordType)
is
false
mandatory
- This method must be implemented.