Class CmsEditHandlerData
- java.lang.Object
-
- org.opencms.ade.contenteditor.shared.CmsEditHandlerData
-
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
public class CmsEditHandlerData extends java.lang.Object implements com.google.gwt.user.client.rpc.IsSerializable
Data which needs to be passed to the edit handler when using the 'new' button for an editable list element.
-
-
Constructor Summary
Constructors Constructor Description CmsEditHandlerData()
Default constructor for serialization.CmsEditHandlerData(java.lang.String clientId, java.lang.String option, CmsUUID pageContextId, java.lang.String requestParams)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getClientId()
Gets the client id of the element.java.lang.String
getOption()
Gets the option chosen by the user.CmsUUID
getPageContextId()
Gets the container page's structure id.java.lang.String
getRequestParams()
Gets the string containing the request parameters from the URL.
-
-
-
Constructor Detail
-
CmsEditHandlerData
public CmsEditHandlerData()
Default constructor for serialization.
-
CmsEditHandlerData
public CmsEditHandlerData(java.lang.String clientId, java.lang.String option, CmsUUID pageContextId, java.lang.String requestParams)
Creates a new instance.- Parameters:
clientId
- the client id of the editable elementoption
- the option chosen by the userpageContextId
- the structure id of the container pagerequestParams
- the string containing the request parameters
-
-
Method Detail
-
getClientId
public java.lang.String getClientId()
Gets the client id of the element.- Returns:
- the client id of the element
-
getOption
public java.lang.String getOption()
Gets the option chosen by the user.- Returns:
- the option chosen by the user
-
getPageContextId
public CmsUUID getPageContextId()
Gets the container page's structure id.- Returns:
- the container page's structure id
-
getRequestParams
public java.lang.String getRequestParams()
Gets the string containing the request parameters from the URL.- Returns:
- the string with the request parameters from the URL
-
-