Interface DeleteService

    • Method Detail

      • deleteIfExists

        void deleteIfExists​(Collection<org.uberfire.backend.vfs.Path> paths,
                            String comment)
        Deletes (in batch) the paths passed in {@param paths}, if they exist.
        Parameters:
        paths - Paths that will be removed.
      • hasRestriction

        boolean hasRestriction​(org.uberfire.backend.vfs.Path path)
        Verifies if a path can be deleted.
        Parameters:
        path - Path to be verified.
        Returns:
        true if there is a restriction and the path cannot be deleted, and false otherwise.