Interface OsidObjectQuery
- All Superinterfaces:
Extensible, OsidBrowsableQuery, OsidExtensibleQuery, OsidIdentifiableQuery, OsidQuery, Suppliable
- All Known Subinterfaces:
AcademyQuery, AccountQuery, ActionEnablerQuery, ActionGroupQuery, ActionQuery, ActivityQuery, ActivityQuery, ActivityQuery, ActivityRegistrationQuery, ActivityUnitQuery, AddressBookQuery, AddressQuery, AgencyQuery, AgendaQuery, AgentQuery, AnswerQuery, AntimatroidQuery, AppointmentQuery, AssessmentEntryQuery, AssessmentOfferedQuery, AssessmentPartQuery, AssessmentQuery, AssessmentTakenQuery, AssetContentQuery, AssetQuery, AuctionConstrainerEnablerQuery, AuctionConstrainerQuery, AuctionHouseQuery, AuctionProcessorEnablerQuery, AuctionProcessorQuery, AuctionQuery, AuditConstrainerEnablerQuery, AuditConstrainerQuery, AuditEnablerQuery, AuditProcessorEnablerQuery, AuditProcessorQuery, AuditQuery, AuthorizationEnablerQuery, AuthorizationQuery, AvailabilityEnablerQuery, AvailabilityQuery, AwardEntryQuery, AwardQuery, BallotConstrainerEnablerQuery, BallotConstrainerQuery, BallotQuery, BankQuery, BidEnablerQuery, BidQuery, BillingQuery, BinQuery, BlockQuery, BlogQuery, BookQuery, BranchQuery, BrokerConstrainerEnablerQuery, BrokerConstrainerQuery, BrokerEnablerQuery, BrokerProcessorEnablerQuery, BrokerProcessorQuery, BrokerQuery, BudgetEntryQuery, BudgetQuery, BuildingQuery, BusinessQuery, BusinessQuery, CalendarQuery, CampusQuery, CandidateQuery, CanonicalUnitEnablerQuery, CanonicalUnitProcessorEnablerQuery, CanonicalUnitProcessorQuery, CanonicalUnitQuery, CatalogEnablerQuery, CatalogQuery, CatalogueQuery, CategoryQuery, ChainQuery, ChecklistQuery, CheckQuery, CommentQuery, CommissionEnablerQuery, CommissionQuery, CommitmentEnablerQuery, CommitmentQuery, CompetencyQuery, CompositionEnablerQuery, CompositionQuery, ConferralQuery, ConfigurationQuery, ContactEnablerQuery, ContactQuery, ControllerQuery, ConvocationQuery, CookbookQuery, CourseCatalogQuery, CourseEntryQuery, CourseOfferingQuery, CourseQuery, CourseRegistrationQuery, CourseRequirementQuery, CredentialEntryQuery, CredentialQuery, CreditQuery, CustomerQuery, CyclicEventQuery, CyclicTimePeriodQuery, DeedQuery, DemographicEnablerQuery, DemographicQuery, DepotQuery, DeviceEnablerQuery, DeviceQuery, DictionaryQuery, DirectionQuery, DirectoryEntryQuery, DirectoryQuery, DispatchConstrainerEnablerQuery, DispatchConstrainerQuery, DispatchEnablerQuery, DispatchProcessorEnablerQuery, DispatchProcessorQuery, DispatchQuery, DistributorQuery, DocetQuery, EdgeEnablerQuery, EdgeQuery, EffortQuery, EngineQuery, EngineQuery, EnrollmentQuery, EntryQuery, EntryQuery, EntryQuery, EntryQuery, EventQuery, FamilyQuery, FileQuery, FiscalPeriodQuery, FloorQuery, ForumQuery, FoundryQuery, FrontOfficeQuery, FunctionQuery, GradebookColumnQuery, GradebookColumnSummaryQuery, GradebookQuery, GradeEntryQuery, GradeQuery, GradeSystemQuery, GraphQuery, HierarchyQuery, HoldEnablerQuery, HoldQuery, IdiomQuery, IngredientQuery, InputEnablerQuery, InputQuery, InquestQuery, InquiryEnablerQuery, InquiryQuery, InstallationContentQuery, InstallationQuery, InstructionQuery, IntersectionQuery, InventoryQuery, IssueConstrainerEnablerQuery, IssueConstrainerQuery, IssueEnablerQuery, IssueProcessorEnablerQuery, IssueProcessorQuery, IssueQuery, IssueQuery, ItemQuery, ItemQuery, ItemQuery, ItemQuery, JobConstrainerEnablerQuery, JobConstrainerQuery, JobProcessorEnablerQuery, JobProcessorQuery, JobQuery, JournalEntryQuery, JournalQuery, KeyQuery, LeaseQuery, LessonQuery, LocationQuery, LogEntryQuery, LogEntryQuery, LogQuery, MailboxQuery, MapQuery, MessageQuery, MeterQuery, ModelQuery, ModuleQuery, NodeQuery, ObjectiveBankQuery, ObjectiveQuery, ObstacleEnablerQuery, ObstacleQuery, OfferingConstrainerEnablerQuery, OfferingConstrainerQuery, OfferingQuery, OfficeQuery, OffsetEventEnablerQuery, OffsetEventQuery, OntologyQuery, OrderQuery, OrganizationQuery, OsidCatalogQuery, OsidCompendiumQuery, OsidConstrainerQuery, OsidEffectuatorQuery, OsidEnablerQuery, OsidGovernatorQuery, OsidOperatorQuery, OsidProcessorQuery, OsidRelationshipQuery, OsidRequestQuery, OsidRuleApplicatorQuery, OsidRuleQuery, OublietteQuery, PackageQuery, ParameterProcessorEnablerQuery, ParameterProcessorQuery, ParameterQuery, ParameterQuery, ParticipantQuery, PathQuery, PathQuery, PayerQuery, PaymentQuery, PeriodQuery, PersonQuery, PlanQuery, PollsQuery, PoolConstrainerEnablerQuery, PoolConstrainerQuery, PoolEnablerQuery, PoolProcessorEnablerQuery, PoolProcessorQuery, PoolQuery, PositionQuery, PostEntryQuery, PostQuery, PostQuery, PressQuery, PriceEnablerQuery, PriceQuery, PriceScheduleQuery, ProcedureQuery, ProcessConstrainerEnablerQuery, ProcessConstrainerQuery, ProcessEnablerQuery, ProcessProcessorEnablerQuery, ProcessProcessorQuery, ProcessQuery, ProcessQuery, ProductQuery, ProficiencyQuery, ProfileEntryEnablerQuery, ProfileEntryQuery, ProfileItemQuery, ProfileQuery, ProgramEntryQuery, ProgramOfferingQuery, ProgramQuery, ProjectQuery, ProvisionableEnablerQuery, ProvisionableQuery, ProvisionEnablerQuery, ProvisionQuery, ProvisionReturnQuery, PublisherQuery, QualifierQuery, QuestionQuery, QueueConstrainerEnablerQuery, QueueConstrainerEnablerQuery, QueueConstrainerQuery, QueueConstrainerQuery, QueueEnablerQuery, QueueEnablerQuery, QueueProcessorEnablerQuery, QueueProcessorEnablerQuery, QueueProcessorQuery, QueueProcessorQuery, QueueQuery, QueueQuery, RaceConstrainerEnablerQuery, RaceConstrainerQuery, RaceProcessorEnablerQuery, RaceProcessorQuery, RaceQuery, RealmQuery, ReceiptQuery, RecipeQuery, RecurringEventEnablerQuery, RecurringEventQuery, RegistrationQuery, RegistrationRequestItemQuery, RegistrationRequestQuery, RegistrationTargetQuery, RelationshipEnablerQuery, RelationshipQuery, RelevancyEnablerQuery, RelevancyQuery, RenovationQuery, ReplyQuery, RepositoryQuery, RequestQuery, RequestTransactionQuery, RequisiteQuery, ResourceQuery, ResourceRelationshipQuery, ResponseQuery, ResultQuery, RoomQuery, RouteQuery, RouteSegmentQuery, RuleQuery, SceneQuery, ScheduleQuery, ScheduleSlotQuery, SequenceRuleEnablerQuery, SequenceRuleQuery, SettingQuery, ShipmentQuery, SignalEnablerQuery, SignalQuery, SiteQuery, SpeedZoneEnablerQuery, SpeedZoneQuery, StateQuery, StatisticQuery, StepConstrainerEnablerQuery, StepConstrainerQuery, StepEnablerQuery, StepProcessorEnablerQuery, StepProcessorQuery, StepQuery, StockQuery, StoreQuery, SubjectQuery, SubscriptionEnablerQuery, SubscriptionQuery, SummaryQuery, SupersedingEventEnablerQuery, SupersedingEventQuery, SyllabusQuery, SystemQuery, TermQuery, TextQuery, TimePeriodQuery, TodoProducerQuery, TodoQuery, TriggerEnablerQuery, TriggerQuery, UtilityQuery, ValueEnablerQuery, ValueQuery, VaultQuery, VoteEnablerQuery, VoteQuery, WarehouseQuery, WorkflowEventQuery, WorkQuery, WorkQuery
The OsidObjectQuery is used to assemble search queries. An
OsidObjectQuery is available from an OsidSession and
defines methods to query for an OsidObject that includes setting a
display name and a description. Once the desired parameters are set, the
OsidQuery is given to the designated search method. The same
OsidQuery returned from the session must be used in the search as
the provider may utilize implementation-specific data wiithin the object.
If multiple data elements are set in this interface, the results matching all the given data (eg: AND) are returned.
Any match method inside an OsidObjectQuery may be invoked
multiple times. In the case of a match method, each invocation adds an
element to an OR expression. Any of these terms may also be
negated through the match flag.
OsidObjectQuery { OsidQuery.matchDisplayName AND (OsidQuery.matchDescription OR OsidObjectQuery.matchDescription)}
OsidObjects allow for the definition of an additonal records and
the OsidQuery parallels this mechanism. An interface type of an
OsidObject record must also define the corresponding
OsidQuery record which is available through query interfaces. Multiple
requests of these typed interfaces may return the same underlying object
and thus it is only useful to request once.
String searches are described using a string search Type that
indicates the type of regular expression or wildcarding encoding.
Compatibility with a strings search Type can be tested within this
interface.
As with all aspects of OSIDs, nulls cannot be used. Separate tests are available for querying for unset values except for required fields.
An example to find all objects whose name starts with "Fred" or whose
name starts with "Barney", but the word "dinosaur" does not appear in the
description and not the color is not purple. ColorQuery is a
record of the object that defines a color.
ObjectObjectQuery query;
query = session.getObjectQuery();
query.matchDisplayName("Fred*", wildcardStringMatchType, true);
query.matchDisplayName("Barney*", wildcardStringMatchType, true);
query.matchDescriptionMatch("dinosaur", wordStringMatchType, false);
ColorQuery recordQuery;
recordQuery = query.getObjectRecord(colorRecordType);
recordQuery.matchColor("purple", false);
ObjectList list = session.getObjectsByQuery(query);
-
Method Summary
Modifier and TypeMethodDescriptionvoidClears 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 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.Gets the query for a journal entry.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.voidmatchAnyComment(boolean match) Matches an object that has anyCommentin the givenBook.voidmatchAnyCredit(boolean match) Matches an object that has anyCredit.voidmatchAnyDescription(boolean match) Matches a description that has any value.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.voidmatchAnyRelationship(boolean match) Matches an object that has anyRelationship.voidmatchAnyState(boolean match) Matches an object that has any mapping to aStatein the givenProcess.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 name 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.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 interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface OsidExtensibleQuery
clearRecordTerms, matchAnyRecord, matchRecordTypeModifier and TypeMethodDescriptionvoidClears all recordTypeterms.voidmatchAnyRecord(boolean match) Matches an object that has any record.voidmatchRecordType(Type recordType, boolean match) Sets aTypefor querying objects having records implementing a given record type.Methods inherited from interface OsidIdentifiableQuery
clearIdTerms, matchIdModifier and TypeMethodDescriptionvoidClears allIdterms.voidAdds anIdto match.Methods inherited from interface OsidQuery
clearAnyTerms, clearKeywordTerms, getStringMatchTypes, matchAny, matchKeyword, supportsStringMatchTypeModifier and TypeMethodDescriptionvoidClears 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.
-
Method Details
-
matchDisplayName
Adds a display name to match. Multiple display name matches can be added to perform a booleanORamong them.- Parameters:
displayName- display name to matchstringMatchType- the string match typematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-displayNameis not ofstringMatchTypeNullArgumentException-displayNameorstringMatchTypeisnullUnsupportedException-supportsStringMatchType(stringMatchType)isfalse- Compliance:
mandatory- This method must be implemented.
-
matchAnyDisplayName
void matchAnyDisplayName(boolean match) Matches any object with a display name.- Parameters:
match-trueto match any display name,falseto match objects with no display name- Compliance:
mandatory- This method must be implemented.
-
clearDisplayNameTerms
void clearDisplayNameTerms()Clears all display name terms.- Compliance:
mandatory- This method must be implemented.
-
matchDescription
Adds a description name to match. Multiple description matches can be added to perform a booleanORamong them.- Parameters:
description- description to matchstringMatchType- the string match typematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-descriptionis not ofstringMatchTypeNullArgumentException-descriptionorstringMatchTypeisnullUnsupportedException-supportsStringMatchType(stringMatchType)isfalse- Compliance:
mandatory- This method must be implemented.
-
matchAnyDescription
void matchAnyDescription(boolean match) Matches a description that has any value.- Parameters:
match-trueto match any description,falseto match descriptions with no values- Compliance:
mandatory- This method must be implemented.
-
clearDescriptionTerms
void clearDescriptionTerms()Clears all description terms.- Compliance:
mandatory- This method must be implemented.
-
matchGenusType
Sets aTypefor querying objects of a given genus. A genus type matches if the specified type is the same genus as the object genus type.- Parameters:
genusType- the object genus typematch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-genusTypeisnull- Compliance:
mandatory- This method must be implemented.
-
matchAnyGenusType
void matchAnyGenusType(boolean match) Matches an object that has any genus type.- Parameters:
match-trueto match any genus type,falseto match objects with no genus type- Compliance:
mandatory- This method must be implemented.
-
clearGenusTypeTerms
void clearGenusTypeTerms()Clears all genus type terms.- Compliance:
mandatory- This method must be implemented.
-
matchParentGenusType
Sets aTypefor querying objects of a given genus. A genus type matches if the specified type is the same genus as the object or if the specified type is an ancestor of the object genus in a type hierarchy.- Parameters:
genusType- the object genus typematch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-genusTypeisnull- Compliance:
mandatory- This method must be implemented.
-
clearParentGenusTypeTerms
void clearParentGenusTypeTerms()Clears all genus type terms.- Compliance:
mandatory- This method must be implemented.
-
matchSubjectId
Matches an object with a relationship to the given subject.- Parameters:
subjectId- a subjectIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-subjectIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearSubjectIdTerms
void clearSubjectIdTerms()Clears all subjectIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsSubjectQuery
boolean supportsSubjectQuery()Tests if aSubjectQueryis available.- Returns:
trueif a subject query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getSubjectQuery
SubjectQuery getSubjectQuery()Gets the query for a subject. Multiple retrievals produce a nestedORterm.- Returns:
- the subject query
- Throws:
UnimplementedException-supportsSubjectQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubjectQuery()} is {@code true} .
-
matchAnySubject
void matchAnySubject(boolean match) Matches an object that has any relationship to aSubject.- Parameters:
match-trueto match any subject,falseto match objects with no subjects- Compliance:
mandatory- This method must be implemented.
-
clearSubjectTerms
void clearSubjectTerms()Clears all subject terms.- Compliance:
mandatory- This method must be implemented.
-
supportsSubjectRelevancyQuery
boolean supportsSubjectRelevancyQuery()Tests if aRelevancyQueryis available to provide queries about the relationships toSubjects.- Returns:
trueif a relevancy entry query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getSubjectRelevancyQuery
RelevancyQuery getSubjectRelevancyQuery()Gets the query for a subject relevancy. Multiple retrievals produce a nestedORterm.- Returns:
- the relevancy query
- Throws:
UnimplementedException-supportsSubjectRelevancyQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubjectRelevancyQuery()} is {@code true} .
-
clearSubjectRelevancyTerms
void clearSubjectRelevancyTerms()Clears all subject relevancy terms.- Compliance:
mandatory- This method must be implemented.
-
matchStateId
Matches an object mapped to the given state.- Parameters:
stateId- a stateIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-stateIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearStateIdTerms
void clearStateIdTerms()Clears all stateIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsStateQuery
boolean supportsStateQuery()Tests if aStateQueryis available to provide queries of processed objects.- Returns:
trueif a state query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getStateQuery
StateQuery getStateQuery()Gets the query for a state. Multiple retrievals produce a nestedORterm.- Returns:
- the journal entry query
- Throws:
UnimplementedException-supportsStateQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsStateQuery()} is {@code true} .
-
matchAnyState
void matchAnyState(boolean match) Matches an object that has any mapping to aStatein the givenProcess.- Parameters:
match-trueto match any state,falseto match objects with no states- Compliance:
mandatory- This method must be implemented.
-
clearStateTerms
void clearStateTerms()Clears all state terms.- Compliance:
mandatory- This method must be implemented.
-
matchCommentId
Matches an object that has the given comment.- Parameters:
commentId- a commentIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-commentIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearCommentIdTerms
void clearCommentIdTerms()Clears all commentIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsCommentQuery
boolean supportsCommentQuery()Tests if aCommentQueryis available.- Returns:
trueif a comment query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getCommentQuery
CommentQuery getCommentQuery()Gets the query for a comment. Multiple retrievals produce a nestedORterm.- Returns:
- the comment query
- Throws:
UnimplementedException-supportsCommentQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCommentQuery()} is {@code true} .
-
matchAnyComment
void matchAnyComment(boolean match) Matches an object that has anyCommentin the givenBook.- Parameters:
match-trueto match any comment,falseto match objects with no comments- Compliance:
mandatory- This method must be implemented.
-
clearCommentTerms
void clearCommentTerms()Clears all comment terms.- Compliance:
mandatory- This method must be implemented.
-
matchJournalEntryId
Matches an object that has the given journal entry.- Parameters:
journalEntryId- a journal entryIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-journalEntryIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearJournalEntryIdTerms
void clearJournalEntryIdTerms()Clears all journal entryIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsJournalEntryQuery
boolean supportsJournalEntryQuery()Tests if aJournalEntryis available to provide queries of journaledOsidObjects.- Returns:
trueif a journal entry query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getJournalEntryQuery
JournalEntryQuery getJournalEntryQuery()Gets the query for a journal entry. Multiple retrievals produce a nestedORterm.- Returns:
- the journal entry query
- Throws:
UnimplementedException-supportsJournalEntryQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsJournalEntryQuery()} is {@code true} .
-
matchAnyJournalEntry
void matchAnyJournalEntry(boolean match) Matches an object that has anyJournalEntryin the givenJournal.- Parameters:
match-trueto match any journal entry,falseto match objects with no journal entries- Compliance:
mandatory- This method must be implemented.
-
clearJournalEntryTerms
void clearJournalEntryTerms()Clears all journal entry terms.- Compliance:
mandatory- This method must be implemented.
-
supportsStatisticQuery
boolean supportsStatisticQuery()Tests if aStatisticQueryis available to provide statistical queries.- Returns:
trueif a statistic query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getStatisticQuery
StatisticQuery getStatisticQuery()Gets the query for a statistic. Multiple retrievals produce a nestedORterm.- Returns:
- the statistic query
- Throws:
UnimplementedException-supportsStatisticQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsStatisticQuery()} is {@code true} .
-
matchAnyStatistic
void matchAnyStatistic(boolean match) Matches an object that has anyStatistic.- Parameters:
match-trueto match any statistic,falseto match objects with no statistics- Compliance:
mandatory- This method must be implemented.
-
clearStatisticTerms
void clearStatisticTerms()Clears all statistic terms.- Compliance:
mandatory- This method must be implemented.
-
matchCreditId
Matches an object that has the given credit.- Parameters:
creditId- a creditIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-creditIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearCreditIdTerms
void clearCreditIdTerms()Clears all creditIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsCreditQuery
boolean supportsCreditQuery()Tests if aCreditQueryis available to provide queries of related acknowledgements.- Returns:
trueif a credit query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getCreditQuery
CreditQuery getCreditQuery()Gets the query for an ackowledgement credit. Multiple retrievals produce a nestedORterm.- Returns:
- the credit query
- Throws:
UnimplementedException-supportsCreditQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCreditQuery()} is {@code true} .
-
matchAnyCredit
void matchAnyCredit(boolean match) Matches an object that has anyCredit.- Parameters:
match-trueto match any credit,falseto match objects with no credits- Compliance:
mandatory- This method must be implemented.
-
clearCreditTerms
void clearCreditTerms()Clears all credit terms.- Compliance:
mandatory- This method must be implemented.
-
matchRelationshipId
Matches an object that has the given relationship.- Parameters:
relationshipId- a relationshipIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-relationshipIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearRelationshipIdTerms
void clearRelationshipIdTerms()Clears all relationshipIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsRelationshipQuery
boolean supportsRelationshipQuery()Tests if aRelationshipQueryis available.- Returns:
trueif a relationship query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getRelationshipQuery
RelationshipQuery getRelationshipQuery()Gets the query for relationship. Multiple retrievals produce a nestedORterm.- Returns:
- the relationship query
- Throws:
UnimplementedException-supportsRelationshipQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelationshipQuery()} is {@code true} .
-
matchAnyRelationship
void matchAnyRelationship(boolean match) Matches an object that has anyRelationship.- Parameters:
match-trueto match any relationship,falseto match objects with no relationships- Compliance:
mandatory- This method must be implemented.
-
clearRelationshipTerms
void clearRelationshipTerms()Clears all relationship terms.- Compliance:
mandatory- This method must be implemented.
-
matchRelationshipPeerId
Matches an object that has a relationship to the given peerId.- Parameters:
peerId- a relationship peerIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-peerIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearRelationshipPeerIdTerms
void clearRelationshipPeerIdTerms()Clears all relationshipIdterms.- Compliance:
mandatory- This method must be implemented.
-