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 Details

    • 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 element
      option - the option chosen by the user
      pageContextId - the structure id of the container page
      requestParams - the string containing the request parameters
  • Method Details

    • getClientId

      public String getClientId()
      Gets the client id of the element.

      Returns:
      the client id of the element
    • getOption

      public String 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