use of org.polymap.service.fs.spi.IContentMoveable in project polymap4-core by Polymap4.
the class WebDavMoveableResource method moveTo.
@Override
public void moveTo(CollectionResource dest, String newName) throws ConflictException, NotAuthorizedException, BadRequestException {
try {
IPath destPath = ((ContentNodeResource) dest).getNode().getPath();
((IContentMoveable) node).moveTo(destPath, newName);
} catch (IOException e) {
log.warn("", e);
throw new BadRequestException(this, e.getMessage());
} catch (org.polymap.service.fs.spi.BadRequestException e) {
throw new BadRequestException(this, e.getMessage());
}
}
Aggregations