Package org.opencms.gwt.shared
Class CmsUploadFileBean
java.lang.Object
org.opencms.gwt.shared.CmsUploadFileBean
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
public class CmsUploadFileBean
extends Object
implements com.google.gwt.user.client.rpc.IsSerializable
A bean that holds the upload file infos.
- Since:
- 8.0.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the list of filenames that point to existing but deleted files.Returns the list of resource names that already exist on the VFS.Returns the list of filenames that are invalid.boolean
isActive()
Returns the active.void
setActive
(boolean active) Sets the active.void
setExistingDeletedFileNames
(List<String> existingDeletedFileNames) Sets the list of filenames that point to existing but deleted files.void
setExistingResourceNames
(List<String> existingResourceNames) Sets the list of resource names that already exist on the VFS.void
setInvalidFileNames
(List<String> invalidFileNames) Sets the list of filenames that are invalid.
-
Constructor Details
-
CmsUploadFileBean
public CmsUploadFileBean()The default constructor. -
CmsUploadFileBean
public CmsUploadFileBean(List<String> existingFileNames, List<String> invalidFileNames, List<String> existingDeleted, boolean active) The constructor with parameters.- Parameters:
existingFileNames
- list of filenames that already exist on the VFSinvalidFileNames
- list of filenames that are invalidexistingDeleted
- the list of filenames that point to existing but deleted filesactive
- the upload active flag
-
-
Method Details
-
getExistingDeletedFileNames
Returns the list of filenames that point to existing but deleted files.- Returns:
- the list of filenames that point to existing but deleted files
-
getExistingResourceNames
Returns the list of resource names that already exist on the VFS.- Returns:
- the list of resource names that already exist on the VFS
-
getInvalidFileNames
Returns the list of filenames that are invalid.- Returns:
- the list of filenames that are invalid
-
isActive
Returns the active.- Returns:
- the active
-
setActive
Sets the active.- Parameters:
active
- the active to set
-
setExistingDeletedFileNames
Sets the list of filenames that point to existing but deleted files.- Parameters:
existingDeletedFileNames
- list of filenames that point to existing but deleted files
-
setExistingResourceNames
Sets the list of resource names that already exist on the VFS.- Parameters:
existingResourceNames
- the list of resource names that already exist on the VFS to set
-
setInvalidFileNames
Sets the list of filenames that are invalid.- Parameters:
invalidFileNames
- the list of filenames that are invalid to set
-