Class RenameServiceImpl
- java.lang.Object
-
- org.uberfire.ext.editor.commons.backend.service.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 Summary
Constructors Constructor Description RenameServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasRestriction(org.uberfire.backend.vfs.Path path)org.uberfire.backend.vfs.Pathrename(org.uberfire.backend.vfs.Path path, String newName, String comment)voidrenameIfExists(Collection<org.uberfire.backend.vfs.Path> paths, String newName, String comment)
-
-
-
Method Detail
-
rename
public org.uberfire.backend.vfs.Path rename(org.uberfire.backend.vfs.Path path, String newName, String comment)- Specified by:
renamein interfaceorg.uberfire.ext.editor.commons.service.support.SupportsRename
-
renameIfExists
public void renameIfExists(Collection<org.uberfire.backend.vfs.Path> paths, String newName, String comment)
- Specified by:
renameIfExistsin interfaceorg.uberfire.ext.editor.commons.service.RenameService
-
hasRestriction
public boolean hasRestriction(org.uberfire.backend.vfs.Path path)
- Specified by:
hasRestrictionin interfaceorg.uberfire.ext.editor.commons.service.RenameService
-
-