public class FileViewerAction extends CommonFormFields implements FormDrawing, IStorageFormAction
CHILD, CONTENT| Constructor and Description |
|---|
FileViewerAction() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
execute(IExecContext execContext)
Executes an action
|
IExecContext |
getExecContext() |
java.lang.String |
getFile_name() |
java.util.List<HtmlInput> |
getHiddenFields() |
java.lang.String |
getPath() |
java.lang.String |
getRef() |
boolean |
isEscape_content() |
boolean |
isFormat_xml_content() |
boolean |
isShow_header() |
boolean |
isShow_line_nos() |
void |
setEscape_content(boolean escape_content) |
void |
setFile_name(java.lang.String file_name) |
void |
setFormat_xml_content(boolean format_xml_content) |
void |
setPath(java.lang.String path) |
void |
setRef(java.lang.String ref) |
void |
setShow_header(boolean show_header) |
void |
setShow_line_nos(boolean show_line_nos) |
void |
validateAndSetup(IExecContext execContext) |
void |
validateStorage(java.lang.String errMsg)
Validates that the data_source_ref, storage_ref and table_name are set.
|
getAlign, getAttributes, getCss, getDirection, getDisplay_as, getExpression, getHeader_name, getHeight, getHref, getId, getLabel_position, getName, getOnchange, getOnclick, getOnfocus, getOnselect, getPopulatorXml, getPostfix, getPrefix, getPresentation_name, getSnippet_ref, getSql, getStorage_config_ref, getStorage_config_ref, getTable_name, getTheme_name, getTheme_name, getTheme, getTheme, getTitle, getTooltip, getUri, getValign, getWidth, getWidth, getX, getX, getY, getY, getZindex, isVisible, setAlign, setAttributes, setCss, setDirection, setDisplay_as, setExpression, setHeader_name, setHeight, setHref, setId, setLabel_position, setName, setOnchange, setOnclick, setOnfocus, setOnselect, setPopulatorXml, setPostfix, setPrefix, setPresentation_name, setSnippet_ref, setSql, setStorage_config_ref, setTable_name, setTheme_name, setTheme, setTitle, setTooltip, setUri, setValign, setVisible, setWidth, setX, setY, setZindexaddButtonsToExecContext, addLinksToExecContext, buildButtons, buildHiddenInput, buildInput, buildLinks, buildPasswordInput, buildTextInput, findFormId, getButton, getButtons, getLink, getLinks, setButton, setLink, setLinksaddChild, clearActions, doReplace, doReplace, getActions, getChild, getContent, getFirstValueFound, getParent, getReplacementContent, getReplacementMarker, isUsedForDisplay, processAction, setAction, setActions, setChild, setContent, setParent, setReplacementContent, setReplacementMarker, setUsedForDisplayclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getLinks, getTheme, getTheme, getTitle, getWidth, isVisiblegetSql, getTable_name, setSql, setTable_namepublic java.lang.String execute(IExecContext execContext) throws java.lang.Exception
BaseActionexecute in class BaseActionexecContext - the application execution contextjava.lang.Exceptionpublic boolean isFormat_xml_content()
public void setFormat_xml_content(boolean format_xml_content)
public void validateAndSetup(IExecContext execContext)
public IExecContext getExecContext()
getExecContext in interface FormDrawingpublic java.util.List<HtmlInput> getHiddenFields()
getHiddenFields in interface FormDrawingpublic void validateStorage(java.lang.String errMsg)
IStorageFormActionvalidateStorage in interface IStorageFormActionpublic java.lang.String getPath()
public void setPath(java.lang.String path)
public void setFile_name(java.lang.String file_name)
public java.lang.String getFile_name()
public void setShow_line_nos(boolean show_line_nos)
public boolean isShow_line_nos()
public void setEscape_content(boolean escape_content)
public boolean isEscape_content()
public void setRef(java.lang.String ref)
public java.lang.String getRef()
public void setShow_header(boolean show_header)
public boolean isShow_header()