OSID Logo
OSID Specifications
course chronicle package
Version 3.1.0
Interfaceosid.course.chronicle.CredentialEntryQuery
Implementsosid.OsidRelationshipQuery
Used Byosid.course.chronicle.CredentialEntryQuerySession
osid.course.chronicle.CredentialEntrySearchSession
osid.course.chronicle.CredentialEntrySmartCourseCatalogSession
Description

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

MethodmatchStudentId
Description

Sets the student Id for this query.

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

Clears the student Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsStudentQuery
Description

Tests if a StudentQuery is available.

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

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

Returnosid.resource.ResourceQuery a student query
ErrorsUNIMPLEMENTED supportsStudentQuery() is false
Complianceoptional This method must be implemented if supportsStudentQuery() is true.
MethodclearStudentTerms
Description

Clears the student option terms.

Compliancemandatory This method must be implemented.
MethodmatchCredentialId
Description

Sets the credential Id for this query to match entries that have an entry for the given course.

Parametersosid.id.IdcredentialId a credential Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT credentialId is null
Compliancemandatory This method must be implemented.
MethodclearCredentialIdTerms
Description

Clears the credential Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsCredentialQuery
Description

Tests if a CredentialQuery is available.

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

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

Returnosid.course.program.CredentialQuery a credential query
ErrorsUNIMPLEMENTED supportsCredentialQuery() is false
Complianceoptional This method must be implemented if supportsCredentialQuery() is true.
MethodclearCredentialTerms
Description

Clears the credential terms.

Compliancemandatory This method must be implemented.
MethodmatchIsMatriculationKnown
Description

Matches credential entries with a matriculation known value.

Parametersbooleanmatch true to match a true value, false to match a false value
Compliancemandatory This method must be implemented.
MethodclearIsMatriculationKnownTerms
Description

Clears the matriculation known terms.

Compliancemandatory This method must be implemented.
MethodmatchStartDate
Description

Matches start dates between the given dates inclusive.

Parametersosid.calendaring.DateTimefrom starting date
osid.calendaring.DateTimeto ending date
booleanmatch true if 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.
MethodmatchAnyStartDate
Description

Matches credential entries with any start date.

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

Clears the start date terms.

Compliancemandatory This method must be implemented.
MethodmatchStartTermId
Description

Sets the start term Id for this query.

Parametersosid.id.IdstartTermId a start term Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT startTermId is null
Compliancemandatory This method must be implemented.
MethodclearStartTermIdTerms
Description

Clears the start term Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsStartTermQuery
Description

Tests if a TermQuery is available.

Returnboolean true if a start term query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetStartTermQuery
Description

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

Returnosid.course.TermQuery a start term query
ErrorsUNIMPLEMENTED supportsStartTermQuery() is false
Complianceoptional This method must be implemented if supportsStartTermQuery() is true.
MethodclearStartTermTerms
Description

Clears the start term terms.

Compliancemandatory This method must be implemented.
MethodmatchIsExpectedToComplete
Description

Matches credential entries with a expected to complete value.

Parametersbooleanmatch true to match a true value, false to match a false value
Compliancemandatory This method must be implemented.
MethodclearIsExpectedToCompleteTerms
Description

Clears the expected to complete terms.

Compliancemandatory This method must be implemented.
MethodmatchExpectedCompletionDate
Description

Matches expected completion dates between the given dates inclusive.

Parametersosid.calendaring.DateTimefrom starting date
osid.calendaring.DateTimeto ending date
booleanmatch true if 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.
MethodmatchAnyExpectedCompletionDate
Description

Matches credential entries with any expected completion date.

Parametersbooleanmatch true to match entries with a expected completion date, false to match entries with no expected completion date
Compliancemandatory This method must be implemented.
MethodclearExpectedCompletionDateTerms
Description

Clears the expected completion date terms.

Compliancemandatory This method must be implemented.
MethodmatchExpectedCompletionTermId
Description

Sets the expected completion term Id for this query.

Parametersosid.id.IdexpectedCompletionTermId a expected completion term Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT expectedCompletionTermId is null
Compliancemandatory This method must be implemented.
MethodclearExpectedCompletionTermIdTerms
Description

Clears the expected completion term Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsExpectedCompletionTermQuery
Description

Tests if a TermQuery is available.

Returnboolean true if a expected completion term query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetExpectedCompletionTermQuery
Description

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

Returnosid.course.TermQuery a expected completion term query
ErrorsUNIMPLEMENTED supportsExpectedCompletionTermQuery() is false
Complianceoptional This method must be implemented if supportsExpectedCompletionTermQuery() is true.
MethodclearExpectedCompletionTermTerms
Description

Clears the expected completion term terms.

Compliancemandatory This method must be implemented.
MethodmatchIsActivelyPursuing
Description

Matches credential entries with a actively pursuing value.

Parametersbooleanmatch true to match a true value, false to match a false value
Compliancemandatory This method must be implemented.
MethodclearIsActivelyPursuingTerms
Description

Clears the actively pursuing terms.

Compliancemandatory This method must be implemented.
MethodmatchIsPaused
Description

Matches credential entries with a paused value.

Parametersbooleanmatch true to match a true value, false to match a false value
Compliancemandatory This method must be implemented.
MethodclearIsPausedTerms
Description

Clears the paused terms.

Compliancemandatory This method must be implemented.
MethodmatchIsAbandoned
Description

Matches credential entries with a abandoned value.

Parametersbooleanmatch true to match a true value, false to match a false value
Compliancemandatory This method must be implemented.
MethodclearIsAbandonedTerms
Description

Clears the abandoned terms.

Compliancemandatory This method must be implemented.
MethodmatchAbandonDate
Description

Matches abandon dates between the given dates inclusive.

Parametersosid.calendaring.DateTimefrom starting date
osid.calendaring.DateTimeto ending date
booleanmatch true if 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.
MethodmatchAnyAbandonDate
Description

Matches credential entries with any abandon date.

Parametersbooleanmatch true to match entries with a abandon date, false to match entries with no abandon date
Compliancemandatory This method must be implemented.
MethodclearAbandonDateTerms
Description

Clears the abandon date terms.

Compliancemandatory This method must be implemented.
MethodmatchAbandonTermId
Description

Sets the abandon term Id for this query.

Parametersosid.id.IdabandonTermId a abandon term Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT abandonTermId is null
Compliancemandatory This method must be implemented.
MethodclearAbandonTermIdTerms
Description

Clears the abandon term Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsAbandonTermQuery
Description

Tests if a TermQuery is available.

Returnboolean true if a abandon term query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetAbandonTermQuery
Description

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

Returnosid.course.TermQuery a abandon term query
ErrorsUNIMPLEMENTED supportsAbandonTermQuery() is false
Complianceoptional This method must be implemented if supportsAbandonTermQuery() is true.
MethodclearAbandonTermTerms
Description

Clears the abandon term terms.

Compliancemandatory This method must be implemented.
MethodmatchIsAwarded
Description

Matches credential entries with a awarded value.

Parametersbooleanmatch true to match a true value, false to match a false value
Compliancemandatory This method must be implemented.
MethodclearIsAwardedTerms
Description

Clears the awarded terms.

Compliancemandatory This method must be implemented.
MethodmatchAwardDate
Description

Matches award dates between the given dates inclusive.

Parametersosid.calendaring.DateTimefrom starting date
osid.calendaring.DateTimeto ending date
booleanmatch true if 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.
MethodmatchAnyAwardDate
Description

Matches credential entries with any award date.

Parametersbooleanmatch true to match entries with a award date, false to match entries with no award date
Compliancemandatory This method must be implemented.
MethodclearAwardDateTerms
Description

Clears the award date terms.

Compliancemandatory This method must be implemented.
MethodmatchAwardTermId
Description

Sets the award term Id for this query.

Parametersosid.id.IdawardTermId a award term Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT awardTermId is null
Compliancemandatory This method must be implemented.
MethodclearAwardTermIdTerms
Description

Clears the award term Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsAwardTermQuery
Description

Tests if a TermQuery is available.

Returnboolean true if a award term query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetAwardTermQuery
Description

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

Returnosid.course.TermQuery a award term query
ErrorsUNIMPLEMENTED supportsAwardTermQuery() is false
Complianceoptional This method must be implemented if supportsAwardTermQuery() is true.
MethodclearAwardTermTerms
Description

Clears the award term terms.

Compliancemandatory This method must be implemented.
MethodmatchDateAwarded
Description

Matches award dates between the given dates inclusive.

Parametersosid.calendaring.DateTimefrom starting date
osid.calendaring.DateTimeto ending date
booleanmatch true if 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.
MethodmatchAnyDateAwarded
Description

Matches entries that have any award date.

Parametersbooleanmatch true to match entries with any award date, false to match entries with no award date
Compliancemandatory This method must be implemented.
MethodclearDateAwardedTerms
Description

Clears the award date terms.

Compliancemandatory This method must be implemented.
MethodmatchProgramId
Description

Sets the program Id for this query.

Parametersosid.id.IdprogramId a program Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT programId is null
Compliancemandatory This method must be implemented.
MethodclearProgramIdTerms
Description

Clears the program Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsProgramQuery
Description

Tests if a ProgramQuery is available.

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

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

Returnosid.course.program.ProgramQuery a program query
ErrorsUNIMPLEMENTED supportsProgramQuery() is false
Complianceoptional This method must be implemented if supportsProgramQuery() is true.
MethodmatchAnyProgram
Description

Matches entries that have any program.

Parametersbooleanmatch true to match entries with any program false to match entries with no program
Compliancemandatory This method must be implemented.
MethodclearProgramTerms
Description

Clears the program terms.

Compliancemandatory This method must be implemented.
MethodmatchCourseCatalogId
Description

Sets the course catalog Id for this query to match entries assigned to course catalogs.

Parametersosid.id.IdcourseCatalogId the course catalog Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT courseCatalogId is null
Compliancemandatory This method must be implemented.
MethodclearCourseCatalogIdTerms
Description

Clears the course catalog Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsCourseCatalogQuery
Description

Tests if a CourseCatalogQuery is available.

Returnboolean true if a course catalog query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetCourseCatalogQuery
Description

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

Returnosid.course.CourseCatalogQuery the course catalog query
ErrorsUNIMPLEMENTED supportsCourseCatalogQuery() is false
Complianceoptional This method must be implemented if supportsCourseCatalogQuery() is true.
MethodclearCourseCatalogTerms
Description

Clears the course catalog terms.

Compliancemandatory This method must be implemented.
MethodgetCredentialEntryQueryRecord
Description

Gets the credential entry query record corresponding to the given CredentialEntry record Type. Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypecredentialEntryRecordType a credential entry record type
Returnosid.course.chronicle.records.CredentialEntryQueryRecord the credential entry query record
ErrorsNULL_ARGUMENT credentialEntryRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(credentialEntryRecordType) is false
Compliancemandatory This method must be implemented.