public interface PoolConstrainerQuery extends OsidConstrainerQuery
This is the query for searching pool constrainers. 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 |
clearDistributorIdTerms()
Clears the distributor
Id query terms. |
void |
clearDistributorTerms()
Clears the distributor query terms.
|
void |
clearRuledPoolIdTerms()
Clears the pool
Id query terms. |
void |
clearRuledPoolTerms()
Clears the pool query terms.
|
DistributorQuery |
getDistributorQuery()
Gets the query for a distributor.
|
PoolConstrainerQueryRecord |
getPoolConstrainerQueryRecord(Type poolConstrainerRecordType)
Gets the pool constrainer query record corresponding to the given
PoolConstrainer record Type. |
PoolQuery |
getRuledPoolQuery()
Gets the query for a pool.
|
void |
matchAnyRuledPool(boolean match)
Matches mapped to any pool.
|
void |
matchDistributorId(Id distributorId,
boolean match)
Matches mapped to the distributor.
|
void |
matchRuledPoolId(Id distributorId,
boolean match)
Matches mapped to a pool.
|
boolean |
supportsDistributorQuery()
Tests if a
DistributorQuery is available. |
boolean |
supportsRuledPoolQuery()
Tests if a
PoolQuery is available. |
clearRuleIdTerms, clearRuleTerms, getRuleQuery, matchAnyRule, matchRuleId, supportsRuleQueryclearCommentIdTerms, 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, supportsSubjectRelevancyQueryclearIdTerms, matchIdclearRecordTerms, matchAnyRecord, matchRecordTypegetRecordTypes, hasRecordTypeclearAnyTerms, clearKeywordTerms, getStringMatchTypes, matchAny, matchKeyword, supportsStringMatchTypeclearActiveTerms, clearDisabledTerms, clearEnabledTerms, clearOperationalTerms, matchActive, matchDisabled, matchEnabled, matchOperationalvoid matchRuledPoolId(Id distributorId, boolean match)
distributorId - the pool Id match - true for a positive match, false
for a negative matchNullArgumentException - distributorId is
null mandatory - This method must be implemented. void clearRuledPoolIdTerms()
Id query terms.mandatory - This method must be implemented. boolean supportsRuledPoolQuery()
PoolQuery is available. true if a pool query is available, false
otherwisemandatory - This method must be implemented. PoolQuery getRuledPoolQuery()
OR term.UnimplementedException -
supportsRuledPoolQuery() is false optional - This method must be implemented if
supportsRuledPoolQuery() is true. void matchAnyRuledPool(boolean match)
match - true for mapped to any pool, false
to match mapped to no poolsmandatory - This method must be implemented. void clearRuledPoolTerms()
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. PoolConstrainerQueryRecord getPoolConstrainerQueryRecord(Type poolConstrainerRecordType) throws OperationFailedException
PoolConstrainer record Type. Multiple
record retrievals produce a nested OR term.poolConstrainerRecordType - a pool constrainer record typeNullArgumentException -
poolConstrainerRecordType is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(poolConstrainerRecordType) is
false mandatory - This method must be implemented.