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:
Runnable
,InterfaceReportThread
Thread for running pricat import excel html report.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String[]
static final String
static final String
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
ConstructorDescriptionPricatParseExcelHtmlThread
(HttpServletRequest request, HttpServletResponse response, String name) Constructor, creates a new html thread. -
Method Summary
Modifier and TypeMethodDescriptionlong
addExcelImportHistorygetDelegatorReturns the part of the report that is ready for output.void
run()
void
setDelegator
(Delegator delegator) setDelegatorMethods 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 Details
-
PARSE_EXCEL
- See Also:
-
CONFIRM
- See Also:
-
MESSAGE_LABELS
-
MESSAGES
-
FILE_DATE_TIME_PATTERN
- See Also:
-
DEF_COLOR_NAME
- See Also:
-
DEF_DIM_NAME
- See Also:
-
DEF_CAT_NAME
- See Also:
-
EXCEL_TEMPLATE_TYPE
- See Also:
-
FACILITY_ID
- See Also:
-
PRICAT_FILE
- See Also:
-
DEFAULT_PRICAT_TYPE
- See Also:
-
TYPE_LABELS
-
-
Constructor Details
-
PricatParseExcelHtmlThread
public PricatParseExcelHtmlThread(HttpServletRequest request, HttpServletResponse response, String name) Constructor, creates a new html thread.- Parameters:
request
-response
-name
-
-
-
Method Details
-
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() -
getDelegator
getDelegator -
setDelegator
setDelegator -
addExcelImportHistory
public long addExcelImportHistory()addExcelImportHistory
-