public class GradebookImpl extends Object implements Gradebook, Comparable, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected String |
context |
protected Timestamp |
created |
protected String |
creator |
static Comparator |
CreatorAscComparator |
static Comparator |
CreatorDescComparator |
protected String |
creatorEid |
protected DateFormat |
dateFormat |
protected String |
fileReference |
protected String |
firstUploadedUsername |
protected List |
headings |
protected Long |
id |
protected Timestamp |
lastUpdated |
protected String |
lastUpdater |
protected String |
lastUpdaterEid |
protected Integer |
lockId |
static Comparator |
ModByAscComparator |
static Comparator |
ModByDescComparator |
static Comparator |
ModDateAscComparator |
static Comparator |
ModDateDescComparator |
protected Boolean |
released |
static Comparator |
ReleasedAscComparator |
static Comparator |
ReleasedDescComparator |
protected Boolean |
releaseStatistics |
protected Set |
students |
protected Template |
template |
protected String |
title |
static Comparator |
TitleAscComparator |
static Comparator |
TitleDescComparator |
protected List<String> |
usernames |
SORT_BY_CREATOR, SORT_BY_MOD_BY, SORT_BY_MOD_DATE, SORT_BY_RELEASED, SORT_BY_TITLE| Constructor and Description |
|---|
GradebookImpl() |
GradebookImpl(String title,
String creator,
String context,
List headings,
SortedSet students,
Template template) |
protected String title
protected String creator
protected String fileReference
protected String creatorEid
protected Timestamp created
protected String lastUpdater
protected String lastUpdaterEid
protected DateFormat dateFormat
protected Timestamp lastUpdated
protected String context
protected String firstUploadedUsername
protected Set students
protected Template template
protected List headings
protected Long id
protected Integer lockId
protected Boolean released
protected Boolean releaseStatistics
public static Comparator TitleAscComparator
public static Comparator TitleDescComparator
public static Comparator CreatorAscComparator
public static Comparator CreatorDescComparator
public static Comparator ModByAscComparator
public static Comparator ModByDescComparator
public static Comparator ModDateAscComparator
public static Comparator ModDateDescComparator
public static Comparator ReleasedAscComparator
public static Comparator ReleasedDescComparator
public Integer getLockId()
public void setLockId(Integer lockId)
public String getFileReference()
getFileReference in interface Gradebookpublic void setFileReference(String fileReference)
setFileReference in interface Gradebookpublic String getCreator()
getCreator in interface Gradebookpublic void setCreator(String creator)
setCreator in interface Gradebookpublic String getCreatorEid()
getCreatorEid in interface Gradebookpublic void setCreatorEid(String creatorUserId)
setCreatorEid in interface Gradebookpublic Timestamp getCreated()
getCreated in interface Gradebookpublic void setCreated(Timestamp created)
setCreated in interface Gradebookpublic String getLastUpdater()
getLastUpdater in interface Gradebookpublic void setLastUpdater(String lastUpdater)
setLastUpdater in interface Gradebookpublic String getLastUpdaterEid()
getLastUpdaterEid in interface Gradebookpublic void setLastUpdaterEid(String lastUpdaterUserId)
setLastUpdaterEid in interface Gradebookpublic String getUpdatedDateTime()
getUpdatedDateTime in interface Gradebookpublic Timestamp getLastUpdated()
getLastUpdated in interface Gradebookpublic void setLastUpdated(Timestamp lastUpdated)
setLastUpdated in interface Gradebookpublic String getContext()
getContext in interface Gradebookpublic void setContext(String context)
setContext in interface Gradebookpublic Set getStudents()
getStudents in interface Gradebookpublic void setStudents(Set students)
setStudents in interface Gradebookpublic Template getTemplate()
getTemplate in interface Gradebookpublic void setTemplate(Template template)
setTemplate in interface Gradebookpublic List getHeadings()
getHeadings in interface Gradebookpublic void setHeadings(List headings)
setHeadings in interface Gradebookpublic Boolean getReleased()
getReleased in interface Gradebookpublic void setReleased(Boolean released)
setReleased in interface Gradebookpublic boolean getRelease()
getRelease in interface Gradebookpublic void setRelease(boolean release)
setRelease in interface Gradebookpublic Boolean getReleaseStatistics()
getReleaseStatistics in interface Gradebookpublic void setReleaseStatistics(Boolean releaseStatistics)
setReleaseStatistics in interface Gradebookpublic boolean getReleaseStats()
getReleaseStats in interface Gradebookpublic void setReleaseStats(boolean releaseStats)
setReleaseStats in interface Gradebookpublic void setFirstUploadedUsername(String firstUploadedUsername)
setFirstUploadedUsername in interface Gradebookpublic String getFirstUploadedUsername()
getFirstUploadedUsername in interface Gradebookpublic void setUsernames(List<String> usernames)
setUsernames in interface Gradebookpublic List<String> getUsernames()
getUsernames in interface Gradebookpublic String getHeadingsRow()
getHeadingsRow in interface Gradebookpublic int compareTo(Object other)
compareTo in interface Comparablepublic boolean hasStudent(String username)
hasStudent in interface Gradebookpublic String getProperWidth(int column)
getProperWidth in interface Gradebookpublic List getRawData(int column)
getRawData in interface Gradebookpublic List getAggregateData(int column) throws Exception
getAggregateData in interface GradebookExceptionpublic StudentGrades studentGrades(String username)
studentGrades in interface Gradebookpublic TreeMap getStudentMap()
getStudentMap in interface GradebookCopyright © 2004–2020 Sakai Project. All rights reserved.