Package org.opencms.ade.upload
Class CmsUploadActionElement
- java.lang.Object
-
- org.opencms.jsp.CmsJspBean
-
- org.opencms.jsp.CmsJspActionElement
-
- org.opencms.gwt.CmsGwtActionElement
-
- org.opencms.ade.upload.CmsUploadActionElement
-
public class CmsUploadActionElement extends CmsGwtActionElement
Upload action element, used to generate the upload dialog.- Since:
- 8.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CMS_MODULE_NAME
The OpenCms module name.static java.lang.String
GWT_MODULE_NAME
The GWT module name.-
Fields inherited from class org.opencms.gwt.CmsGwtActionElement
SCRIPT_TAG_CLOSE, SCRIPT_TAG_OPEN
-
Fields inherited from class org.opencms.jsp.CmsJspActionElement
NOT_INITIALIZED
-
-
Constructor Summary
Constructors Constructor Description CmsUploadActionElement(javax.servlet.jsp.PageContext context, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
export()
Returns the serialized data for the core provider wrapped in a script tag.java.lang.String
exportAll()
Returns the serialized data for the core provider.java.lang.String
exportButton()
Special export for the button mode.java.lang.String
getTitle()
Returns the upload dialog title.-
Methods inherited from class org.opencms.gwt.CmsGwtActionElement
createNoCacheScript, createNoCacheScript, export, exportCommon, exportDictionary, exportDictionary, exportMeta, exportModuleScriptTag, getCoreData, getFontIconCssLink, getWorkplaceLocale, serialize, wrapScript
-
Methods inherited from class org.opencms.jsp.CmsJspActionElement
editable, editable, editable, editableManualClose, editableManualOpen, getContent, getContent, getMessages, getMessages, getMessages, getMessages, getNavigation, getNavigationUri, img, img, include, include, include, include, include, include, includeSilent, includeSilent, includeSilent, includeSilent, info, label, link, link, properties, properties, property, property, property, property, template, template, template, toAbsolute, user
-
Methods inherited from class org.opencms.jsp.CmsJspBean
getCmsObject, getController, getJspContext, getMessage, getRequest, getRequestContext, getResponse, handleException, handleMissingFlexController, init, isNotInitialized, isSupressingExceptions, setContentType, setStatus, setSupressingExceptions
-
-
-
-
Field Detail
-
CMS_MODULE_NAME
public static final java.lang.String CMS_MODULE_NAME
The OpenCms module name.- See Also:
- Constant Field Values
-
GWT_MODULE_NAME
public static final java.lang.String GWT_MODULE_NAME
The GWT module name.
-
-
Constructor Detail
-
CmsUploadActionElement
public CmsUploadActionElement(javax.servlet.jsp.PageContext context, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
Constructor.- Parameters:
context
- the JSP page context objectreq
- the JSP requestres
- the JSP response
-
-
Method Detail
-
export
public java.lang.String export() throws java.lang.Exception
Description copied from class:CmsGwtActionElement
Returns the serialized data for the core provider wrapped in a script tag.- Overrides:
export
in classCmsGwtActionElement
- Returns:
- the data
- Throws:
java.lang.Exception
- if something goes wrong- See Also:
CmsGwtActionElement.export()
-
exportAll
public java.lang.String exportAll() throws java.lang.Exception
Description copied from class:CmsGwtActionElement
Returns the serialized data for the core provider.- Overrides:
exportAll
in classCmsGwtActionElement
- Returns:
- the data
- Throws:
java.lang.Exception
- if something goes wrong- See Also:
CmsGwtActionElement.exportAll()
-
exportButton
public java.lang.String exportButton() throws java.lang.Exception
Special export for the button mode.- Returns:
- the data
- Throws:
java.lang.Exception
- if something goes wrong
-
getTitle
public java.lang.String getTitle()
Returns the upload dialog title.- Returns:
- the upload dialog title
-
-