Class 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.
      boolean isActive()
      Returns the active.
      void setActive​(boolean active)
      Sets the active.
      void setExistingDeletedFileNames​(java.util.List<java.lang.String> existingDeletedFileNames)
      Sets the list of filenames that point to existing but deleted files.
      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​(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 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 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