Interface | osid.learning.ObjectiveObjectiveBankAssignmentSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods to re-assign Moving or adding a reference of an | ||
Method | canAssignObjectives | ||
Description |
Tests if this user can alter objective/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 | canAssignObjectivesToObjectiveBank | ||
Description |
Tests if this user can alter objective/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 node in which any objective can be assigned. | ||
Parameters | osid.id.Id | objectiveBankId | the Id of the ObjectiveBank |
Return | osid.id.IdList | list of assignable objective bank Ids | |
Errors | NULL_ARGUMENT | objectiveBankId is null | |
OPERATION_FAILED | unable to complete request | ||
Compliance | mandatory | This method must be implemented. | |
Method | getAssignableObjectiveBankIdsForObjective | ||
Description |
Gets a list of objective banks including and under the given objective bank node in which a specific objective can be assigned. | ||
Parameters | osid.id.Id | objectiveBankId | the Id of the ObjectiveBank |
osid.id.Id | objectiveId | the Id of the Objective | |
Return | osid.id.IdList | list of assignable objective bank Ids | |
Errors | NULL_ARGUMENT | objectiveId or objectiveBankId is null
| |
OPERATION_FAILED | unable to complete request | ||
Compliance | mandatory | This method must be implemented. | |
Method | assignObjectiveToObjectiveBank | ||
Description |
Adds an existing | ||
Parameters | osid.id.Id | objectiveId | the Id of the Objective |
osid.id.Id | objectiveBankId | the Id of the ObjectiveBank | |
Errors | ALREADY_EXISTS | objectiveId already mapped to objectiveBankId | |
NOT_FOUND | objectiveId or objectiveBankId not found | ||
NULL_ARGUMENT | objectiveId or objectiveBankId is null
| ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | unassignObjectiveFromObjectiveBank | ||
Description |
Removes an | ||
Parameters | osid.id.Id | objectiveId | the Id of the Objective |
osid.id.Id | objectiveBankId | the Id of the ObjectiveBank | |
Errors | NOT_FOUND | objectiveId or objectiveBankId not found or
objectiveId not mapped to objectiveBankId | |
NULL_ARGUMENT | objectiveId 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 an | ||
Parameters | osid.id.Id | objectiveId | the Id of the Objective |
osid.id.Id | fromObjectiveBankId | the Id of the current ObjectiveBank | |
osid.id.Id | toObjectiveBankId | the Id of the destination ObjectiveBank | |
Errors | NOT_FOUND | objectiveId, fromObjectiveBankId, or
toObjectiveBankId not found or objectiveId not mapped
to fromObjectiveBankId | |
NULL_ARGUMENT | objectiveId, fromObjectiveBankId, or
toObjectiveBankId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |