org.opencms.ade.postupload
Class CmsPostUploadDialogActionElement

java.lang.Object
  extended by org.opencms.jsp.CmsJspBean
      extended by org.opencms.jsp.CmsJspActionElement
          extended by org.opencms.gwt.CmsGwtActionElement
              extended by org.opencms.ade.postupload.CmsPostUploadDialogActionElement

public class CmsPostUploadDialogActionElement
extends CmsGwtActionElement

Action element class used by the upload hook JSP from the org.opencms.ade.postupload module.


Field Summary
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
CmsPostUploadDialogActionElement(javax.servlet.jsp.PageContext pageContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Creates a new instance.
 
Method Summary
 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.
 CmsPostUploadDialogBean getDialogData()
          Returns the needed server data for client-side usage.
 void setUsePropertyConfiguration(boolean useConfiguration)
          Enables / disables use of property configurations.
 
Methods inherited from class org.opencms.gwt.CmsGwtActionElement
createNoCacheScript, createNoCacheScript, export, exportAll, exportDictionary, exportDictionary, exportMeta, getCoreData, 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, init, isNotInitialized, isSupressingExceptions, setContentType, setStatus, setSupressingExceptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.

See Also:
Constant Field Values
Constructor Detail

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 context
request - the servlet request
response - the servlet 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 class CmsGwtActionElement
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 class CmsGwtActionElement
Returns:
the data
Throws:
java.lang.Exception - if something goes wrong
See Also:
CmsGwtActionElement.exportAll()

getDialogData

public CmsPostUploadDialogBean getDialogData()
                                      throws CmsRpcException
Returns the needed server data for client-side usage.

Returns:
the needed server data for client-side usage
Throws:
CmsRpcException - if something goes wrong

setUsePropertyConfiguration

public void setUsePropertyConfiguration(boolean useConfiguration)
Enables / disables use of property configurations.

Parameters:
useConfiguration - if true , use the property configurations