Interface I_CmsUploadService

    • Method Detail

      • cancelUpload

        java.lang.Boolean cancelUpload()
        Cancels the upload.

        true if the listener was canceled false otherwise
      • checkUploadFiles

        CmsUploadFileBean checkUploadFiles​(java.util.List<java.lang.String> fileNames,
                                           java.lang.String targetFolder,
                                           boolean isRootPath)
        Checks the availability of a resource in the VFS, using the CmsResourceFilter.IGNORE_EXPIRATION filter.

        Calculates the VFS path for each filename in the given list and checks its availability.

        fileNames - the filenames to check
        targetFolder - the folder to check
        isRootPath - true in case the target folder path is a root path
        a CmsUploadFileBean that holds the list of resource names (without the path) that already exist in the VFS and a list of filenames that are invalid