public interface GradebookFrameworkService
| Modifier and Type | Method and Description |
|---|---|
void |
addGradebook(String uid,
String name)
Creates a new gradebook with the given UID and name
|
void |
deleteGradebook(String uid)
Deletes the gradebook with the given UID, along with all its associated
data.
|
boolean |
isGradebookDefined(String gradebookUid)
Checks to see whether a gradebook with the given uid exists.
|
void |
setAvailableGradingScales(Collection gradingScaleDefinitions) |
void |
setDefaultGradingScale(String uid) |
void addGradebook(String uid, String name)
uid - The UID used to specify a gradebook and its associated data.
It is the caller's responsibility to ensure that this is
unique within gradebook storage.name - The name of the gradebook, to be used for logging and other
conveniences by the application. This should be the name of
the site or the course. It is only used for convenience, and
does not need to be unique.void deleteGradebook(String uid) throws GradebookNotFoundException
GradebookNotFoundExceptionboolean isGradebookDefined(String gradebookUid)
gradebookUid - The gradebook UID to checkvoid setAvailableGradingScales(Collection gradingScaleDefinitions)
gradingScaleDefinitions - A collection of GradingScaleDefinition beans.void setDefaultGradingScale(String uid)
uid - The UID of the grading scale to use as the default for new gradebooks.Copyright © 2003-2015 Sakai Project. All Rights Reserved.