| Interface | osid.learning.ObjectiveBankHierarchyDesignSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
This session defines methods for managing a hierarchy of
| ||
| Method | getObjectiveBankHierarchyId | ||
| Description |
Gets the hierarchy | ||
| Return | osid.id.Id | the hierarchy Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getObjectiveBankHierarchy | ||
| Description |
Gets the hierarchy associated with this session. | ||
| Return | osid.hierarchy.Hierarchy | the hierarchy associated with this session | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canModifyObjectiveBankHierarchy | ||
| Description |
Tests if this user can change the hierarchy. A return
of true does not guarantee successful authorization. A
return of false indicates that it is known performing any
update will result in a | ||
| Return | boolean | false if changing this hierarchy is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | addRootObjectiveBank | ||
| Description |
Adds a root objective bank. | ||
| Parameters | osid.id.Id | objectiveBankId | the Id of an objective bank |
| Errors | ALREADY_EXISTS | objectiveBankId is already in hierarchy | |
| NOT_FOUND | objectiveBankId not found | ||
| NULL_ARGUMENT | objectiveBankId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | removeRootObjectiveBank | ||
| Description |
Removes a root objective bank. | ||
| Parameters | osid.id.Id | objectiveBankId | the Id of an objective bank |
| Errors | NOT_FOUND | objectiveBankId is not a root | |
| NULL_ARGUMENT | objectiveBankId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | addChildObjectiveBank | ||
| Description |
Adds a child to an objective bank. | ||
| Parameters | osid.id.Id | objectiveBankId | the Id of an objective bank |
osid.id.Id | childId | the Id of the new child | |
| Errors | ALREADY_EXISTS | objectiveBankId is already a parent of childId
| |
| NOT_FOUND | objectiveBankId or childId not found | ||
| NULL_ARGUMENT | objectiveBankId or childId is null
| ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | removeChildObjectiveBank | ||
| Description |
Removes a child from an objective bank. | ||
| Parameters | osid.id.Id | objectiveBankId | the Id of an objective bank |
osid.id.Id | childId | the Id of the child | |
| Errors | NOT_FOUND | objectiveBankId not a parent of childId | |
| NULL_ARGUMENT | objectiveBankId or childId is null
| ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | removeChildObjectiveBanks | ||
| Description |
Removes all children from an objective bank. | ||
| Parameters | osid.id.Id | objectiveBankId | the Id of an objective bank |
| Errors | NOT_FOUND | objectiveBankId not in hierarchy | |
| NULL_ARGUMENT | objectiveBankId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |