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
Nested Classes -
Field Summary
Fields inherited from class com.vaadin.shared.ui.button.ButtonState
clickShortcutKeyCode, disableOnClick, iconAltTextFields inherited from class com.vaadin.shared.ui.TabIndexState
tabIndexFields inherited from class com.vaadin.shared.AbstractComponentState
caption, captionAsHtml, description, descriptionContentMode, errorLevel, errorMessage, height, id, primaryStyleName, styles, widthFields inherited from class com.vaadin.shared.communication.SharedState
enabled, registeredEventListeners, resources -
Constructor Summary
Constructors -
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.voidsetDialogTitle(String dialogTitle) Sets the dialog title.voidsetReplaceId(CmsUUID replaceId) Sets the structure id of the file to replace.voidsetTargetFileName(String targetFileName) Sets the target file name.voidsetTargetFileNamePrefix(String targetFileNamePrefix) Sets the target file name prefix.voidsetTargetFolderRootPath(String targetFolderRootPath) Sets the targetFolderRootPath.voidsetUploadType(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
-