Class CmsUploadState

java.lang.Object
com.vaadin.shared.communication.SharedState
com.vaadin.shared.AbstractComponentState
com.vaadin.shared.ui.TabIndexState
com.vaadin.shared.ui.button.ButtonState
org.opencms.ui.shared.components.CmsUploadState
All Implemented Interfaces:
Serializable

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

See Also:
  • Constructor Details

  • Method Details

    • getDialogTitle

      Returns the dialog title.

      Returns:
      the dialog title
    • getReplaceId

      Returns the structure id of the file to replace.

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

      Returns the target file name.

      Returns:
      the target file name
    • getTargetFileNamePrefix

      Returns the target file name prefix.

      Returns:
      the target file name prefix
    • getTargetFolderRootPath

      Returns the targetFolderRootPath.

      Returns:
      the targetFolderRootPath
    • getUploadType

      Returns the upload type.

      Returns:
      the upload type
    • setDialogTitle

      public void setDialogTitle(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(String targetFileName)
      Sets the target file name.

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

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

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

      public void setTargetFolderRootPath(String targetFolderRootPath)
      Sets the targetFolderRootPath.

      Parameters:
      targetFolderRootPath - the targetFolderRootPath to set
    • setUploadType

      public void setUploadType(CmsUploadState.UploadType uploadType)
      Sets the upload type.

      Parameters:
      uploadType - the upload type to set