Class AbstractOperableOsidObjectQuery
java.lang.Object
net.okapia.osid.jamocha.spi.AbstractOsidQuery
net.okapia.osid.jamocha.spi.AbstractOsidIdentifiableQuery
net.okapia.osid.jamocha.spi.AbstractOsidObjectQuery
net.okapia.osid.jamocha.spi.AbstractOperableOsidObjectQuery
- All Implemented Interfaces:
Extensible, OsidBrowsableQuery, OsidExtensibleQuery, OsidIdentifiableQuery, OsidObjectQuery, OsidOperableQuery, OsidQuery, Suppliable
- Direct Known Subclasses:
AbstractActivityUnitQuery, AbstractAssessmentPartQuery, AbstractBranchQuery, AbstractCanonicalUnitQuery, AbstractControllerQuery, AbstractCourseQuery, AbstractObstacleQuery, AbstractOsidRuleQuery, AbstractProgramQuery, AbstractValueQuery
public abstract class AbstractOperableOsidObjectQuery
extends AbstractOsidObjectQuery
implements OsidOperableQuery, OsidObjectQuery
Defines an Operable OsidQuery.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classComposed OsidOperableQuery.Nested classes/interfaces inherited from class AbstractOsidObjectQuery
AbstractOsidObjectQuery.OsidBrowsableQueryModifier and TypeClassDescriptionprotected classComposed OsidBrowsableQuery. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newAbstractOperableOsidObjectQuery. -
Method Summary
Modifier and TypeMethodDescriptionvoidClears the active query terms.voidClears the administratively disabled query terms.voidClears the administratively enabled query terms.voidClears the operational query terms.voidmatchActive(boolean match) Matches active.voidmatchDisabled(boolean match) Matches administratively disabled.voidmatchEnabled(boolean match) Matches administratively enabled.voidmatchOperational(boolean match) Matches operational operables.Methods inherited from class AbstractOsidObjectQuery
addRecordType, clearCommentIdTerms, clearCommentTerms, clearCreditIdTerms, clearCreditTerms, clearDescriptionTerms, clearDisplayNameTerms, clearGenusTypeTerms, clearJournalEntryIdTerms, clearJournalEntryTerms, clearParentGenusTypeTerms, clearRecordTerms, clearRelationshipIdTerms, clearRelationshipPeerIdTerms, clearRelationshipTerms, clearStateIdTerms, clearStateTerms, clearStatisticTerms, clearSubjectIdTerms, clearSubjectRelevancyTerms, clearSubjectTerms, getCommentQuery, getCreditQuery, getDescriptionTerms, getDisplayNameTerms, getJournalEntryQuery, getRecordTypes, getRelationshipQuery, getStateQuery, getStatisticQuery, getSubjectQuery, getSubjectRelevancyQuery, hasRecordType, matchAnyComment, matchAnyCredit, matchAnyDescription, matchAnyDisplayName, matchAnyGenusType, matchAnyJournalEntry, matchAnyRecord, matchAnyRelationship, matchAnyState, matchAnyStatistic, matchAnySubject, matchCommentId, matchCreditId, matchDescription, matchDisplayName, matchGenusType, matchJournalEntryId, matchParentGenusType, matchRecordType, matchRelationshipId, matchRelationshipPeerId, matchStateId, matchSubjectId, supportsCommentQuery, supportsCreditQuery, supportsJournalEntryQuery, supportsRelationshipQuery, supportsStateQuery, supportsStatisticQuery, supportsSubjectQuery, supportsSubjectRelevancyQueryModifier and TypeMethodDescriptionprotected voidaddRecordType(Type recordType) Adds a record type.voidClears all commentIdterms.voidClears all comment terms.voidClears all creditIdterms.voidClears all credit terms.voidClears all description terms.voidClears all display name terms.voidClears all genus type terms.voidClears all journal entryIdterms.voidClears all journal entry terms.voidClears all genus type terms.voidClears all recordTypeterms.voidClears all relationshipIdterms.voidClears all relationshipIdterms.voidClears all relationship terms.voidClears all stateIdterms.voidClears all state terms.voidClears all statistic terms.voidClears all subjectIdterms.voidClears all subject relevancy terms.voidClears all subject terms.Gets the query for a comment.Gets the query for an ackowledgement credit.protected Collection<StringTerm> Gets all the description query terms.protected Collection<StringTerm> Gets all the display name query terms.Gets the query for a journal entry.Gets the record types available in this object.Gets the query for relationship.Gets the query for a state.Gets the query for a statistic.Gets the query for a subject.Gets the query for a subject relevancy.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.voidmatchAnyComment(boolean match) Matches an object that has anyComment.voidmatchAnyCredit(boolean match) Matches an object that has anyCreditfor the givenMeter.voidmatchAnyDescription(boolean match) Matches any object with a description.voidmatchAnyDisplayName(boolean match) Matches any object with a display name.voidmatchAnyGenusType(boolean match) Matches an object that has any genus type.voidmatchAnyJournalEntry(boolean match) Matches an object that has anyJournalEntryin the givenJournal.voidmatchAnyRecord(boolean match) Matches an object that has any record.voidmatchAnyRelationship(boolean match) Matches an object that has anyRelationship.voidmatchAnyState(boolean match) Matches an object that has any mapping to aState.voidmatchAnyStatistic(boolean match) Matches an object that has anyStatistic.voidmatchAnySubject(boolean match) Matches an object that has any relationship to aSubject.voidmatchCommentId(Id commentId, boolean match) Matches an object that has the given comment.voidmatchCreditId(Id creditId, boolean match) Matches an object that has the given credit.voidmatchDescription(String description, Type stringMatchType, boolean match) Adds a description to match.voidmatchDisplayName(String displayName, Type stringMatchType, boolean match) Adds a display name to match.voidmatchGenusType(Type genusType, boolean match) Sets aTypefor querying objects of a given genus.voidmatchJournalEntryId(Id journalEntryId, boolean match) Matches an object that has the given journal entry.voidmatchParentGenusType(Type genusType, boolean match) Sets aTypefor querying objects of a given genus.voidmatchRecordType(Type recordType, boolean match) Sets aTypefor querying objects having records implementing a given record type.voidmatchRelationshipId(Id relationshipId, boolean match) Matches an object that has the given relationship.voidmatchRelationshipPeerId(Id peerId, boolean match) Matches an object that has a relationship to the given peerId.voidmatchStateId(Id stateId, boolean match) Matches an object mapped to the given state.voidmatchSubjectId(Id subjectId, boolean match) Matches an object with a relationship to the given subject.booleanTests if aCommentQueryis available.booleanTests if aCreditQueryis available to provide queries of related acknowledgements.booleanTests if aJournalEntryis available to provide queries of journaledOsidObjects.booleanTests if aRelationshipQueryis available.booleanTests if aStateQueryis available to provide queries of processed objects.booleanTests if aStatisticQueryis available to provide statistical queries.booleanTests if aSubjectQueryis available.booleanTests if aRelevancyQueryis available to provide queries about the relationships toSubjects.Methods inherited from class AbstractOsidIdentifiableQuery
clearIdTerms, matchIdModifier and TypeMethodDescriptionvoidClears allIdterms.voidAdds anIdto match.Methods inherited from class AbstractOsidQuery
addStringMatchType, clearAnyTerms, clearKeywordTerms, getStringMatchTypes, matchAny, matchKeyword, supportsStringMatchTypeModifier and TypeMethodDescriptionprotected voidaddStringMatchType(Type stringMatchType) Adds a string match type.voidClears the match any terms.voidClears all keyword terms.Gets the string matching types supported.voidmatchAny(boolean match) Matches any object.voidmatchKeyword(String keyword, Type stringMatchType, boolean match) Adds a keyword to match.booleansupportsStringMatchType(Type stringMatchType) Tests if the given string matching type is supported.
-
Constructor Details
-
AbstractOperableOsidObjectQuery
public AbstractOperableOsidObjectQuery()Constructs a newAbstractOperableOsidObjectQuery.
-
-
Method Details
-
matchActive
Matches active.- Specified by:
matchActivein interfaceOsidOperableQuery- Parameters:
match-trueto match active,falseto match inactive
-
clearActiveTerms
Clears the active query terms.- Specified by:
clearActiveTermsin interfaceOsidOperableQuery
-
matchEnabled
Matches administratively enabled.- Specified by:
matchEnabledin interfaceOsidOperableQuery- Parameters:
match-trueto match administratively enabled,falseotherwise
-
clearEnabledTerms
Clears the administratively enabled query terms.- Specified by:
clearEnabledTermsin interfaceOsidOperableQuery
-
matchDisabled
Matches administratively disabled.- Specified by:
matchDisabledin interfaceOsidOperableQuery- Parameters:
match-trueto match administratively disabled,falseotherwise
-
clearDisabledTerms
Clears the administratively disabled query terms.- Specified by:
clearDisabledTermsin interfaceOsidOperableQuery
-
matchOperational
Matches operational operables.- Specified by:
matchOperationalin interfaceOsidOperableQuery- Parameters:
match-trueto match operational,falseto match not operational
-
clearOperationalTerms
Clears the operational query terms.- Specified by:
clearOperationalTermsin interfaceOsidOperableQuery
-