Package org.opencms.ui.shared.components
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:
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
-
-
Constructor Summary
Constructors Constructor Description CmsUploadState()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDialogTitle()
Returns the dialog title.CmsUUID
getReplaceId()
Returns the structure id of the file to replace.java.lang.String
getTargetFileName()
Returns the target file name.java.lang.String
getTargetFileNamePrefix()
Returns the target file name prefix.java.lang.String
getTargetFolderRootPath()
Returns the targetFolderRootPath.CmsUploadState.UploadType
getUploadType()
Returns the upload type.void
setDialogTitle(java.lang.String dialogTitle)
Sets the dialog title.void
setReplaceId(CmsUUID replaceId)
Sets the structure id of the file to replace.void
setTargetFileName(java.lang.String targetFileName)
Sets the target file name.void
setTargetFileNamePrefix(java.lang.String targetFileNamePrefix)
Sets the target file name prefix.void
setTargetFolderRootPath(java.lang.String targetFolderRootPath)
Sets the targetFolderRootPath.void
setUploadType(CmsUploadState.UploadType uploadType)
Sets the upload type.
-
-
-
Constructor Detail
-
CmsUploadState
public 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
-
getUploadType
public CmsUploadState.UploadType getUploadType()
Returns the upload type.- Returns:
- the upload type
-
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
-
setUploadType
public void setUploadType(CmsUploadState.UploadType uploadType)
Sets the upload type.- Parameters:
uploadType
- the upload type to set
-
-