public interface AssessmentResultsSession extends OsidSession
This session is used to access the tested assessment items and their associated responses. Assessment results may also be available and is expressed as a rubric through another assessment.
| Modifier and Type | Method and Description |
|---|---|
boolean |
areResultsAvailable(Id assessmentTakenId)
Tests if the results are available for this assessment.
|
boolean |
canAccessAssessmentResults()
Tests if this user can take this assessment.
|
Bank |
getBank()
Gets the
Bank associated with this session. |
Id |
getBankId()
Gets the
Bank Id associated with this
session. |
GradeEntryList |
getGradeEntries(Id assessmentTakenId)
Gets a list of grade entries for this assessment.
|
ItemList |
getItems(Id assessmentTakenId)
Gets the items questioned in a assessment.
|
ResponseList |
getResponses(Id assessmentTakenId)
Gets the submitted responses.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseId getBankId()
Bank Id associated with this
session. Bank Id associated with this sessionmandatory - This method must be implemented. Bank getBank() throws OperationFailedException, PermissionDeniedException
Bank associated with this session. Bank associated with this sessionOperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. boolean canAccessAssessmentResults()
PERMISSION_DENIED. This is intended as a hint to an
application that may opt not to offer assessment operations to
unauthorized users. false if assessment methods are not authorized,
true otherwisemandatory - This method must be implemented. ItemList getItems(Id assessmentTakenId) throws NotFoundException, OperationFailedException, PermissionDeniedException
assessmentTakenId - Id of the
AssessmentTaken NotFoundException - assessmentTakenId is
not foundNullArgumentException - assessmentTakenId
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredmandatory - This method must be implemented. ResponseList getResponses(Id assessmentTakenId) throws NotFoundException, OperationFailedException, PermissionDeniedException
assessmentTakenId - Id of the
AssessmentTaken NotFoundException - assessmentTakenId is
not foundNullArgumentException - assessmentTakenId
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. boolean areResultsAvailable(Id assessmentTakenId) throws NotFoundException, OperationFailedException, PermissionDeniedException
assessmentTakenId - Id of the
AssessmentTaken true if results are available, false
otherwiseNotFoundException - assessmentTakenId is
not foundNullArgumentException - assessmentTakenId
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. GradeEntryList getGradeEntries(Id assessmentTakenId) throws NotFoundException, OperationFailedException, PermissionDeniedException
assessmentTakenId - Id of the
AssessmentTaken IllegalStateException - areResultsAvailable()
is false NotFoundException - assessmentTakenId is
not foundNullArgumentException - assessmentTakenId
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented.