Class CmsListElementCreationDialogData

  • All Implemented Interfaces:
    com.google.gwt.user.client.rpc.IsSerializable

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

      • getCaption

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

        public CmsListInfoBean getListInfo()
        Gets the resource list info for the element to display on top of the dialog.
        Returns:
        the list info
      • getMessage

        public java.lang.String getMessage()
        Gets the message.
        Returns:
        the message
      • getPostCreateHandler

        public java.lang.String getPostCreateHandler()
        Gets the post create handler.
        Returns:
        the post create handler
      • getUploadFolder

        public java.lang.String 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​(java.lang.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​(java.lang.String message)
        Sets the message.
        Parameters:
        message - the new message
      • setPostCreateHandler

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

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