OSID Logo
OSID Specifications
osid package
Version 3.1.0
Interfaceosid.OsidTemporalQuery
Implementsosid.OsidQuery
Implemented Byosid.financials.ActivityQuery
osid.OsidRelationshipQuery
osid.OsidEnablerQuery
osid.room.construction.RenovationQuery
osid.room.construction.ProjectQuery
osid.offering.ResultQuery
osid.voting.BallotQuery
osid.calendaring.EventQuery
osid.personnel.OrganizationQuery
osid.personnel.PositionQuery
osid.checklist.TodoQuery
osid.billing.CustomerQuery
osid.billing.payment.PayerQuery
osid.room.RoomQuery
osid.room.FloorQuery
osid.room.BuildingQuery
Description

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.

MethodmatchEffective
Description

Match effective objects where the current date falls within the start and end dates inclusive.

Parametersbooleanmatch true to match any effective, false to match ineffective
Compliancemandatory This method must be implemented.
MethodclearEffectiveTerms
Description

Clears the effective query terms.

Compliancemandatory This method must be implemented.
MethodmatchStartDate
Description

Matches temporals whose start date falls in between the given dates inclusive.

Parametersosid.calendaring.DateTimestart start of date range
osid.calendaring.DateTimeend end of date range
booleanmatch true if a positive match, false for a negative match
ErrorsINVALID_ARGUMENT start is less than end
NULL_ARGUMENT start or end is null
Compliancemandatory This method must be implemented.
MethodmatchAnyStartDate
Description

Matches temporals with any start date set.

Parametersbooleanmatch true to match any start date, false to match no start date
Compliancemandatory This method must be implemented.
MethodclearStartDateTerms
Description

Clears the start date query terms.

Compliancemandatory This method must be implemented.
MethodmatchEndDate
Description

Matches temporals whose effective end date falls in between the given dates inclusive.

Parametersosid.calendaring.DateTimestart start of date range
osid.calendaring.DateTimeend end of date range
booleanmatch true if a positive match, false for negative match
ErrorsINVALID_ARGUMENT start is less than end
NULL_ARGUMENT start or end is null
Compliancemandatory This method must be implemented.
MethodmatchAnyEndDate
Description

Matches temporals with any end date set.

Parametersbooleanmatch true to match any end date, false to match no start date
Compliancemandatory This method must be implemented.
MethodclearEndDateTerms
Description

Clears the end date query terms.

Compliancemandatory This method must be implemented.
MethodmatchDate
Description

Matches temporals where the given date range falls entirely between the start and end dates inclusive.

Parametersosid.calendaring.DateTimefrom start date
osid.calendaring.DateTimeto end date
booleanmatch true if a positive match, false for a negative match
ErrorsINVALID_ARGUMENT from is less than to
NULL_ARGUMENT from or to is null
Compliancemandatory This method must be implemented.
MethodclearDateTerms
Description

Clears the date query terms.

Compliancemandatory This method must be implemented.