Interface ObstacleEnablerQuery
- All Superinterfaces:
Extensible, OsidBrowsableQuery, OsidEnablerQuery, OsidExtensibleQuery, OsidIdentifiableQuery, OsidObjectQuery, OsidOperableQuery, OsidQuery, OsidRuleQuery, OsidTemporalQuery, Suppliable
This is the query for searching obstacle enablers. Each method match
specifies an AND term while multiple invocations of the same
method produce a nested OR.
Like all OsidQueries, ObstacleEnablerQuery is stateful
and must not be accessed by multiple processing threads.
-
Method Summary
Modifier and TypeMethodDescriptionvoidClears the mapIdquery terms.voidClears the map query terms.voidClears the obstacleIdquery terms.voidClears the obstacle query terms.Gets the query for a map.getObstacleEnablerQueryRecord(Type obstacleEnablerRecordType) Gets the obstacle enabler query record corresponding to the givenObstacleEnablerrecordType.Gets the query for an obstacle.voidmatchAnyRuledObstacle(boolean match) Matches rules mapped to any obstacle.voidmatchMapId(Id mapId, boolean match) Matches enablers mapped to a map.voidmatchRuledObstacleId(Id obstacleId, boolean match) Matches enablers mapped to an obstacle.booleanTests if aMapQueryis available.booleanTests if anObstacleQueryis available.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeMethods inherited from interface OsidEnablerQuery
clearCyclicEventIdTerms, clearCyclicEventTerms, clearCyclicTimePeriodIdTerms, clearCyclicTimePeriodTerms, clearEventIdTerms, clearEventTerms, clearRequirementTerms, clearScheduleIdTerms, clearScheduleTerms, clearTimePeriodIdTerms, clearTimePeriodTerms, getCyclicEventQuery, getCyclicTimePeriodQuery, getEventQuery, getScheduleQuery, getTimePeriodQuery, matchAnyCyclicEvent, matchAnyCyclicTimePeriod, matchAnyEvent, matchAnyRequirement, matchAnySchedule, matchAnyTimePeriod, matchCyclicEventId, matchCyclicTimePeriodId, matchEventId, matchRequirement, matchScheduleId, matchTimePeriodId, supportsCyclicEventQuery, supportsCyclicTimePeriodQuery, supportsEventQuery, supportsScheduleQuery, supportsTimePeriodQueryMethods inherited from interface OsidExtensibleQuery
clearRecordTerms, matchAnyRecord, matchRecordTypeMethods inherited from interface OsidIdentifiableQuery
clearIdTerms, matchIdMethods inherited from interface OsidObjectQuery
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, supportsSubjectRelevancyQueryMethods inherited from interface OsidOperableQuery
clearActiveTerms, clearDisabledTerms, clearEnabledTerms, clearOperationalTerms, matchActive, matchDisabled, matchEnabled, matchOperationalMethods inherited from interface OsidQuery
clearAnyTerms, clearKeywordTerms, getStringMatchTypes, matchAny, matchKeyword, supportsStringMatchTypeMethods inherited from interface OsidRuleQuery
clearConditionRecordTypeTerms, clearRuleIdTerms, clearRuleTerms, getRuleQuery, matchAnyConditionRecordType, matchAnyRule, matchConditionRecordType, matchRuleId, supportsRuleQueryMethods inherited from interface OsidTemporalQuery
clearDateTerms, clearEffectiveTerms, clearEndDateTerms, clearStartDateTerms, matchAnyEndDate, matchAnyStartDate, matchDate, matchEffective, matchEndDate, matchStartDate
-
Method Details
-
matchRuledObstacleId
Matches enablers mapped to an obstacle.- Parameters:
obstacleId- the obstacleIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-obstacleIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearRuledObstacleIdTerms
void clearRuledObstacleIdTerms()Clears the obstacleIdquery terms.- Compliance:
mandatory- This method must be implemented.
-
supportsRuledObstacleQuery
boolean supportsRuledObstacleQuery()Tests if anObstacleQueryis available.- Returns:
trueif an obstacle query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getRuledObstacleQuery
ObstacleQuery getRuledObstacleQuery()Gets the query for an obstacle. Multiple retrievals produce a nestedORterm.- Returns:
- the obstacle query
- Throws:
UnimplementedException-supportsRuledObstacleQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRuledObstacleQuery()} is {@code true}.
-
matchAnyRuledObstacle
void matchAnyRuledObstacle(boolean match) Matches rules mapped to any obstacle.- Parameters:
match-truefor rules mapped to any obstacle,falseto match rules mapped to no obstacles- Compliance:
mandatory- This method must be implemented.
-
clearRuledObstacleTerms
void clearRuledObstacleTerms()Clears the obstacle query terms.- Compliance:
mandatory- This method must be implemented.
-
matchMapId
Matches enablers mapped to a map.- Parameters:
mapId- the mapIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-mapIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearMapIdTerms
void clearMapIdTerms()Clears the mapIdquery terms.- Compliance:
mandatory- This method must be implemented.
-
supportsMapQuery
boolean supportsMapQuery()Tests if aMapQueryis available.- Returns:
trueif a map query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getMapQuery
MapQuery getMapQuery()Gets the query for a map. Multiple retrievals produce a nestedORterm.- Returns:
- the map query
- Throws:
UnimplementedException-supportsMapQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsMapQuery()} is {@code true}.
-
clearMapTerms
void clearMapTerms()Clears the map query terms.- Compliance:
mandatory- This method must be implemented.
-
getObstacleEnablerQueryRecord
ObstacleEnablerQueryRecord getObstacleEnablerQueryRecord(Type obstacleEnablerRecordType) throws OperationFailedException Gets the obstacle enabler query record corresponding to the givenObstacleEnablerrecordType. Multiple record retrievals produce a nestedORterm.- Parameters:
obstacleEnablerRecordType- an obstacle enabler record type- Returns:
- the obstacle enabler query record
- Throws:
NullArgumentException-obstacleEnablerRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(obstacleEnablerRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-