public interface GradebookColumnGradebookSession extends OsidSession
This session provides methods to retrieve GradebookColumn
to Gradebook mappings. A GradebookColumn
may appear in multiple Gradebooks. Each
Gradebook may have its own authorizations governing who is allowed
to look at it.
This lookup session defines two views:
| Modifier and Type | Method and Description |
|---|---|
boolean |
canLookupGradebookColumnGradebookMappings()
Tests if this user can perform lookups of gradebook/column mappings.
|
IdList |
getGradebookColumnIdsByGradebook(Id gradebookId)
Gets the list of
GradebookColumn Ids
associated with a Gradebook. |
IdList |
getGradebookColumnIdsByGradebooks(IdList gradebookIds)
Gets the list of
GradebookColumn Ids corresponding to a
list of Gradebooks. |
GradebookColumnList |
getGradebookColumnsByGradebook(Id gradebookId)
Gets the list of gradebook columns associated with a
Gradebook. |
GradebookColumnList |
getGradebookColumnsByGradebooks(IdList gradebookIds)
Gets the list of gradebook columns corresponding to a list of
Gradebooks. |
IdList |
getGradebookIdsByGradebookColumn(Id gradebookColumnId)
Gets the list of
Gradebook Ids mapped to
a GradebookColumn. |
GradebookList |
getGradebooksByGradebookColumn(Id gradebookColumnId)
Gets the list of
Gradebooks mapped to a
GradebookColumn. |
void |
useComparativeGradebookView()
The returns from the lookup methods may omit or translate elements
based on this session, such as authorization, and not result in an
error.
|
void |
usePlenaryGradebookView()
A complete view of the
GradebookColumn and
Gradebook returns is desired. |
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionsclosevoid useComparativeGradebookView()
mandatory - This method is must be implemented. void usePlenaryGradebookView()
GradebookColumn and
Gradebook returns is desired. Methods will return what is
requested or result in an error. This view is used when greater
precision is desired at the expense of interoperability.mandatory - This method is must be implemented. boolean canLookupGradebookColumnGradebookMappings()
PERMISSION_DENIED. This is intended as
a hint to an application that may opt not to offer lookup operations
to unauthorized users. false if looking up mappings is not authorized,
true otherwisemandatory - This method must be implemented. IdList getGradebookColumnIdsByGradebook(Id gradebookId) throws NotFoundException, OperationFailedException, PermissionDeniedException
GradebookColumn Ids
associated with a Gradebook. gradebookId - Id of the Gradebook Ids NotFoundException - gradebookId is not
foundNullArgumentException - gradebookId is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. GradebookColumnList getGradebookColumnsByGradebook(Id gradebookId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Gradebook.
gradebookId - Id of the Gradebook NotFoundException - gradebookId is not
foundNullArgumentException - gradebookId is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. IdList getGradebookColumnIdsByGradebooks(IdList gradebookIds) throws OperationFailedException, PermissionDeniedException
GradebookColumn Ids corresponding to a
list of Gradebooks. gradebookIds - list of gradebook Ids Ids NullArgumentException - gradebookIds is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. GradebookColumnList getGradebookColumnsByGradebooks(IdList gradebookIds) throws OperationFailedException, PermissionDeniedException
Gradebooks. gradebookIds - list of gradebook Ids NullArgumentException - gradebookIds is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. IdList getGradebookIdsByGradebookColumn(Id gradebookColumnId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Gradebook Ids mapped to
a GradebookColumn. gradebookColumnId - Id of a
GradebookColumn Ids NotFoundException - gradebookColumnId is
not foundNullArgumentException - gradebookColumnId
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. GradebookList getGradebooksByGradebookColumn(Id gradebookColumnId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Gradebooks mapped to a
GradebookColumn. gradebookColumnId - Id of a
GradebookColumn NotFoundException - gradebookColumnId is
not foundNullArgumentException - gradebookColumnId
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented.