Interface OsidTemporalQuery
- All Superinterfaces:
OsidQuery, Suppliable
- All Known Subinterfaces:
ActionEnablerQuery, ActivityQuery, ActivityQuery, ActivityRegistrationQuery, AppointmentQuery, AssessmentEntryQuery, AuctionConstrainerEnablerQuery, AuctionProcessorEnablerQuery, AuditConstrainerEnablerQuery, AuditEnablerQuery, AuditProcessorEnablerQuery, AuthorizationEnablerQuery, AuthorizationQuery, AvailabilityEnablerQuery, AvailabilityQuery, AwardEntryQuery, BallotConstrainerEnablerQuery, BallotQuery, BidEnablerQuery, BidQuery, BrokerConstrainerEnablerQuery, BrokerEnablerQuery, BrokerProcessorEnablerQuery, BudgetEntryQuery, BudgetQuery, BuildingQuery, CandidateQuery, CanonicalUnitEnablerQuery, CanonicalUnitProcessorEnablerQuery, CatalogEnablerQuery, CommentQuery, CommissionEnablerQuery, CommissionQuery, CommitmentEnablerQuery, CommitmentQuery, CompositionEnablerQuery, ConferralQuery, ContactEnablerQuery, ContactQuery, CourseEntryQuery, CourseOfferingQuery, CourseRegistrationQuery, CredentialEntryQuery, CreditQuery, CustomerQuery, DeedQuery, DemographicEnablerQuery, DeviceEnablerQuery, DispatchConstrainerEnablerQuery, DispatchEnablerQuery, DispatchProcessorEnablerQuery, DocetQuery, EdgeEnablerQuery, EdgeQuery, EffortQuery, EnrollmentQuery, EntryQuery, EventQuery, FloorQuery, GradeEntryQuery, HoldEnablerQuery, HoldQuery, InputEnablerQuery, InquiryEnablerQuery, InstructionQuery, IssueConstrainerEnablerQuery, IssueEnablerQuery, IssueProcessorEnablerQuery, IssueQuery, ItemQuery, JobConstrainerEnablerQuery, JobProcessorEnablerQuery, LeaseQuery, LessonQuery, ObstacleEnablerQuery, OfferingConstrainerEnablerQuery, OfferingQuery, OffsetEventEnablerQuery, OrganizationQuery, OsidEffectuatorQuery, OsidEnablerQuery, OsidOperatorQuery, OsidRelationshipQuery, OsidRuleApplicatorQuery, ParameterProcessorEnablerQuery, ParticipantQuery, PathQuery, PayerQuery, PlanQuery, PoolConstrainerEnablerQuery, PoolEnablerQuery, PoolProcessorEnablerQuery, PositionQuery, PriceEnablerQuery, ProcessConstrainerEnablerQuery, ProcessEnablerQuery, ProcessProcessorEnablerQuery, ProficiencyQuery, ProfileEntryEnablerQuery, ProfileEntryQuery, ProgramEntryQuery, ProgramOfferingQuery, ProjectQuery, ProvisionableEnablerQuery, ProvisionableQuery, ProvisionEnablerQuery, ProvisionQuery, QueueConstrainerEnablerQuery, QueueConstrainerEnablerQuery, QueueEnablerQuery, QueueEnablerQuery, QueueProcessorEnablerQuery, QueueProcessorEnablerQuery, RaceConstrainerEnablerQuery, RaceProcessorEnablerQuery, RecurringEventEnablerQuery, RegistrationQuery, RelationshipEnablerQuery, RelationshipQuery, RelevancyEnablerQuery, RelevancyQuery, RenovationQuery, RequestQuery, RequestTransactionQuery, RequisiteQuery, ResourceRelationshipQuery, ResponseQuery, ResultQuery, RoomQuery, RouteQuery, SequenceRuleEnablerQuery, SignalEnablerQuery, SpeedZoneEnablerQuery, StepConstrainerEnablerQuery, StepEnablerQuery, StepProcessorEnablerQuery, SubscriptionEnablerQuery, SubscriptionQuery, SupersedingEventEnablerQuery, TodoQuery, TriggerEnablerQuery, ValueEnablerQuery, VoteEnablerQuery, VoteQuery
This is the query interface for searching temporal objects. Each method
specifies an AND term while multiple invocations of the same
method produce a nested OR .
-
Method Summary
Modifier and TypeMethodDescriptionvoidClears the date query terms.voidClears the effective query terms.voidClears the end date query terms.voidClears the start date query terms.voidmatchAnyEndDate(boolean match) Matches temporals with any end date set.voidmatchAnyStartDate(boolean match) Matches temporals with any start date set.voidMatches temporals where the given date range falls entirely between the start and end dates inclusive.voidmatchEffective(boolean match) Match effective objects where the current date falls within the start and end dates inclusive.voidmatchEndDate(DateTime start, DateTime end, boolean match) Matches temporals whose effective end date falls in between the given dates inclusive.voidmatchStartDate(DateTime start, DateTime end, boolean match) Matches temporals whose start date falls in between the given dates inclusive.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
-
matchEffective
void matchEffective(boolean match) Match effective objects where the current date falls within the start and end dates inclusive.- Parameters:
match-trueto match any effective,falseto match ineffective- Compliance:
mandatory- This method must be implemented.
-
clearEffectiveTerms
void clearEffectiveTerms()Clears the effective query terms.- Compliance:
mandatory- This method must be implemented.
-
matchStartDate
Matches temporals whose start date falls in between the given dates inclusive.- Parameters:
start- start of date rangeend- end of date rangematch-trueif a positive match,falsefor a negative match- Throws:
InvalidArgumentException-startis less thanendNullArgumentException-startorendisnull- Compliance:
mandatory- This method must be implemented.
-
matchAnyStartDate
void matchAnyStartDate(boolean match) Matches temporals with any start date set.- Parameters:
match-trueto match any start date,falseto match no start date- Compliance:
mandatory- This method must be implemented.
-
clearStartDateTerms
void clearStartDateTerms()Clears the start date query terms.- Compliance:
mandatory- This method must be implemented.
-
matchEndDate
Matches temporals whose effective end date falls in between the given dates inclusive.- Parameters:
start- start of date rangeend- end of date rangematch-trueif a positive match,falsefor negative match- Throws:
InvalidArgumentException-startis less thanendNullArgumentException-startorendisnull- Compliance:
mandatory- This method must be implemented.
-
matchAnyEndDate
void matchAnyEndDate(boolean match) Matches temporals with any end date set.- Parameters:
match-trueto match any end date,falseto match no start date- Compliance:
mandatory- This method must be implemented.
-
clearEndDateTerms
void clearEndDateTerms()Clears the end date query terms.- Compliance:
mandatory- This method must be implemented.
-
matchDate
Matches temporals where the given date range falls entirely between the start and end dates inclusive.- Parameters:
from- start dateto- end datematch-trueif a positive match,falsefor a negative match- Throws:
InvalidArgumentException-fromis less thantoNullArgumentException-fromortoisnull- Compliance:
mandatory- This method must be implemented.
-
clearDateTerms
void clearDateTerms()Clears the date query terms.- Compliance:
mandatory- This method must be implemented.
-