OSID Logo
OSID Specifications
assessment authoring package
Version 3.1.0
Interfaceosid.assessment.authoring.AssessmentPartSmartBankSession
Implementsosid.OsidSession
Used Byosid.assessment.authoring.AssessmentAuthoringManager
osid.assessment.authoring.AssessmentAuthoringProxyManager
Description

This session manages queries and sequencing to create "smart" dynamic bank. An AssessmentPartQuery can be retrieved from this session and mapped to this Bank to create a virtual collection of assessment parts. The assessment part may be sequenced using the AssessmentPartSearchOrder from this session.

This Bank has a default query that matches any assessment part and a default search order that specifies no sequencing. The queries may be examined using an AssessmentPartQueryInspector. The query may be modified by converting the inspector back to an AssessmentPartQuery.

MethodgetBankId
Description

Gets the Bank Id associated with this session.

Returnosid.id.Id the Bank Id associated with this session
Compliancemandatory This method must be implemented.
MethodgetBank
Description

Gets the Bank associated with this session.

Returnosid.assessment.Bank the bank
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanManageSmartBanks
Description

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

Returnboolean false if smart bank management is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodgetAssessmentPartQuery
Description

Gets an assessment part query.

Returnosid.assessment.authoring.AssessmentPartQuery the assessment part query
Compliancemandatory This method must be implemented.
MethodgetAssessmentPartSearchOrder
Description

Gets an assessment part search order.

Returnosid.assessment.authoring.AssessmentPartSearchOrder the assessment part search order
Compliancemandatory This method must be implemented.
MethodapplyAssessmentPartQuery
Description

Applies an assessment part query to this bank.

Parametersosid.assessment.authoring.AssessmentPartQueryassessmentPartQuery the assessment part query
ErrorsNULL_ARGUMENT assessmentPartQuery is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED assessmentPartQuery not of this service
Compliancemandatory This method must be implemented.
MethodinspectAssessmentPartQuery
Description

Gets an assessment part query inspector for this bank.

Returnosid.assessment.authoring.AssessmentPartQueryInspector the assessment part query inspector
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
Compliancemandatory This method must be implemented.
MethodapplyAssessmentPartSequencing
Description

Applies an assessment part search order to this bank.

Parametersosid.assessment.authoring.AssessmentPartSearchOrderassessmentPartSearchOrder the assessment part search order
ErrorsNULL_ARGUMENT assessmentPartSearchOrder is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED assessmentPartSearchOrder not of this service
Compliancemandatory This method must be implemented.
MethodgetAssessmentPartQueryFromInspector
Description

Gets an assessment part query from an inspector.

Parametersosid.assessment.authoring.AssessmentPartQueryInspectorassessmentPartQueryInspector an assessment part query inspector
Returnosid.assessment.authoring.AssessmentPartQuery the assessment part query
ErrorsNULL_ARGUMENT assessmentPartQueryInspector is null
UNSUPPORTED assessmentPartQueryInspector is not of this service
Compliancemandatory This method must be implemented.