org.opencms.gwt.shared
Class CmsUploadFileBean

java.lang.Object
  extended by 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
CmsUploadFileBean()
          The default constructor.
CmsUploadFileBean(java.util.List<java.lang.String> existingFileNames, java.util.List<java.lang.String> invalidFileNames, boolean active)
          The constructor with parameters.
 
Method Summary
 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.
 boolean isActive()
          Returns the active.
 void setActive(boolean active)
          Sets the active.
 void setExistingResourceNames(java.util.List<java.lang.String> existingResourceNames)
          Sets the list of resource names that already exist on the VFS.
 void setInvalidFileNames(java.util.List<java.lang.String> invalidFileNames)
          Sets the list of filenames that are invalid.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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,
                         boolean active)
The constructor with parameters.

Parameters:
existingFileNames - list of filenames that already exist on the VFS
invalidFileNames - list of filenames that are invalid
active - the upload active flag
Method Detail

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

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