org.activemath.webapp.report
Class Report
java.lang.Object
org.activemath.webapp.report.Report
- Direct Known Subclasses:
- BucketReport, EventReport, PerformanceReport, ReportActivities, ReportAggregateExercises, ReportAggregateStudents, ReportMistakes, ReportPerStudent, ReportStudentResults, ReportUserFeedback, ShareCalculatorReport, SurveyReport
public abstract class Report
- extends Object
Abstract base class for reports.
Must be public to work for Velocity (I think).
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
contentManager
protected ContentManager contentManager
Report
public Report()
generate
protected abstract void generate()
throws Exception
- Throws:
Exception
isSet
protected boolean isSet(String value)
join2string
public String join2string(Object[] a)
- See Also:
Utilities.join2string(java.lang.Object[])
join2string
public String join2string(Collection c)
- See Also:
Utilities.join2string(java.util.Collection)
setItemId
public void setItemId(String value)
setStartTime
public void setStartTime(long value)
setEndTime
public void setEndTime(long value)
setGroupIds
public void setGroupIds(Collection<String> value)
setUserIds
public void setUserIds(Collection<String> value)
setBookIds
public void setBookIds(Collection<String> value)
setGroupId
public void setGroupId(String value)
- Set groupId along with list of groupIds.
setBookId
public void setBookId(String value)
- Set bookId along with list of bookIds.
setUserId
public void setUserId(String value)
- Set userId along with list of userIds.
getBookId
public final String getBookId()
getEndTime
public final long getEndTime()
getGroupId
public final String getGroupId()
getItemId
public final String getItemId()
getStartTime
public final long getStartTime()
getUserId
public final String getUserId()
getGroupIds
public Collection<String> getGroupIds()
getUserIds
public Collection<String> getUserIds()
getBookIds
public Collection<String> getBookIds()
getEventList
public List<ActivemathEvent> getEventList()
getExerciseRuns
public Map<String,ExerciseRun> getExerciseRuns()
getItemIds
public Collection<String> getItemIds()
getNumEvents
public int getNumEvents()
getNumExerciseRuns
public int getNumExerciseRuns()
getNumResults
public int getNumResults()
setItemIds
public void setItemIds(Collection<String> itemIds)
getEventsIncluded
public Collection<String> getEventsIncluded()
setEventsIncluded
public void setEventsIncluded(Collection<String> eventsIncluded)
getEventsExcluded
public Collection<String> getEventsExcluded()
setEventsExcluded
public void setEventsExcluded(Collection<String> eventsExcluded)
setUsersExcluded
public void setUsersExcluded(Set<String> usersExcluded)