| Interface | osid.learning.ProficiencyObjectiveBankAssignmentSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.learning.LearningManager | ||
osid.learning.LearningProxyManager | |||
| Description |
This session provides methods to re-assign
Adding a reference of a | ||
| Method | canAssignProficiencies | ||
| Description |
Tests if this user can alter proficiency/objective
bank mappings. 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 | canAssignProficienciesToObjectiveBank | ||
| Description |
Tests if this user can alter proficiency/objective
bank mappings. 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 | ||
| Parameters | osid.id.Id | objectiveBankId | the Id of the ObjectiveBank |
| Return | boolean | false if mapping is not authorized, true
otherwise | |
| Errors | NULL_ARGUMENT | objectiveBankId is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssignableObjectiveBankIds | ||
| Description |
Gets a list of objective banks including and under the given objective bank proficiency in which any proficiency can be assigned. | ||
| Parameters | osid.id.Id | objectiveBankId | the Id of the ObjectiveBank |
| Return | osid.id.IdList | list of assignable objectiveBank Ids | |
| Errors | NULL_ARGUMENT | objectiveBankId is null | |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssignableObjectiveBankIdsForProficiency | ||
| Description |
Gets a list of objective banks including and under the given objective bank proficiency in which a specific proficiency can be assigned. | ||
| Parameters | osid.id.Id | objectiveBankId | the Id of the ObjectiveBank |
osid.id.Id | proficiencyId | the Id of the Proficiency | |
| Return | osid.id.IdList | list of assignable objectiveBank Ids | |
| Errors | NULL_ARGUMENT | objectiveBankId or proficiencyId is
null | |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | assignProficiencyToObjectiveBank | ||
| Description |
Adds an existing | ||
| Parameters | osid.id.Id | proficiencyId | the Id of the Proficiency |
osid.id.Id | objectiveBankId | the Id of the ObjectiveBank | |
| Errors | ALREADY_EXISTS | proficiencyId is already mapped to
objectiveBankId | |
| NOT_FOUND | proficiencyId or objectiveBankId not found | ||
| NULL_ARGUMENT | proficiencyId or objectiveBankId is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | unassignProficiencyFromObjectiveBank | ||
| Description |
Removes a | ||
| Parameters | osid.id.Id | proficiencyId | the Id of the Proficiency |
osid.id.Id | objectiveBankId | the Id of the ObjectiveBank | |
| Errors | NOT_FOUND | proficiencyId or objectiveBankId not found or
proficiencyId not mapped to objectiveBankId | |
| NULL_ARGUMENT | proficiencyId or objectiveBankId is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | reassignProficiencyToObjectiveBank | ||
| Description |
Moves a | ||
| Parameters | osid.id.Id | proficiencyId | the Id of the Proficiency |
osid.id.Id | fromObjectiveBankId | the Id of the current ObjectiveBank | |
osid.id.Id | toObjectiveBankId | the Id of the destination ObjectiveBank | |
| Errors | ALREADY_EXISTS | proficiencyId already assigned to
toObjectiveBankId | |
| NOT_FOUND | proficiencyId, fromObjectiveBankId, or
toObjectiveBankId not found or proficiencyId not
mapped to fromObjectiveBankId | ||
| NULL_ARGUMENT | proficiencyId, fromObjectiveBankId, or
toObjectiveBankId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |