Class CmsUploadState

  • All Implemented Interfaces:
    java.io.Serializable

    public class CmsUploadState
    extends com.vaadin.shared.ui.button.ButtonState
    The upload button state.

    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  CmsUploadState.UploadType
      The upload types.
    • Field Summary

      • Fields inherited from class com.vaadin.shared.ui.button.ButtonState

        clickShortcutKeyCode, disableOnClick, iconAltText
      • Fields inherited from class com.vaadin.shared.ui.TabIndexState

        tabIndex
      • Fields inherited from class com.vaadin.shared.AbstractComponentState

        caption, captionAsHtml, description, descriptionContentMode, errorLevel, errorMessage, height, id, primaryStyleName, styles, width
      • Fields inherited from class com.vaadin.shared.communication.SharedState

        enabled, registeredEventListeners, resources
    • Constructor Summary

      Constructors 
      Constructor Description
      CmsUploadState()
      Constructor.
    • Method Detail

      • getDialogTitle

        public java.lang.String getDialogTitle()
        Returns the dialog title.

        Returns:
        the dialog title
      • getReplaceId

        public CmsUUID getReplaceId()
        Returns the structure id of the file to replace.

        Returns:
        the structure id of the file to replace
      • getTargetFileName

        public java.lang.String getTargetFileName()
        Returns the target file name.

        Returns:
        the target file name
      • getTargetFileNamePrefix

        public java.lang.String getTargetFileNamePrefix()
        Returns the target file name prefix.

        Returns:
        the target file name prefix
      • getTargetFolderRootPath

        public java.lang.String getTargetFolderRootPath()
        Returns the targetFolderRootPath.

        Returns:
        the targetFolderRootPath
      • setDialogTitle

        public void setDialogTitle​(java.lang.String dialogTitle)
        Sets the dialog title.

        Parameters:
        dialogTitle - the dialog title to set
      • setReplaceId

        public void setReplaceId​(CmsUUID replaceId)
        Sets the structure id of the file to replace.

        Parameters:
        replaceId - the structure id of the file to replace
      • setTargetFileName

        public void setTargetFileName​(java.lang.String targetFileName)
        Sets the target file name.

        Parameters:
        targetFileName - the target file name to set
      • setTargetFileNamePrefix

        public void setTargetFileNamePrefix​(java.lang.String targetFileNamePrefix)
        Sets the target file name prefix.

        Parameters:
        targetFileNamePrefix - the target file name prefix to set
      • setTargetFolderRootPath

        public void setTargetFolderRootPath​(java.lang.String targetFolderRootPath)
        Sets the targetFolderRootPath.

        Parameters:
        targetFolderRootPath - the targetFolderRootPath to set