Class XLSXExportProcess
java.lang.Object
java.lang.Thread
com.saperion.ngc.servlet.process.LongRunningProcess
com.saperion.ngc.servlet.process.export.ExportProcess
com.saperion.ngc.servlet.process.export.XLSXExportProcess
- All Implemented Interfaces:
Runnable
Exports the result of a query to XLSX.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
Fields inherited from class com.saperion.ngc.servlet.process.export.ExportProcess
DEFAULT_MAX_CELL_LENGTH, fieldDescriptions, filename, PARAM_COLUMNS, PARAM_FIELDINFOS, PARAM_FILENAME, PARAM_QUERY, query, selectedColumnsFields inherited from class com.saperion.ngc.servlet.process.LongRunningProcess
bean, canceled, connectionProvider, CONTROL_BEAN_SESSION_ATTR, error, progress, sessionFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
ConstructorsConstructorDescriptionXLSXExportProcess(LRPControlBean bean, jakarta.servlet.http.HttpSession session) -
Method Summary
Modifier and TypeMethodDescriptionvoidrun()voidwriteResult(jakarta.servlet.http.HttpServletResponse response) Writes the result of the process to the output-stream.Methods inherited from class com.saperion.ngc.servlet.process.export.ExportProcess
collectColumnNames, getFormatterMethods inherited from class com.saperion.ngc.servlet.process.LongRunningProcess
cancel, getProgress, isError, updateProgressMethods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Constructor Details
-
XLSXExportProcess
- Parameters:
bean- control bean for the processsession- current session
-
-
Method Details
-
run
public void run() -
writeResult
public void writeResult(jakarta.servlet.http.HttpServletResponse response) throws IOException, SystemException Description copied from class:LongRunningProcessWrites the result of the process to the output-stream.- Specified by:
writeResultin classLongRunningProcess- Parameters:
response- servlet response to write to- Throws:
IOException- IO Exception when writingSystemException- generic exception when writing
-