OSID Logo
OSID Specifications
recognition package
Version 3.1.0
Interfaceosid.recognition.ConvocationQuery
Implementsosid.OsidGovernatorQuery
Used Byosid.recognition.AcademyQuery
osid.recognition.ConferralQuery
osid.recognition.ConvocationQuerySession
osid.recognition.ConvocationSearchSession
osid.recognition.ConvocationSmartAcademySession
Description

This is the query for searching convocations. Each method specifies an AND term while multiple invocations of the same method produce a nested OR.

MethodmatchSponsorId
Description

Sets a sponsor Id for this query.

Parametersosid.id.IdsponsorId a sponsor Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT sponsorId is null
Compliancemandatory This method must be implemented.
MethodclearSponsorIdTerms
Description

Clears the sponsor Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsSponsorQuery
Description

Tests if a ResourceQuery is available.

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

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

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

Matches objects with any sponsor.

Parametersbooleanmatch true to match objects with any sponsor, false to match objects with no sponsor
Compliancemandatory This method must be implemented.
MethodclearSponsorTerms
Description

Clears the sponsor query terms.

Compliancemandatory This method must be implemented.
MethodmatchAwardId
Description

Sets an award Id.

Parametersosid.id.IdawardId an award Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT awardId is null
Compliancemandatory This method must be implemented.
MethodclearAwardIdTerms
Description

Clears the award Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsAwardQuery
Description

Tests if an AwardQuery is available.

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

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

Returnosid.recognition.AwardQuery the award query
ErrorsUNIMPLEMENTED supportsAwardQuery() is false
Complianceoptional This method must be implemented if supportsAwardQuery() is true.
MethodmatchAnyAward
Description

Matches convocations with any award.

Parametersbooleanmatch true to match convocations with any award, false to match convocations with no awards
Compliancemandatory This method must be implemented.
MethodclearAwardTerms
Description

Clears the award terms.

Compliancemandatory This method must be implemented.
MethodmatchDate
Description

Matches the date between the given dates inclusive.

Parametersosid.calendaring.DateTimefrom starting date
osid.calendaring.DateTimeto ending date
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT from is greater than to
NULL_ARGUMENT from or to is null
Compliancemandatory This method must be implemented.
MethodmatchAnyDate
Description

Matches convocations with any date.

Parametersbooleanmatch true to match convocations with any date, false to match convocations with no date
Compliancemandatory This method must be implemented.
MethodclearDateTerms
Description

Clears the date terms.

Compliancemandatory This method must be implemented.
MethodmatchTimePeriodId
Description

Sets a time period Id.

Parametersosid.id.IdtimePeriodId a time period Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT timePeriodId is null
Compliancemandatory This method must be implemented.
MethodclearTimePeriodIdTerms
Description

Clears the time period Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsTimePeriodQuery
Description

Tests if a TimePeriodQuery is available.

Returnboolean true if a time period query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetTimePeriodQuery
Description

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

Returnosid.calendaring.TimePeriodQuery the time period query
ErrorsUNIMPLEMENTED supportsTimePeriodQuery() is false
Complianceoptional This method must be implemented if supportsTimePeriodQuery() is true.
MethodmatchAnyTimePeriod
Description

Matches any time period.

Parametersbooleanmatch true to match convocations with any time period, false to match convocations with no time period
Compliancemandatory This method must be implemented.
MethodclearTimePeriodTerms
Description

Clears the time period terms.

Compliancemandatory This method must be implemented.
MethodmatchConferralId
Description

Sets the conferral Id for this query.

Parametersosid.id.IdconferralId a conferral Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT conferralId is null
Compliancemandatory This method must be implemented.
MethodclearConferralIdTerms
Description

Clears the conferral Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsConferralQuery
Description

Tests if a conferral query is available.

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

Gets the query for an award.

Returnosid.recognition.ConferralQuery the conferral query
ErrorsUNIMPLEMENTED supportsConferralQuery() is false
Complianceoptional This method must be implemented if supportsConferralQuery() is true.
MethodmatchAnyConferral
Description

Matches convocations with any conferral.

Parametersbooleanmatch true to match convocations with any conferral, false to match convocations with no conferrals
Compliancemandatory This method must be implemented.
MethodclearConferralTerms
Description

Clears the conferral terms.

Compliancemandatory This method must be implemented.
MethodmatchAcademyId
Description

Sets the award Id for this query to match convocations assigned to academies.

Parametersosid.id.IdacademyId an academy Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT academyId is null
Compliancemandatory This method must be implemented.
MethodclearAcademyIdTerms
Description

Clears the academy Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsAcademyQuery
Description

Tests if an AcademyQuery is available.

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

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

Returnosid.recognition.AcademyQuery the academy query
ErrorsUNIMPLEMENTED supportsAcademyQuery() is false
Complianceoptional This method must be implemented if supportsAcademyQuery() is true.
MethodclearAcademyTerms
Description

Clears the academy terms.

Compliancemandatory This method must be implemented.
MethodgetConvocationQueryRecord
Description

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

Parametersosid.type.TypeconvocationRecordType a convocation record type
Returnosid.recognition.records.ConvocationQueryRecord the convocation query record
ErrorsNULL_ARGUMENT convocationRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(convocationRecordType) is false
Compliancemandatory This method must be implemented.