public abstract class CumulationReport extends InterruptibleBatchThread
Modifier and Type | Field and Description |
---|---|
protected DataObject |
dataObject |
protected int |
groupChangeLevel |
protected java.lang.String[] |
groupFields |
protected int[] |
groupMembers |
protected HtmlFile |
htmlFile |
static java.lang.String |
outputFileName |
protected int |
overallMembers |
protected java.lang.String[] |
previousGroupContent |
sessionResources
threadController
threadDoneListeners
GROUP_TERMINATION_ALLOWED_WITHOUT_CONFIRMATION, GROUP_TERMINATION_NOT_ALLOWED, GROUP_TERMINATION_REQUIRES_CONFIRMATION
Constructor and Description |
---|
CumulationReport(SessionResources sessionResources,
DataObject dataObject) |
Modifier and Type | Method and Description |
---|---|
protected void |
cumulate() |
protected abstract java.lang.String |
getApplicationName() |
protected abstract java.lang.String[] |
getGroupFields() |
protected abstract java.lang.String |
getOutputFileName() |
protected abstract java.lang.String[] |
getTableHeader() |
protected abstract java.lang.String |
getTitle() |
protected java.lang.String |
getWhereCondition()
Returns the where condition which is null if it is not overridden.
|
protected void |
outputDoneCumulation() |
protected abstract void |
outputDoneCumulationRow(java.lang.String[] currentOutput,
int level,
int members) |
protected abstract void |
outputOverall(int overallMembers) |
protected void |
resetGroup(int level) |
void |
runCore(DataObjectConstructionDetails docd)
Runs the core of the runnable With opportunity to use e.g. a different DB connection.
|
protected void |
writeDataRows() |
protected abstract void |
writeParameters() |
getSessionResources, isTerminationRequested, isToRun, requiresUserConfirmationToTerminate, runCore, setTerminationRequiresUserConfirmation, start, terminate
free, register, register, run, runPartAfterCore, setStatusInformation, setThreadController
addThreadDoneListener, fireThreadDone, fireThreadDone, getEventMessage, getFinalState, idle, logDebug, logError, logError, logInfo, setEventErrorMessage, setEventMessage, setFinalState
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, stop, suspend, toString, yield
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName
addThreadDoneListener, setThreadController
public static java.lang.String outputFileName
protected DataObject dataObject
protected HtmlFile htmlFile
protected java.lang.String[] groupFields
protected java.lang.String[] previousGroupContent
protected int[] groupMembers
protected int overallMembers
protected int groupChangeLevel
public CumulationReport(SessionResources sessionResources, DataObject dataObject)
protected abstract java.lang.String getApplicationName()
protected abstract java.lang.String getOutputFileName()
protected abstract java.lang.String[] getGroupFields()
protected abstract java.lang.String getTitle()
protected abstract java.lang.String[] getTableHeader()
protected abstract void writeParameters()
protected abstract void outputDoneCumulationRow(java.lang.String[] currentOutput, int level, int members)
protected abstract void outputOverall(int overallMembers)
public void runCore(DataObjectConstructionDetails docd) throws java.lang.Exception
CoreRunnable
docd
- the DataObjectConstructionDetails to use - that may differ from session data details.java.lang.Exception
protected java.lang.String getWhereCondition()
protected void writeDataRows()
protected void outputDoneCumulation()
protected void resetGroup(int level)
protected void cumulate()
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de