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 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
ConstructorDescriptionDefault constructor for serialization.CmsEditHandlerData
(String clientId, String option, CmsUUID pageContextId, String requestParams) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionGets the client id of the element.Gets the option chosen by the user.Gets the container page's structure id.Gets the string containing the request parameters from the URL.
-
Constructor Details
-
CmsEditHandlerData
public CmsEditHandlerData()Default constructor for serialization. -
CmsEditHandlerData
public CmsEditHandlerData(String clientId, String option, CmsUUID pageContextId, 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 Details
-
getClientId
Gets the client id of the element.- Returns:
- the client id of the element
-
getOption
Gets the option chosen by the user.- Returns:
- the option chosen by the user
-
getPageContextId
Gets the container page's structure id.- Returns:
- the container page's structure id
-
getRequestParams
Gets the string containing the request parameters from the URL.- Returns:
- the string with the request parameters from the URL
-