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:
Serializable
The upload button state.
- See Also:
-
Nested Class Summary
-
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
-
Method Summary
Modifier and TypeMethodDescriptionReturns the dialog title.Returns the structure id of the file to replace.Returns the target file name.Returns the target file name prefix.Returns the targetFolderRootPath.Returns the upload type.void
setDialogTitle
(String dialogTitle) Sets the dialog title.void
setReplaceId
(CmsUUID replaceId) Sets the structure id of the file to replace.void
setTargetFileName
(String targetFileName) Sets the target file name.void
setTargetFileNamePrefix
(String targetFileNamePrefix) Sets the target file name prefix.void
setTargetFolderRootPath
(String targetFolderRootPath) Sets the targetFolderRootPath.void
setUploadType
(CmsUploadState.UploadType uploadType) Sets the upload type.
-
Constructor Details
-
CmsUploadState
public CmsUploadState()Constructor.
-
-
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
Sets the dialog title.- Parameters:
dialogTitle
- the dialog title to set
-
setReplaceId
Sets the structure id of the file to replace.- Parameters:
replaceId
- the structure id of the file to replace
-
setTargetFileName
Sets the target file name.- Parameters:
targetFileName
- the target file name to set
-
setTargetFileNamePrefix
Sets the target file name prefix.- Parameters:
targetFileNamePrefix
- the target file name prefix to set
-
setTargetFolderRootPath
Sets the targetFolderRootPath.- Parameters:
targetFolderRootPath
- the targetFolderRootPath to set
-