public abstract class ExportProcess extends LongRunningProcess
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
protected static int |
DEFAULT_MAX_CELL_LENGTH
Default maximum length of a cell's value.
|
protected Map<String,com.saperion.intf.SaFieldDescription> |
fieldDescriptions
Field descriptions for DDC in use.
|
protected String |
filename
Filename for export.
|
static String |
PARAM_COLUMNS
Name for columns-parameter in paramters-map.
|
static String |
PARAM_FIELDINFOS
Name for fieldinfos-parameter in parameters-map.
|
static String |
PARAM_FILENAME
Name for filename-parameter in parameters-map.
|
static String |
PARAM_QUERY
Name for query-parameter in parameters-map.
|
protected com.saperion.rmi.SaQueryInfo |
query
The query to execute to get search result.
|
protected Map<String,String> |
selectedColumns
Selected columns to export (map from name to display-name).
|
bean, canceled, connectionProvider, CONTROL_BEAN_SESSION_ATTR, error, progress, sessionMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
ExportProcess(LRPControlBean bean,
javax.servlet.http.HttpSession session) |
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
collectColumnNames(com.saperion.intf.SaDocumentInfo first)
Collects a list of column names to export.
|
protected CellFormatter |
getFormatter(com.saperion.intf.SaPropertyValue value)
Returns a formatter for the specified value.
|
cancel, getProgress, isError, updateProgress, writeResultactiveCount, 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, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic static final String PARAM_COLUMNS
public static final String PARAM_QUERY
public static final String PARAM_FILENAME
public static final String PARAM_FIELDINFOS
protected static final int DEFAULT_MAX_CELL_LENGTH
protected final com.saperion.rmi.SaQueryInfo query
protected final Map<String,String> selectedColumns
protected final String filename
public ExportProcess(LRPControlBean bean, javax.servlet.http.HttpSession session)
bean - control-bean for this processsession - current sessionprotected List<String> collectColumnNames(com.saperion.intf.SaDocumentInfo first)
first - first result of the queryprotected CellFormatter getFormatter(com.saperion.intf.SaPropertyValue value)
value - value to formatCopyright © 2016 SAPERION AG. All rights reserved.