public interface CatalogEnablerQuery extends OsidEnablerQuery
This is the query for searching catalog enablers. 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 |
clearCatalogIdTerms()
Clears the catalog
Id query terms. |
void |
clearCatalogTerms()
Clears the catalog query terms.
|
void |
clearRuledCatalogIdTerms()
Clears the catalog
Id query terms. |
void |
clearRuledCatalogTerms()
Clears the catalog query terms.
|
CatalogEnablerQueryRecord |
getCatalogEnablerQueryRecord(Type catalogEnablerRecordType)
Gets the catalog enabler query record corresponding to the given
CatalogEnabler record Type. |
CatalogQuery |
getCatalogQuery()
Gets the query for a catalog.
|
CatalogQuery |
getRuledCatalogQuery()
Gets the query for a catalog.
|
void |
matchAnyRuledCatalog(boolean match)
Matches enablers mapped to any catalog.
|
void |
matchCatalogId(Id catalogId,
boolean match)
Matches enablers mapped to the catalog.
|
void |
matchRuledCatalogId(Id catalogId,
boolean match)
Matches enablers mapped to the catalog.
|
boolean |
supportsCatalogQuery()
Tests if a
CatalogQuery is available. |
boolean |
supportsRuledCatalogQuery()
Tests if a
CatalogQuery is available. |
clearCyclicEventIdTerms, clearCyclicEventTerms, clearDemographicIdTerms, clearDemographicTerms, clearEventIdTerms, clearEventTerms, clearScheduleIdTerms, clearScheduleTerms, getCyclicEventQuery, getDemographicQuery, getEventQuery, getScheduleQuery, matchAnyCyclicEvent, matchAnyDemographic, matchAnyEvent, matchAnySchedule, matchCyclicEventId, matchDemographicId, matchEventId, matchScheduleId, supportsCyclicEventQuery, supportsDemographicQuery, supportsEventQuery, supportsScheduleQuery
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
clearDateTerms, clearEffectiveTerms, clearEndDateTerms, clearStartDateTerms, matchAnyEndDate, matchAnyStartDate, matchDate, matchEffective, matchEndDate, matchStartDate
void matchRuledCatalogId(Id catalogId, boolean match)
catalogId
- the catalog Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- catalogId
is
null
mandatory
- This method must be implemented. void clearRuledCatalogIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsRuledCatalogQuery()
CatalogQuery
is available. true
if a catalog query is available,
false
otherwisemandatory
- This method must be implemented. CatalogQuery getRuledCatalogQuery()
OR
term.UnimplementedException
-
supportsRuledCatalogQuery()
is false
optional
- This method must be implemented if
supportsRuledCatalogQuery()
is true.
void matchAnyRuledCatalog(boolean match)
match
- true
for enablers mapped to any catalog,
false
to match enablers mapped to no catalogmandatory
- This method must be implemented. void clearRuledCatalogTerms()
mandatory
- This method must be implemented. void matchCatalogId(Id catalogId, boolean match)
catalogId
- the catalog Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- catalogId
is
null
mandatory
- This method must be implemented. void clearCatalogIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsCatalogQuery()
CatalogQuery
is available. true
if a catalog query is available,
false
otherwisemandatory
- This method must be implemented. CatalogQuery getCatalogQuery()
OR
term.UnimplementedException
- supportsCatalogQuery()
is false
optional
- This method must be implemented if
supportsCatalogQuery()
is true.
void clearCatalogTerms()
mandatory
- This method must be implemented. CatalogEnablerQueryRecord getCatalogEnablerQueryRecord(Type catalogEnablerRecordType) throws OperationFailedException
CatalogEnabler
record Type.
Multiple
record retrievals produce a nested OR
term.catalogEnablerRecordType
- a catalog enabler record typeNullArgumentException
- catalogEnablerRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(catalogEnablerRecordType)
is
false
mandatory
- This method must be implemented.