Interface | osid.assessment.authoring.AssessmentPartItemDesignSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides the means for adding items to an
assessment part. The item is identified inside an assesment
part using its own Id. To add the same item to the assessment
part, multiple assessment parts should be used and placed at
the same level in the | ||
Method | getBankId | ||
Description |
Gets the | ||
Return | osid.id.Id | the Bank Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getBank | ||
Description |
Gets the | ||
Return | osid.assessment.Bank | the Bank associated with this session | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canDesignAssessmentParts | ||
Description |
Tests if this user can manage mapping of | ||
Return | boolean | false if assessment part composition is not authorized,
true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | addItem | ||
Description |
Appends an item to an assessment part. | ||
Parameters | osid.id.Id | itemId | Id of the Item |
osid.id.Id | assessmentPartId | Id of the AssessmentPart | |
Errors | ALREADY_EXISTS | itemId already part of assessmentPartId | |
NOT_FOUND | itemId or assessmentPartId not found | ||
NULL_ARGUMENT | itemId or assessmentPartId is null
| ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization fauilure | ||
Compliance | mandatory | This method must be implemented. | |
Method | moveItemAhead | ||
Description |
Reorders items in an assessment part by moving the specified item in front of a reference item. | ||
Parameters | osid.id.Id | itemId | Id of the Item |
osid.id.Id | assessmentPartId | Id of the AssessmentPartId | |
osid.id.Id | referenceId | Id of the reference Item | |
Errors | NOT_FOUND | itemId or referenceId not found in
assessmentPartId | |
NULL_ARGUMENT | itemId, referenceId or assessmentPartId is
null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization fauilure | ||
Compliance | mandatory | This method must be implemented. | |
Method | moveItemBehind | ||
Description |
Reorders items in an assessment part by moving the specified item behind of a reference item. | ||
Parameters | osid.id.Id | itemId | Id of the Item |
osid.id.Id | assessmentPartId | Id of the AssessmentPartId | |
osid.id.Id | referenceId | Id of the reference Item | |
Errors | NOT_FOUND | itemId or referenceId not found in
assessmentPartId | |
NULL_ARGUMENT | itemId, referenceId or assessmentPartId is
null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization fauilure | ||
Compliance | mandatory | This method must be implemented. | |
Method | orderItems | ||
Description |
Reorders a set of items in an assessment part. | ||
Parameters | osid.id.Id[] | itemIds | Ids for a set of Items |
osid.id.Id | assessmentPartId | Id of the AssessmentPartId | |
Errors | NOT_FOUND | assessmentPartId not found or, an itemId not
related to assessmentPartId | |
NULL_ARGUMENT | itemIds or agendaId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | removeItem | ||
Description |
Removes an | ||
Parameters | osid.id.Id | itemId | Id of the Item |
osid.id.Id | assessmentPartId | Id of the AssessmentPartId | |
Errors | NOT_FOUND | itemId not found in assessmentPartId | |
NULL_ARGUMENT | itemId or assessmentPartId is null
| ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization fauilure | ||
Compliance | mandatory | This method must be implemented. |