Interface | osid.assessment.authoring.AssessmentPartBankSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods to retrieve This lookup session defines several views:
| ||
Method | canLookupAssessmentPartBankMappings | ||
Description |
Tests if this user can perform lookups of assessment
part/bank mappings. A return of true does not guarantee
successful authorization. A return of false indicates that
it is known lookup methods in this session will result in
a | ||
Return | boolean | false if looking up mappings is not authorized, true
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | useComparativeAssessmentPartBankView | ||
Description |
The returns from the lookup methods may omit or translate elements based on this session, such as authorization, and not result in an error. This view is used when greater interoperability is desired at the expense of precision. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | usePlenaryAssessmentPartBankView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getAssessmentPartIdsByBank | ||
Description |
Gets the list of | ||
Parameters | osid.id.Id | bankId | Id of the Bank |
Return | osid.id.IdList | list of related assessment part Ids | |
Errors | NOT_FOUND | bankId is not found | |
NULL_ARGUMENT | bankId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getAssessmentPartsByBank | ||
Description |
Gets the list of assessment parts associated with an
| ||
Parameters | osid.id.Id | bankId | Id of the Bank |
Return | osid.assessment.authoring.AssessmentPartList | list of related assessment parts | |
Errors | NOT_FOUND | bankId is not found | |
NULL_ARGUMENT | bankId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getAssessmentPartIdsByBanks | ||
Description |
Gets the list of | ||
Parameters | osid.id.IdList | bankIds | list of bank Ids |
Return | osid.id.IdList | list of assessment part Ids | |
Errors | NULL_ARGUMENT | bankIds is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getAssessmentPartsByBanks | ||
Description |
Gets the list of assessment part corresponding to a
list of | ||
Parameters | osid.id.IdList | bankIds | list of bank Ids |
Return | osid.assessment.authoring.AssessmentPartList | list of assessment parts | |
Errors | NULL_ARGUMENT | bankIds is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getBankIdsByAssessmentPart | ||
Description |
Gets the | ||
Parameters | osid.id.Id | assessmentPartId | Id of an AssessmentPart |
Return | osid.id.IdList | list of banks | |
Errors | NOT_FOUND | assessmentPartId is not found | |
NULL_ARGUMENT | assessmentPartId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getBanksByAssessmentPart | ||
Description |
Gets the | ||
Parameters | osid.id.Id | assessmentPartId | Id of an AssessmentPart |
Return | osid.assessment.BankList | list of banks | |
Errors | NOT_FOUND | assessmentPartId is not found | |
NULL_ARGUMENT | assessmentPartId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |