Class CmsListElementCreationDialogData

java.lang.Object
org.opencms.gwt.shared.CmsListElementCreationDialogData
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class CmsListElementCreationDialogData extends Object implements com.google.gwt.user.client.rpc.IsSerializable
Data needed by the dialog for creating new list elements.
  • Constructor Details

  • Method Details

    • add

      public void add(CmsListElementCreationOption option)
      Adds an option.
      Parameters:
      option - the option to add
    • getCaption

      public String getCaption()
      Gets the caption.
      Returns:
      the caption
    • getListInfo

      Gets the resource list info for the element to display on top of the dialog.
      Returns:
      the list info
    • getMessage

      public String getMessage()
      Gets the message.
      Returns:
      the message
    • getOptions

      Gets the options.
      Returns:
      the options
    • getPostCreateHandler

      Gets the post create handler.
      Returns:
      the post create handler
    • getUploadFolder

      Gets the upload folder.
      Returns:
      the upload folder
    • isUpload

      public boolean isUpload()
      Checks if adding to the list should trigger upload mode.
      Returns:
      true if this requires upload mode
    • setCaption

      public void setCaption(String caption)
      Sets the caption.
      Parameters:
      caption - the new caption
    • setListInfo

      public void setListInfo(CmsListInfoBean listInfo)
      Sets the list info.
      Parameters:
      listInfo - the new list info
    • setMessage

      public void setMessage(String message)
      Sets the message.
      Parameters:
      message - the new message
    • setPostCreateHandler

      public void setPostCreateHandler(String postCreateHandler)
      Sets the post create handler.
      Parameters:
      postCreateHandler - the new post create handler
    • setUploadFolder

      public void setUploadFolder(String uploadFolder)
      Sets the upload folder.
      Parameters:
      uploadFolder - the upload folder