OSID Logo
OSID Specifications
recognition package
Version 3.1.0
Interfaceosid.recognition.AcademyQuery
Implementsosid.OsidCatalogQuery
Used Byosid.recognition.AcademyQuery
osid.recognition.AcademyQuerySession
osid.recognition.AcademySearchSession
osid.recognition.AwardQuery
osid.recognition.ConferralQuery
osid.recognition.ConvocationQuery
Description

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

MethodmatchConferralId
Description

Sets the conferral Id for this query to match conferrals assigned to academies.

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 a conferral.

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

Matches academies with any conferral.

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

Clears the conferral terms.

Compliancemandatory This method must be implemented.
MethodmatchAwardId
Description

Sets the award Id for this query to match conferrals assigned to awards.

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 academies with any award.

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

Clears the award terms.

Compliancemandatory This method must be implemented.
MethodmatchConvocationId
Description

Sets a convocaton Id.

Parametersosid.id.IdconvocationId a convocaton Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT convocationId is null
Compliancemandatory This method must be implemented.
MethodclearConvocationIdTerms
Description

Clears the convocaton Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsConvocationQuery
Description

Tests if a ConvocationQuery is available.

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

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

Returnosid.recognition.ConvocationQuery the convocaton query
ErrorsUNIMPLEMENTED supportsConvocationQuery() is false
Complianceoptional This method must be implemented if supportsConvocationQuery() is true.
MethodmatchAnyConvocation
Description

Matches any convocaton.

Parametersbooleanmatch true to match academies with any convocation, false to match academies with no convocations
Compliancemandatory This method must be implemented.
MethodclearConvocationTerms
Description

Clears the convocaton terms.

Compliancemandatory This method must be implemented.
MethodmatchAncestorAcademyId
Description

Sets the academy Id for this query to match academies that have the specified academy as an ancestor.

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.
MethodclearAncestorAcademyIdTerms
Description

Clears the ancestor academy Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsAncestorAcademyQuery
Description

Tests if an AcademyQuery is available.

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

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

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

Matches academies with any ancestor.

Parametersbooleanmatch true to match academies with any ancestor, false to match root academies
Compliancemandatory This method must be implemented.
MethodclearAncestorAcademyTerms
Description

Clears the ancestor academy terms.

Compliancemandatory This method must be implemented.
MethodmatchDescendantAcademyId
Description

Sets the academy Id for this query to match academies that have the specified academy as a descendant.

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.
MethodclearDescendantAcademyIdTerms
Description

Clears the descendant academy Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsDescendantAcademyQuery
Description

Tests if an AcademyQuery is available.

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

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

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

Matches academies with any descendant.

Parametersbooleanmatch true to match academies with any descendant, false to match leaf academies
Compliancemandatory This method must be implemented.
MethodclearDescendantAcademyTerms
Description

Clears the descendant academy terms.

Compliancemandatory This method must be implemented.
MethodgetAcademyQueryRecord
Description

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

Parametersosid.type.TypeacademyRecordType an academy record type
Returnosid.recognition.records.AcademyQueryRecord the academy query record
ErrorsNULL_ARGUMENT academyRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(academyRecordType) is false
Compliancemandatory This method must be implemented.