Class RenameServiceImpl

  • All Implemented Interfaces:
    org.uberfire.ext.editor.commons.service.RenameService, org.uberfire.ext.editor.commons.service.support.SupportsRename

    @ApplicationScoped
    public class RenameServiceImpl
    extends Object
    implements org.uberfire.ext.editor.commons.service.RenameService
    • Constructor Detail

      • RenameServiceImpl

        public RenameServiceImpl()
    • Method Detail

      • rename

        public org.uberfire.backend.vfs.Path rename​(org.uberfire.backend.vfs.Path path,
                                                    String newName,
                                                    String comment)
        Specified by:
        rename in interface org.uberfire.ext.editor.commons.service.support.SupportsRename
      • renameIfExists

        public void renameIfExists​(Collection<org.uberfire.backend.vfs.Path> paths,
                                   String newName,
                                   String comment)
        Specified by:
        renameIfExists in interface org.uberfire.ext.editor.commons.service.RenameService
      • hasRestriction

        public boolean hasRestriction​(org.uberfire.backend.vfs.Path path)
        Specified by:
        hasRestriction in interface org.uberfire.ext.editor.commons.service.RenameService