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 java.lang.Object implements com.google.gwt.user.client.rpc.IsSerializable
A bean that holds the upload file infos.- Since:
- 8.0.0
-
-
Constructor Summary
Constructors Constructor Description CmsUploadFileBean()The default constructor.CmsUploadFileBean(java.util.List<java.lang.String> existingFileNames, java.util.List<java.lang.String> invalidFileNames, java.util.List<java.lang.String> existingDeleted, boolean active)The constructor with parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>getExistingDeletedFileNames()Returns the list of filenames that point to existing but deleted files.java.util.List<java.lang.String>getExistingResourceNames()Returns the list of resource names that already exist on the VFS.java.util.List<java.lang.String>getInvalidFileNames()Returns the list of filenames that are invalid.booleanisActive()Returns the active.voidsetActive(boolean active)Sets the active.voidsetExistingDeletedFileNames(java.util.List<java.lang.String> existingDeletedFileNames)Sets the list of filenames that point to existing but deleted files.voidsetExistingResourceNames(java.util.List<java.lang.String> existingResourceNames)Sets the list of resource names that already exist on the VFS.voidsetInvalidFileNames(java.util.List<java.lang.String> invalidFileNames)Sets the list of filenames that are invalid.
-
-
-
Constructor Detail
-
CmsUploadFileBean
public CmsUploadFileBean()
The default constructor.
-
CmsUploadFileBean
public CmsUploadFileBean(java.util.List<java.lang.String> existingFileNames, java.util.List<java.lang.String> invalidFileNames, java.util.List<java.lang.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 Detail
-
getExistingDeletedFileNames
public java.util.List<java.lang.String> 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
public java.util.List<java.lang.String> 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
public java.util.List<java.lang.String> getInvalidFileNames()
Returns the list of filenames that are invalid.- Returns:
- the list of filenames that are invalid
-
isActive
public boolean isActive()
Returns the active.- Returns:
- the active
-
setActive
public void setActive(boolean active)
Sets the active.- Parameters:
active- the active to set
-
setExistingDeletedFileNames
public void setExistingDeletedFileNames(java.util.List<java.lang.String> existingDeletedFileNames)
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
public void setExistingResourceNames(java.util.List<java.lang.String> existingResourceNames)
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
public void setInvalidFileNames(java.util.List<java.lang.String> invalidFileNames)
Sets the list of filenames that are invalid.- Parameters:
invalidFileNames- the list of filenames that are invalid to set
-
-