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 Details

    • 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 VFS
      invalidFileNames - list of filenames that are invalid
      existingDeleted - the list of filenames that point to existing but deleted files
      active - 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

      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(List<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(List<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(List<String> invalidFileNames)
      Sets the list of filenames that are invalid.

      Parameters:
      invalidFileNames - the list of filenames that are invalid to set