OSID Logo
OSID Specifications
assessment authoring package
Version 3.0.0
Interfaceosid.assessment.authoring.AssessmentPartItemDesignSession
Implementsosid.OsidSession
Used Byosid.assessment.authoring.AssessmentAuthoringManager
osid.assessment.authoring.AssessmentAuthoringProxyManager
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 AssessmentPart hierarchy.

MethodgetBankId
Description

Gets the Bank Id associated with this session.

Returnosid.id.Idthe Bank Id associated with this session
CompliancemandatoryThis method must be implemented.
MethodgetBank
Description

Gets the Bank associated with this session.

Returnosid.assessment.Bankthe Bank associated with this session
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodcanDesignAssessmentParts
Description

Tests if this user can manage mapping of Items to AssessmentParts . A return of true does not guarantee successful authorization. A return of false indicates that it is known all methods in this session will result in a PERMISSION_DENIED . This is intended as an application hint that may opt not to offer composition operations.

Returnbooleanfalse if assessment part composition is not authorized, true otherwise
CompliancemandatoryThis method must be implemented.
MethodaddItem
Description

Appends an item to an assessment part.

Parametersosid.id.IditemIdId of the Item
osid.id.IdassessmentPartIdId of the AssessmentPart
ErrorsALREADY_EXISTSitemId already part of assessmentPartId
NOT_FOUNDitemId or assessmentPartId not found
NULL_ARGUMENTitemId or assessmentPartId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization fauilure
CompliancemandatoryThis method must be implemented.
MethodmoveItemAhead
Description

Reorders items in an assessment part by moving the specified item in front of a reference item.

Parametersosid.id.IditemIdId of the Item
osid.id.IdassessmentPartIdId of the AssessmentPartId
osid.id.IdreferenceIdId of the reference Item
ErrorsNOT_FOUNDitemId or referenceId not found in assessmentPartId
NULL_ARGUMENTitemId, referenceId or assessmentPartId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization fauilure
CompliancemandatoryThis method must be implemented.
MethodmoveItemBehind
Description

Reorders items in an assessment part by moving the specified item behind of a reference item.

Parametersosid.id.IditemIdId of the Item
osid.id.IdassessmentPartIdId of the AssessmentPartId
osid.id.IdreferenceIdId of the reference Item
ErrorsNOT_FOUNDitemId or referenceId not found in assessmentPartId
NULL_ARGUMENTitemId, referenceId or assessmentPartId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization fauilure
CompliancemandatoryThis method must be implemented.
MethodorderItems
Description

Reorders a set of items in an assessment part.

Parametersosid.id.Id[]itemIdsIds for a set of Items
osid.id.IdassessmentPartIdId of the AssessmentPartId
ErrorsNOT_FOUNDassessmentPartId not found or, an itemId not related to assessmentPartId
NULL_ARGUMENTitemIds or agendaId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodremoveItem
Description

Removes an Item from an AssessmentPartId .

Parametersosid.id.IditemIdId of the Item
osid.id.IdassessmentPartIdId of the AssessmentPartId
ErrorsNOT_FOUNDitemId not found in assessmentPartId
NULL_ARGUMENTitemId or assessmentPartId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization fauilure
CompliancemandatoryThis method must be implemented.