| Interface | osid.learning.ActivityQuery | ||
|---|---|---|---|
| Implements | osid.OsidObjectQuery | ||
osid.OsidSubjugateableQuery | |||
| Description | 
                 This is the query for searching activities. Each method 
                match request produces an   | ||
| Method | matchObjectiveId | ||
| Description | 
                     Sets the objective   | ||
| Parameters | osid.id.Id | objectiveId | an objective  Id   | 
boolean | match |  true  for a positive match,  false  for a 
negative match  | |
| Errors | NULL_ARGUMENT |  objectiveId  is  null   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearObjectiveIdTerms | ||
| Description | 
                     Clears the objective   | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsObjectiveQuery | ||
| Description | 
                     Tests if an   | ||
| Return | boolean |  true  if an objective query is available,  false 
 otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getObjectiveQuery | ||
| Description | 
                     Gets the query for an objective. Multiple retrievals 
                    produce a nested   | ||
| Return | osid.learning.ObjectiveQuery | the objective query | |
| Errors | UNIMPLEMENTED |  supportsObjectiveQuery()  is  false   |                 |
| Compliance | optional | This method must be implemented if  supportsObjectiveQuery()  
is  true.   | |
| Method | clearObjectiveTerms | ||
| Description | 
                     Clears the objective terms.  | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | matchAssetId | ||
| Description | 
                     Sets the asset   | ||
| Parameters | osid.id.Id | assetId | an asset  Id   | 
boolean | match |  true  for a positive match,  false  for a 
negative match  | |
| Errors | NULL_ARGUMENT |  assetId  is  null   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearAssetIdTerms | ||
| Description | 
                     Clears the asset   | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsAssetQuery | ||
| Description | 
                     Tests if an   | ||
| Return | boolean |  true  if an robjective query is available,  false 
 otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssetQuery | ||
| Description | 
                     Gets the query for an asset. Multiple retrievals 
                    produce a nested   | ||
| Return | osid.repository.AssetQuery | the asset query | |
| Errors | UNIMPLEMENTED |  supportsAssetQuery()  is  false   |                 |
| Compliance | optional | This method must be implemented if  supportsObjectiveQuery()  
is  true.   | |
| Method | matchAnyAsset | ||
| Description | 
                     Matches an activity that has any objective assigned.  | ||
| Parameters | boolean | match |  true  to match activities with any asset,  false 
 to match activities with no asset  | 
| Compliance | mandatory | This method must be implemented. | |
| Method | clearAssetTerms | ||
| Description | 
                     Clears the asset terms.  | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | matchCourseId | ||
| Description | 
                     Sets the course   | ||
| Parameters | osid.id.Id | courseId | a course  Id   | 
boolean | match |  true  for a positive match,  false  for a 
negative match  | |
| Errors | NULL_ARGUMENT |  courseId  is  null   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearCourseIdTerms | ||
| Description | 
                     Clears the course   | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsCourseQuery | ||
| Description | 
                     Tests if a   | ||
| Return | boolean |  true  if a course query is available,  false  
otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCourseQuery | ||
| Description | 
                     Gets the query for a course. Multiple retrievals 
                    produce a nested   | ||
| Return | osid.course.CourseQuery | the course query | |
| Errors | UNIMPLEMENTED |  supportsCourseQuery()  is  false   |                 |
| Compliance | optional | This method must be implemented if  supportsCourseQuery()  is 
 true.   | |
| Method | matchAnyCourse | ||
| Description | 
                     Matches an activity that has any course assigned.  | ||
| Parameters | boolean | match |  true  to match activities with any courses,  false 
 to match activities with no courses  | 
| Compliance | mandatory | This method must be implemented. | |
| Method | clearCourseTerms | ||
| Description | 
                     Clears the course terms.  | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | matchAssessmentId | ||
| Description | 
                     Sets the assessment   | ||
| Parameters | osid.id.Id | assessmentId | an assessment  Id   | 
boolean | match |  true  for a positive match,  false  for a 
negative match  | |
| Errors | NULL_ARGUMENT |  assessmentId  is  null   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearAssessmentIdTerms | ||
| Description | 
                     Clears the assessment   | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsAssessmentQuery | ||
| Description | 
                     Tests if an   | ||
| Return | boolean |  true  if an assessment query is available,  false 
 otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssessmentQuery | ||
| Description | 
                     Gets the query for a assessment. Multiple retrievals 
                    produce a nested   | ||
| Return | osid.assessment.AssessmentQuery | the assessment query | |
| Errors | UNIMPLEMENTED |  supportsAssessmentQuery()  is  false   |                 |
| Compliance | optional | This method must be implemented if  supportsAssessmentQuery()  
is  true.   | |
| Method | matchAnyAssessment | ||
| Description | 
                     Matches an activity that has any assessment assigned.  | ||
| Parameters | boolean | match |  true  to match activities with any assessments,  false 
 to match activities with no assessments  | 
| Compliance | mandatory | This method must be implemented. | |
| Method | clearAssessmentTerms | ||
| Description | 
                     Clears the assessment terms.  | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | matchObjectiveBankId | ||
| Description | 
                     Sets the objective bank   | ||
| Parameters | osid.id.Id | objectiveBankId | an objective bank  Id   | 
boolean | match |  true  for a positive match,  false  for a 
negative match  | |
| Errors | NULL_ARGUMENT |  objectiveBankId  is  null   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearObjectiveBankIdTerms | ||
| Description | 
                     Clears the objective bank   | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsObjectiveBankQuery | ||
| Description | 
                     Tests if a   | ||
| Return | boolean |  true  if an objective bank query is available,  false 
 otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getObjectiveBankQuery | ||
| Description | 
                     Gets the query for an objective bank. Multiple 
                    retrievals produce a nested   | ||
| Return | osid.learning.ObjectiveBankQuery | the objective bank query | |
| Errors | UNIMPLEMENTED |  supportsObjectiveBankQuery()  is  false   |                 |
| Compliance | optional | This method must be implemented if  supportsObjectiveBankQuery() 
 is  true.   | |
| Method | clearObjectiveBankTerms | ||
| Description | 
                     Clears the objective bank terms.  | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getActivityQueryRecord | ||
| Description | 
                     Gets the activity query record corresponding to the 
                    given   | ||
| Parameters | osid.type.Type | activityRecordType | an activity query record type | 
| Return | osid.learning.records.ActivityQueryRecord | the activity query record | |
| Errors | NULL_ARGUMENT |  activityRecordType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED |  hasRecordType(activityRecordType)  is  false   |                 ||
| Compliance | mandatory | This method must be implemented. | |