| Interface | osid.learning.ObjectiveRequisiteAssignmentSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session provides methods to manage requisites. Each 
                  Moving or adding a reference of an   | ||
| Method | getObjectiveBankId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the  ObjectiveBank Id  associated with this session  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getObjectiveBank | ||
| Description | 
                     Gets the   | ||
| Return | osid.learning.ObjectiveBank | the  ObjectiveBank  associated with this session  | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canAssignRequisites | ||
| Description | 
                     Tests if this user can manage objective requisites. A 
                    return of true does not guarantee successful 
                    authorization. A return of false indicates that it is 
                    known mapping methods in this session will result in a 
                      | ||
| Return | boolean |  false  if mapping is not authorized,  true  
otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | assignObjectiveRequisite | ||
| Description | 
                     Creates a requirement dependency between two   | ||
| Parameters | osid.id.Id | objectiveId | the  Id  of the dependent  Objective   | 
osid.id.Id | requisiteObjectiveId | the  Id  of the required  Objective   | |
| Errors | ALREADY_EXISTS |  objectiveId  already mapped to  requisiteObjectiveId 
  |                 |
| NOT_FOUND |  objectiveId  or  requisiteObjectiveId  not found  |                 ||
| NULL_ARGUMENT |  objectiveId  or  requisiteObjectiveId  is  
null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | unassignObjectiveRequisite | ||
| Description | 
                     Removes an   | ||
| Parameters | osid.id.Id | objectiveId | the  Id  of the  Objective   | 
osid.id.Id | requisiteObjectiveId | the  Id  of the required  Objective   | |
| Errors | NOT_FOUND |  objectiveId  or  requisiteObjectiveId  not found 
or  objectiveId  not mapped to  requisiteObjectiveId 
  |                 |
| NULL_ARGUMENT |  objectiveId  or  requisiteObjectiveId  is  
null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | assignEquivalentObjective | ||
| Description | 
                     Makes an objective equivalent to another objective for the purposes of satisfying a requisite.  | ||
| Parameters | osid.id.Id | objectiveId | the  Id  of the principal  Objective   | 
osid.id.Id | equivalentObjectiveId | the  Id  of the equivalent  Objective   | |
| Errors | ALREADY_EXISTS |  objectiveId  already mapped to  equiavelntObjectiveId 
  |                 |
| NOT_FOUND |  objectiveId  or  equivalentObjectiveId  not 
found  |                 ||
| NULL_ARGUMENT |  objectiveId  or  equivalentObjectiveId  is 
 null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | unassignEquivalentObjective | ||
| Description | 
                     Removes an   | ||
| Parameters | osid.id.Id | objectiveId | the  Id  of the principal  Objective   | 
osid.id.Id | equivalentObjectiveId | the  Id  of the equivalent  Objective   | |
| Errors | NOT_FOUND |  objectiveId  or  equivalentObjectiveId  not 
found or  objectiveId  is already equivalent to  
equivalentObjectiveId   |                 |
| NULL_ARGUMENT |  objectiveId  or  equivalentObjectiveId  is 
 null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |