OSID Logo
OSID Specifications
course chronicle package
Version 3.0.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.IdresourceIda resource Id
booleanmatchtrue if a positive match, false for a negative match
ErrorsNULL_ARGUMENTresourceId is null
CompliancemandatoryThis method must be implemented.
MethodclearStudentIdTerms
Description

Clears the student Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsStudentQuery
Description

Tests if a StudentQuery is available.

Returnbooleantrue if a student query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetStudentQuery
Description

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

Returnosid.resource.ResourceQuerya student query
ErrorsUNIMPLEMENTEDsupportsStudentQuery() is false
ComplianceoptionalThis method must be implemented if supportsStudentQuery() is true .
MethodclearStudentTerms
Description

Clears the student option terms.

CompliancemandatoryThis 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.IdcredentialIda credential Id
booleanmatchtrue if a positive match, false for a negative match
ErrorsNULL_ARGUMENTcredentialId is null
CompliancemandatoryThis method must be implemented.
MethodclearCredentialIdTerms
Description

Clears the credential Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsCredentialQuery
Description

Tests if a CredentialQuery is available.

Returnbooleantrue if a credential query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetCredentialQuery
Description

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

Returnosid.course.program.CredentialQuerya credential query
ErrorsUNIMPLEMENTEDsupportsCredentialQuery() is false
ComplianceoptionalThis method must be implemented if supportsCredentialQuery() is true .
MethodclearCredentialTerms
Description

Clears the credential terms.

CompliancemandatoryThis method must be implemented.
MethodmatchIsMatriculationKnown
Description

Matches credential entries with a matriculation known value.

Parametersbooleanmatchtrue to match a true value, false to match a false value
CompliancemandatoryThis method must be implemented.
MethodclearIsMatriculationKnownTerms
Description

Clears the matriculation known terms.

CompliancemandatoryThis method must be implemented.
MethodmatchStartDate
Description

Matches start dates between the given dates inclusive.

Parametersosid.calendaring.DateTimefromstarting date
osid.calendaring.DateTimetoending date
booleanmatchtrue if a positive match, false for a negative match
ErrorsINVALID_ARGUMENTfrom is greater than to
NULL_ARGUMENTfrom or to is null
CompliancemandatoryThis method must be implemented.
MethodmatchAnyStartDate
Description

Matches credential entries with any start date.

Parametersbooleanmatchtrue to match entries with a start date, false to match entries with no start date
CompliancemandatoryThis method must be implemented.
MethodclearStartDateTerms
Description

Clears the start date terms.

CompliancemandatoryThis method must be implemented.
MethodmatchStartTermId
Description

Sets the start term Id for this query.

Parametersosid.id.IdstartTermIda start term Id
booleanmatchtrue if a positive match, false for a negative match
ErrorsNULL_ARGUMENTstartTermId is null
CompliancemandatoryThis method must be implemented.
MethodclearStartTermIdTerms
Description

Clears the start term Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsStartTermQuery
Description

Tests if a TermQuery is available.

Returnbooleantrue if a start term query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetStartTermQuery
Description

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

Returnosid.course.TermQuerya start term query
ErrorsUNIMPLEMENTEDsupportsStartTermQuery() is false
ComplianceoptionalThis method must be implemented if supportsStartTermQuery() is true .
MethodclearStartTermTerms
Description

Clears the start term terms.

CompliancemandatoryThis method must be implemented.
MethodmatchIsExpectedToComplete
Description

Matches credential entries with a expected to complete value.

Parametersbooleanmatchtrue to match a true value, false to match a false value
CompliancemandatoryThis method must be implemented.
MethodclearIsExpectedToCompleteTerms
Description

Clears the expected to complete terms.

CompliancemandatoryThis method must be implemented.
MethodmatchExpectedCompletionDate
Description

Matches expected completion dates between the given dates inclusive.

Parametersosid.calendaring.DateTimefromstarting date
osid.calendaring.DateTimetoending date
booleanmatchtrue if a positive match, false for a negative match
ErrorsINVALID_ARGUMENTfrom is greater than to
NULL_ARGUMENTfrom or to is null
CompliancemandatoryThis method must be implemented.
MethodmatchAnyExpectedCompletionDate
Description

Matches credential entries with any expected completion date.

Parametersbooleanmatchtrue to match entries with a expected completion date, false to match entries with no expected completion date
CompliancemandatoryThis method must be implemented.
MethodclearExpectedCompletionDateTerms
Description

Clears the expected completion date terms.

CompliancemandatoryThis method must be implemented.
MethodmatchExpectedCompletionTermId
Description

Sets the expected completion term Id for this query.

Parametersosid.id.IdexpectedCompletionTermIda expected completion term Id
booleanmatchtrue if a positive match, false for a negative match
ErrorsNULL_ARGUMENTexpectedCompletionTermId is null
CompliancemandatoryThis method must be implemented.
MethodclearExpectedCompletionTermIdTerms
Description

Clears the expected completion term Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsExpectedCompletionTermQuery
Description

Tests if a TermQuery is available.

Returnbooleantrue if a expected completion term query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetExpectedCompletionTermQuery
Description

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

Returnosid.course.TermQuerya expected completion term query
ErrorsUNIMPLEMENTEDsupportsExpectedCompletionTermQuery() is false
ComplianceoptionalThis method must be implemented if supportsExpectedCompletionTermQuery() is true .
MethodclearExpectedCompletionTermTerms
Description

Clears the expected completion term terms.

CompliancemandatoryThis method must be implemented.
MethodmatchIsActivelyPursuing
Description

Matches credential entries with a actively pursuing value.

Parametersbooleanmatchtrue to match a true value, false to match a false value
CompliancemandatoryThis method must be implemented.
MethodclearIsActivelyPursuingTerms
Description

Clears the actively pursuing terms.

CompliancemandatoryThis method must be implemented.
MethodmatchIsPaused
Description

Matches credential entries with a paused value.

Parametersbooleanmatchtrue to match a true value, false to match a false value
CompliancemandatoryThis method must be implemented.
MethodclearIsPausedTerms
Description

Clears the paused terms.

CompliancemandatoryThis method must be implemented.
MethodmatchIsAbandoned
Description

Matches credential entries with a abandoned value.

Parametersbooleanmatchtrue to match a true value, false to match a false value
CompliancemandatoryThis method must be implemented.
MethodclearIsAbandonedTerms
Description

Clears the abandoned terms.

CompliancemandatoryThis method must be implemented.
MethodmatchAbandonDate
Description

Matches abandon dates between the given dates inclusive.

Parametersosid.calendaring.DateTimefromstarting date
osid.calendaring.DateTimetoending date
booleanmatchtrue if a positive match, false for a negative match
ErrorsINVALID_ARGUMENTfrom is greater than to
NULL_ARGUMENTfrom or to is null
CompliancemandatoryThis method must be implemented.
MethodmatchAnyAbandonDate
Description

Matches credential entries with any abandon date.

Parametersbooleanmatchtrue to match entries with a abandon date, false to match entries with no abandon date
CompliancemandatoryThis method must be implemented.
MethodclearAbandonDateTerms
Description

Clears the abandon date terms.

CompliancemandatoryThis method must be implemented.
MethodmatchAbandonTermId
Description

Sets the abandon term Id for this query.

Parametersosid.id.IdabandonTermIda abandon term Id
booleanmatchtrue if a positive match, false for a negative match
ErrorsNULL_ARGUMENTabandonTermId is null
CompliancemandatoryThis method must be implemented.
MethodclearAbandonTermIdTerms
Description

Clears the abandon term Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsAbandonTermQuery
Description

Tests if a TermQuery is available.

Returnbooleantrue if a abandon term query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetAbandonTermQuery
Description

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

Returnosid.course.TermQuerya abandon term query
ErrorsUNIMPLEMENTEDsupportsAbandonTermQuery() is false
ComplianceoptionalThis method must be implemented if supportsAbandonTermQuery() is true .
MethodclearAbandonTermTerms
Description

Clears the abandon term terms.

CompliancemandatoryThis method must be implemented.
MethodmatchIsAwarded
Description

Matches credential entries with a awarded value.

Parametersbooleanmatchtrue to match a true value, false to match a false value
CompliancemandatoryThis method must be implemented.
MethodclearIsAwardedTerms
Description

Clears the awarded terms.

CompliancemandatoryThis method must be implemented.
MethodmatchAwardDate
Description

Matches award dates between the given dates inclusive.

Parametersosid.calendaring.DateTimefromstarting date
osid.calendaring.DateTimetoending date
booleanmatchtrue if a positive match, false for a negative match
ErrorsINVALID_ARGUMENTfrom is greater than to
NULL_ARGUMENTfrom or to is null
CompliancemandatoryThis method must be implemented.
MethodmatchAnyAwardDate
Description

Matches credential entries with any award date.

Parametersbooleanmatchtrue to match entries with a award date, false to match entries with no award date
CompliancemandatoryThis method must be implemented.
MethodclearAwardDateTerms
Description

Clears the award date terms.

CompliancemandatoryThis method must be implemented.
MethodmatchAwardTermId
Description

Sets the award term Id for this query.

Parametersosid.id.IdawardTermIda award term Id
booleanmatchtrue if a positive match, false for a negative match
ErrorsNULL_ARGUMENTawardTermId is null
CompliancemandatoryThis method must be implemented.
MethodclearAwardTermIdTerms
Description

Clears the award term Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsAwardTermQuery
Description

Tests if a TermQuery is available.

Returnbooleantrue if a award term query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetAwardTermQuery
Description

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

Returnosid.course.TermQuerya award term query
ErrorsUNIMPLEMENTEDsupportsAwardTermQuery() is false
ComplianceoptionalThis method must be implemented if supportsAwardTermQuery() is true .
MethodclearAwardTermTerms
Description

Clears the award term terms.

CompliancemandatoryThis method must be implemented.
MethodmatchDateAwarded
Description

Matches award dates between the given dates inclusive.

Parametersosid.calendaring.DateTimefromstarting date
osid.calendaring.DateTimetoending date
booleanmatchtrue if a positive match, false for a negative match
ErrorsINVALID_ARGUMENTfrom is greater than to
NULL_ARGUMENTfrom or to is null
CompliancemandatoryThis method must be implemented.
MethodmatchAnyDateAwarded
Description

Matches entries that have any award date.

Parametersbooleanmatchtrue to match entries with any award date, false to match entries with no award date
CompliancemandatoryThis method must be implemented.
MethodclearDateAwardedTerms
Description

Clears the award date terms.

CompliancemandatoryThis method must be implemented.
MethodmatchProgramId
Description

Sets the program Id for this query.

Parametersosid.id.IdprogramIda program Id
booleanmatchtrue if a positive match, false for a negative match
ErrorsNULL_ARGUMENTprogramId is null
CompliancemandatoryThis method must be implemented.
MethodclearProgramIdTerms
Description

Clears the program Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsProgramQuery
Description

Tests if a ProgramQuery is available.

Returnbooleantrue if a program query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetProgramQuery
Description

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

Returnosid.course.program.ProgramQuerya program query
ErrorsUNIMPLEMENTEDsupportsProgramQuery() is false
ComplianceoptionalThis method must be implemented if supportsProgramQuery() is true .
MethodmatchAnyProgram
Description

Matches entries that have any program.

Parametersbooleanmatchtrue to match entries with any program false to match entries with no program
CompliancemandatoryThis method must be implemented.
MethodclearProgramTerms
Description

Clears the program terms.

CompliancemandatoryThis method must be implemented.
MethodmatchCourseCatalogId
Description

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

Parametersosid.id.IdcourseCatalogIdthe course catalog Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTcourseCatalogId is null
CompliancemandatoryThis method must be implemented.
MethodclearCourseCatalogIdTerms
Description

Clears the course catalog Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsCourseCatalogQuery
Description

Tests if a CourseCatalogQuery is available.

Returnbooleantrue if a course catalog query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetCourseCatalogQuery
Description

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

Returnosid.course.CourseCatalogQuerythe course catalog query
ErrorsUNIMPLEMENTEDsupportsCourseCatalogQuery() is false
ComplianceoptionalThis method must be implemented if supportsCourseCatalogQuery() is true .
MethodclearCourseCatalogTerms
Description

Clears the course catalog terms.

CompliancemandatoryThis 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.TypecredentialEntryRecordTypea credential entry record type
Returnosid.course.chronicle.records.CredentialEntryQueryRecordthe credential entry query record
ErrorsNULL_ARGUMENTcredentialEntryRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(credentialEntryRecordType) is false
CompliancemandatoryThis method must be implemented.