| Interface | osid.learning.ProficiencyAdminSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
This session creates, updates, and deletes Create and update operations differ in their usage. To
create a For updates, The delete operations delete This session includes 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 obective bank | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateProficiencies | ||
| Description |
Tests if this user can create | ||
| Return | boolean | false if Proficiency creation is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateProficiencyWithRecordTypes | ||
| Description |
Tests if this user can create a single | ||
| Parameters | osid.type.Type[] | proficiencyRecordTypes | array of proficiency record types |
| Return | boolean | true if Proficiency creation using the
specified record Types is supported, false
otherwise | |
| Errors | NULL_ARGUMENT | proficiencyRecordTypes is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getProficiencyFormForCreate | ||
| Description |
Gets the proficiency form for creating new proficiencies. A new form should be requested for each create transaction. | ||
| Parameters | osid.id.Id | objectiveId | the Id of the Objective |
osid.id.Id | resourceId | the Id of the Resource | |
osid.type.Type[] | proficiencyRecordTypes | array of proficiency record types | |
| Return | osid.learning.ProficiencyForm | the proficiency form | |
| Errors | NOT_FOUND | objectiveId or resourceId is not found | |
| NULL_ARGUMENT | objectiveId, resourceId, or proficienyRecordTypes
is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | unable to get form for requested record types | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | createProficiency | ||
| Description |
Creates a new | ||
| Parameters | osid.learning.ProficiencyForm | proficiencyForm | the form for this Proficiency |
| Return | osid.learning.Proficiency | the new Proficiency | |
| Errors | ILLEGAL_STATE | proficiencyForm already used in a create transaction | |
| INVALID_ARGUMENT | one or more of the form elements is invalid | ||
| NULL_ARGUMENT | proficiencyForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | proficiencyForm did not originate from
getProficiencyFormForCreate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canUpdateProficiencies | ||
| Description |
Tests if this user can update | ||
| Return | boolean | false if Proficiency modification is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getProficiencyFormForUpdate | ||
| Description |
Gets the proficiency form for updating an existing proficiency. | ||
| Parameters | osid.id.Id | proficiencyId | the Id of the Proficiency |
| Return | osid.learning.ProficiencyForm | the proficiency form | |
| Errors | NOT_FOUND | proficiencyId is not found | |
| NULL_ARGUMENT | proficiencyId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | updateProficiency | ||
| Description |
Updates an existing proficiency. | ||
| Parameters | osid.learning.ProficiencyForm | proficiencyForm | the form containing the elements to be updated |
| Errors | ILLEGAL_STATE | proficiencyForm already used in an update transaction | |
| INVALID_ARGUMENT | the form contains an invalid value | ||
| NULL_ARGUMENT | proficiencyForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | proficiencyForm did not originate from
getProficiencyFormForUpdate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canDeleteProficiencies | ||
| Description |
Tests if this user can delete | ||
| Return | boolean | false if Proficiency deletion is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteProficiency | ||
| Description |
Deletes a | ||
| Parameters | osid.id.Id | proficiencyId | the Id of the Proficiency to remove |
| Errors | NOT_FOUND | proficiencyId not found | |
| NULL_ARGUMENT | proficiencyId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteProficiencies | ||
| Description |
Deletes all proficiencies in this | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManageProficiencyAliases | ||
| Description |
Tests if this user can manage | ||
| Return | boolean | false if Proficiency aliasing is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | aliasProficiency | ||
| Description |
Adds an | ||
| Parameters | osid.id.Id | proficiencyId | the Id of a Proficiency |
osid.id.Id | aliasId | the alias Id | |
| Errors | ALREADY_EXISTS | aliasId is already assigned | |
| NOT_FOUND | proficiencyId not found | ||
| NULL_ARGUMENT | proficiencyId or aliasId is null
| ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |