Package org.apache.ofbiz.pricat
Class PricatParseExcelHtmlThread
- java.lang.Object
-
- java.lang.Thread
-
- org.apache.ofbiz.htmlreport.AbstractReportThread
-
- org.apache.ofbiz.pricat.PricatParseExcelHtmlThread
-
- All Implemented Interfaces:
java.lang.Runnable
,InterfaceReportThread
public class PricatParseExcelHtmlThread extends AbstractReportThread
Thread for running pricat import excel html report.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CONFIRM
static java.lang.String
DEFAULT_PRICAT_TYPE
static java.lang.String
defaultCategoryName
static java.lang.String
defaultColorName
static java.lang.String
defaultDimensionName
static java.lang.String
EXCEL_TEMPLATE_TYPE
static java.lang.String
FACILITY_ID
static java.lang.String
FileDateTimePattern
static java.lang.String[]
messageLabels
static java.util.List<java.lang.String>
messages
static java.lang.String
module
static java.lang.String
PARSE_EXCEL
static java.lang.String
PRICAT_FILE
static java.util.Map<java.lang.String,java.lang.String>
PricatTypeLabels
static java.lang.String
resource
-
Constructor Summary
Constructors Constructor Description PricatParseExcelHtmlThread(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String name)
Constructor, creates a new html thread.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
addExcelImportHistory()
Delegator
getDelegator()
java.lang.String
getReportUpdate()
Returns the part of the report that is ready for output.void
run()
void
setDelegator(Delegator delegator)
-
Methods inherited from class org.apache.ofbiz.htmlreport.AbstractReportThread
addError, getError, getErrors, getLocale, getReport, getRuntime, getUUID, hasError, initHtmlReport, initHtmlReport, initHtmlReport, isDoomed
-
Methods 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
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.ofbiz.htmlreport.InterfaceReportThread
start
-
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
PARSE_EXCEL
public static final java.lang.String PARSE_EXCEL
- See Also:
- Constant Field Values
-
CONFIRM
public static final java.lang.String CONFIRM
- See Also:
- Constant Field Values
-
messageLabels
public static final java.lang.String[] messageLabels
-
messages
public static final java.util.List<java.lang.String> messages
-
FileDateTimePattern
public static final java.lang.String FileDateTimePattern
- See Also:
- Constant Field Values
-
defaultColorName
public static final java.lang.String defaultColorName
- See Also:
- Constant Field Values
-
defaultDimensionName
public static final java.lang.String defaultDimensionName
- See Also:
- Constant Field Values
-
defaultCategoryName
public static final java.lang.String defaultCategoryName
- See Also:
- Constant Field Values
-
EXCEL_TEMPLATE_TYPE
public static final java.lang.String EXCEL_TEMPLATE_TYPE
- See Also:
- Constant Field Values
-
FACILITY_ID
public static final java.lang.String FACILITY_ID
- See Also:
- Constant Field Values
-
resource
public static final java.lang.String resource
- See Also:
- Constant Field Values
-
PRICAT_FILE
public static final java.lang.String PRICAT_FILE
- See Also:
- Constant Field Values
-
DEFAULT_PRICAT_TYPE
public static final java.lang.String DEFAULT_PRICAT_TYPE
- See Also:
- Constant Field Values
-
PricatTypeLabels
public static final java.util.Map<java.lang.String,java.lang.String> PricatTypeLabels
-
-
Method Detail
-
getReportUpdate
public java.lang.String getReportUpdate()
Description copied from class:AbstractReportThread
Returns the part of the report that is ready for output.- Specified by:
getReportUpdate
in classAbstractReportThread
- Returns:
- the part of the report that is ready for output
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
- Overrides:
run
in classjava.lang.Thread
- See Also:
Runnable.run()
-
getDelegator
public Delegator getDelegator()
-
setDelegator
public void setDelegator(Delegator delegator)
-
addExcelImportHistory
public long addExcelImportHistory()
-
-