@ApplicationScoped public class RenameServiceImpl extends Object implements RenameService
Constructor and Description |
---|
RenameServiceImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
hasRestriction(Path path) |
Path |
rename(Path path,
String newName,
String comment) |
void |
renameIfExists(Collection<Path> paths,
String newName,
String comment) |
public Path rename(Path path, String newName, String comment)
rename
in interface SupportsRename
public void renameIfExists(Collection<Path> paths, String newName, String comment)
renameIfExists
in interface RenameService
public boolean hasRestriction(Path path)
hasRestriction
in interface RenameService
Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.