OSID Logo
OSID Specifications
calendaring package
Version 3.1.0
Interfaceosid.calendaring.CommitmentQuery
Implementsosid.OsidRelationshipQuery
Used Byosid.calendaring.CalendarQuery
osid.calendaring.CommitmentQuerySession
osid.calendaring.CommitmentSearchSession
osid.calendaring.CommitmentSmartCalendarSession
osid.calendaring.EventQuery
osid.calendaring.rules.CommitmentEnablerQuery
Description

This is the query for searching commitments. Each method match request produces an AND term while multiple invocations of a method produces a nested OR.

MethodmatchEventId
Description

Sets the event Id for this query.

Parametersosid.id.IdeventId an event Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT eventId is null
Compliancemandatory This method must be implemented.
MethodclearEventIdTerms
Description

Clears the event Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsEventQuery
Description

Tests if an EventQuery is available.

Returnboolean true if an event query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetEventQuery
Description

Gets the query for an event. Multiple retrievals produce a nested OR term.

Returnosid.calendaring.EventQuery the event query
ErrorsUNIMPLEMENTED supportsEventQuery() is false
Complianceoptional This method must be implemented if supportsEventQuery() is true.
MethodclearEventTerms
Description

Clears the event terms.

Compliancemandatory This method must be implemented.
MethodmatchResourceId
Description

Sets the resource Id for this query.

Parametersosid.id.IdresourceId a resource Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT resourceId is null
Compliancemandatory This method must be implemented.
MethodclearResourceIdTerms
Description

Clears the resource Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsResourceQuery
Description

Tests if a ResourceQuery is available for querying resources.

Returnboolean true if a resource query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetResourceQuery
Description

Gets the query for a resource. Multiple retrievals produce a nested OR term.

Returnosid.resource.ResourceQuery the resource query
ErrorsUNIMPLEMENTED supportsResourceQuery() is false
Complianceoptional This method must be implemented if supportsResourceQuery() is true.
MethodclearResourceTerms
Description

Clears the resource terms.

Compliancemandatory This method must be implemented.
MethodmatchCalendarId
Description

Sets the calendar Id for this query.

Parametersosid.id.IdcalendarId a calendar Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT calendarId is null
Compliancemandatory This method must be implemented.
MethodclearCalendarIdTerms
Description

Clears the calendar Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsCalendarQuery
Description

Tests if a CalendarQuery is available for querying resources.

Returnboolean true if a calendar query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetCalendarQuery
Description

Gets the query for a calendar. Multiple retrievals produce a nested OR term.

Returnosid.calendaring.CalendarQuery the calendar query
ErrorsUNIMPLEMENTED supportsCalendarQuery() is false
Complianceoptional This method must be implemented if supportsCalendarQuery() is true.
MethodclearCalendarTerms
Description

Clears the calendar terms.

Compliancemandatory This method must be implemented.
MethodgetCommitmentQueryRecord
Description

Gets the commitment query record corresponding to the given Commitment record Type. Multiple retrievals produce a nested OR term.

Parametersosid.type.TypecommitmentRecordType a commitment query record type
Returnosid.calendaring.records.CommitmentQueryRecord the commitment query record
ErrorsNULL_ARGUMENT commitmentRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(commitmentRecordType) is false
Compliancemandatory This method must be implemented.