Class CSVExportProcess
- 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.CSVExportProcess
 
 
 
 
- 
- All Implemented Interfaces:
- java.lang.Runnable
 
 public class CSVExportProcess extends ExportProcess Process that exports a query result to CSV. The resulting CSV is standard-compliant (columns are separated by comma, special characters are escaped by "").
- 
- 
Field Summary- 
Fields inherited from class com.saperion.ngc.servlet.process.export.ExportProcessDEFAULT_MAX_CELL_LENGTH, fieldDescriptions, filename, PARAM_COLUMNS, PARAM_FIELDINFOS, PARAM_FILENAME, PARAM_QUERY, query, selectedColumns
 - 
Fields inherited from class com.saperion.ngc.servlet.process.LongRunningProcessbean, canceled, connectionProvider, CONTROL_BEAN_SESSION_ATTR, error, progress, session
 
- 
 - 
Constructor SummaryConstructors Constructor Description CSVExportProcess(LRPControlBean bean, javax.servlet.http.HttpSession session)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun()voidwriteResult(javax.servlet.http.HttpServletResponse response)Writes the result of the process to the output-stream.- 
Methods inherited from class com.saperion.ngc.servlet.process.export.ExportProcesscollectColumnNames, getFormatter
 - 
Methods inherited from class com.saperion.ngc.servlet.process.LongRunningProcesscancel, getProgress, isError, updateProgress
 - 
Methods inherited from class java.lang.ThreadactiveCount, 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 Detail- 
CSVExportProcesspublic CSVExportProcess(LRPControlBean bean, javax.servlet.http.HttpSession session) - Parameters:
- bean- control-bean for this process
- session- current session
 
 
- 
 - 
Method Detail- 
runpublic void run() - Specified by:
- runin interface- java.lang.Runnable
- Overrides:
- runin class- java.lang.Thread
 
 - 
writeResultpublic void writeResult(javax.servlet.http.HttpServletResponse response) throws java.io.IOException, SystemExceptionDescription copied from class:LongRunningProcessWrites the result of the process to the output-stream.- Specified by:
- writeResultin class- LongRunningProcess
- Parameters:
- response- servlet response to write to
- Throws:
- java.io.IOException- IO Exception when writing
- SystemException- generic exception when writing
 
 
- 
 
-