Package org.apache.ofbiz.pricat
Class PricatParseExcelHtmlReport
java.lang.Object
org.apache.ofbiz.htmlreport.AbstractReport
org.apache.ofbiz.htmlreport.HtmlReport
org.apache.ofbiz.htmlreport.AbstractHtmlReport
org.apache.ofbiz.pricat.PricatParseExcelHtmlReport
- All Implemented Interfaces:
InterfaceReport
Provides a html report for running parse a PriCat file.
-
Field Summary
Fields inherited from class org.apache.ofbiz.htmlreport.AbstractHtmlReport
FILE_REPORT_OUTPUT, THREAD_TYPE
Fields inherited from class org.apache.ofbiz.htmlreport.HtmlReport
BUTTON_ADVANCED, BUTTON_BACK, BUTTON_CANCEL, BUTTON_CLOSE, BUTTON_CONTINUE, BUTTON_DETAILS, BUTTON_DISCARD, BUTTON_DOWNLOAD, BUTTON_EDIT, BUTTON_OK, BUTTON_OK_NO_SUBMIT, BUTTON_SET, DELIMITER_RESOURCES, DIALOG_BACK, DIALOG_CANCEL, DIALOG_CONTINUE, DIALOG_SET, DIALOG_URI, FORM_URI, HTML_END, HTML_START, LINEBREAK, LINEBREAK_TRADITIONAL, PARAM_RESOURCELIST
Fields inherited from class org.apache.ofbiz.htmlreport.AbstractReport
SESSION_REPORT_CLASS
Fields inherited from interface org.apache.ofbiz.htmlreport.InterfaceReport
FORMAT_DEFAULT, FORMAT_ERROR, FORMAT_HEADLINE, FORMAT_NOTE, FORMAT_OK, FORMAT_WARNING, REPORT_TYPE_EXTENDED, REPORT_TYPE_SIMPLE
-
Constructor Summary
ConstructorDescriptionPricatParseExcelHtmlReport
(HttpServletRequest request, HttpServletResponse response) Public constructor with report variables. -
Method Summary
Modifier and TypeMethodDescriptionstatic String
checkButton
(HttpServletRequest request, HttpServletResponse response) static PricatParseExcelHtmlReport
getReport
(HttpServletRequest request, HttpServletResponse response) initializeThread
(HttpServletRequest request, HttpServletResponse response, String name) Initializes the report thread to use for this report.void
prepareDisplayReport
(HttpServletRequest request, HttpServletResponse response, String name, String dialogUri) Performs the dialog actions depending on the initialized action.Methods inherited from class org.apache.ofbiz.htmlreport.AbstractHtmlReport
setDialogRealUri
Methods inherited from class org.apache.ofbiz.htmlreport.HtmlReport
addLogFile, appendDelimiter, bodyEnd, bodyStart, closeLogFile, dialog, dialogButtonRow, dialogButtons, dialogButtonsContinue, dialogButtonsHtml, dialogButtonsOkCancel, dialogButtonsOkCancelDownload, dialogContent, dialogContentEnd, dialogContentStart, dialogEnd, dialogHead, dialogScriptSubmit, dialogStart, getDialogRealUri, getFormRealUri, getInstance, getInstance, getInstance, getLineBreak, getLogFileName, getParamAction, getParamRefreshWorkplace, getParamReportContinueKey, getParamResource, getParamResourcelist, getParamThread, getParamThreadHasNext, getParamTitle, getReportUpdate, getResourceList, getResourceListAsParam, getSequenceNum, htmlEnd, htmlStart, htmlStart, isAlive, isMultiOperation, isWriteHtml, pageBody, pageHtml, pageHtml, pageHtmlStyle, paramsAsHidden, paramsAsHidden, paramValues, print, println, println, printMessageWithParam, printMessageWithParam, reportConclusionText, reportIntroductionText, setFormRealUri, setParamAction, setParamThread, setSequenceNum
Methods inherited from class org.apache.ofbiz.htmlreport.AbstractReport
addError, addWarning, formatRuntime, getErrors, getLocale, getRuntime, getWarnings, hasError, hasWarning, init, print, println, println, resetRuntime
-
Field Details
-
PRICAT_REPORT_CLASS
- See Also:
-
-
Constructor Details
-
PricatParseExcelHtmlReport
Public constructor with report variables.- Parameters:
request
- the HttpServletRequest requestresponse
- the HttpServletResponse response
-
-
Method Details
-
getReport
public static PricatParseExcelHtmlReport getReport(HttpServletRequest request, HttpServletResponse response) -
initializeThread
public InterfaceReportThread initializeThread(HttpServletRequest request, HttpServletResponse response, String name) Description copied from class:AbstractHtmlReport
Initializes the report thread to use for this report.- Specified by:
initializeThread
in classAbstractHtmlReport
- Returns:
- the reported thread to use for this report.
-
checkButton
-
prepareDisplayReport
public void prepareDisplayReport(HttpServletRequest request, HttpServletResponse response, String name, String dialogUri) throws IOException Performs the dialog actions depending on the initialized action.- Overrides:
prepareDisplayReport
in classAbstractHtmlReport
- Throws:
IOException
-