public abstract class AbstractHtmlDisplayForm extends java.lang.Object implements FormBackendIf
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONTENT_TYPE_HTML |
static java.lang.String |
CONTENT_TYPE_PLAIN |
protected boolean |
enableRefreshButton |
protected java.lang.String |
title |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractHtmlDisplayForm(java.lang.String title) |
| Modifier and Type | Method and Description |
|---|---|
FormResult |
doFormSubmit(java.lang.String user,
ReportContext context,
java.lang.String formId,
FormFieldData[] data) |
java.lang.String |
getContentType() |
TabularReport |
getFormTabularReport(ReportContext context,
java.lang.String formId,
java.lang.String reportName) |
abstract java.lang.String |
getHtmlText(ReportContext context) |
FormResult |
getInitialFormData(ReportContext context,
java.lang.String formId) |
FormResult |
moveFormPage(ReportContext context,
java.lang.String formId,
java.lang.String sessionId,
int currentPage,
int newPage)
Page number is between 0 to N-1
|
protected void |
setEnableRefreshButton(boolean value) |
FormResult |
validateForm(ReportContext context,
java.lang.String formId,
FormFieldData[] data) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasMappableResourcespublic static final java.lang.String CONTENT_TYPE_HTML
public static final java.lang.String CONTENT_TYPE_PLAIN
protected java.lang.String title
protected boolean enableRefreshButton
protected AbstractHtmlDisplayForm(java.lang.String title)
protected void setEnableRefreshButton(boolean value)
public final FormResult doFormSubmit(java.lang.String user, ReportContext context, java.lang.String formId, FormFieldData[] data) throws java.lang.Exception
doFormSubmit in interface FormBackendIfjava.lang.Exceptionpublic java.lang.String getContentType()
public final TabularReport getFormTabularReport(ReportContext context, java.lang.String formId, java.lang.String reportName) throws java.lang.Exception
getFormTabularReport in interface FormBackendIfjava.lang.Exceptionpublic final FormResult validateForm(ReportContext context, java.lang.String formId, FormFieldData[] data) throws java.lang.Exception
validateForm in interface FormBackendIfjava.lang.Exceptionpublic FormResult getInitialFormData(ReportContext context, java.lang.String formId) throws java.lang.Exception
getInitialFormData in interface FormBackendIfjava.lang.Exceptionpublic abstract java.lang.String getHtmlText(ReportContext context) throws java.lang.Exception
java.lang.Exceptionpublic FormResult moveFormPage(ReportContext context, java.lang.String formId, java.lang.String sessionId, int currentPage, int newPage) throws java.lang.Exception
FormBackendIfmoveFormPage in interface FormBackendIfjava.lang.Exception