Package org.opencms.ade.postupload
Class CmsPostUploadDialogActionElement
java.lang.Object
org.opencms.jsp.CmsJspBean
org.opencms.jsp.CmsJspActionElement
org.opencms.gwt.CmsGwtActionElement
org.opencms.ade.postupload.CmsPostUploadDialogActionElement
Action element class used by the upload hook JSP from the org.opencms.ade.postupload module.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The OpenCms module name.static final String
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
ConstructorDescriptionCmsPostUploadDialogActionElement
(javax.servlet.jsp.PageContext pageContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionexport()
Returns the serialized data for the core provider wrapped in a script tag.Returns the serialized data for the core provider.Returns the needed server data for client-side usage.void
setAddBasicProperties
(boolean addBasicProperties) Set a flag, indicating if basic properties as configured in the sitemap are merged into the properties shown on file upload.void
setUsePropertyConfiguration
(boolean useConfiguration) Enables / disables use of property configurations.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 Details
-
CMS_MODULE_NAME
The OpenCms module name.- See Also:
-
GWT_MODULE_NAME
The GWT module name.
-
-
Constructor Details
-
CmsPostUploadDialogActionElement
public CmsPostUploadDialogActionElement(javax.servlet.jsp.PageContext pageContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Creates a new instance.- Parameters:
pageContext
- the current page contextrequest
- the servlet requestresponse
- the servlet response
-
-
Method Details
-
export
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:
Exception
- if something goes wrong- See Also:
-
exportAll
Description copied from class:CmsGwtActionElement
Returns the serialized data for the core provider.- Overrides:
exportAll
in classCmsGwtActionElement
- Returns:
- the data
- Throws:
Exception
- if something goes wrong- See Also:
-
getDialogData
Returns the needed server data for client-side usage.- Returns:
- the needed server data for client-side usage
- Throws:
CmsRpcException
- if something goes wrong
-
setAddBasicProperties
Set a flag, indicating if basic properties as configured in the sitemap are merged into the properties shown on file upload.- Parameters:
addBasicProperties
- flag, indicating if basic properties as configured in the sitemap should be added
-
setUsePropertyConfiguration
Enables / disables use of property configurations.- Parameters:
useConfiguration
- if true , use the property configurations
-