info.magnolia.module.delta
Class RemoveNodeAndEmptyParentTask
java.lang.Object
info.magnolia.module.delta.AbstractTask
info.magnolia.module.delta.AbstractRepositoryTask
info.magnolia.module.delta.RemoveNodeTask
info.magnolia.module.delta.RemoveNodeAndEmptyParentTask
- All Implemented Interfaces:
- Task
public class RemoveNodeAndEmptyParentTask
- extends RemoveNodeTask
Removes the specified node and its parents if are empty.
RemoveNodeAndEmptyParentTask
public RemoveNodeAndEmptyParentTask(String pathToRemove)
RemoveNodeAndEmptyParentTask
public RemoveNodeAndEmptyParentTask(String name,
String description,
String workspaceName,
String pathToRemove)
doExecute
protected void doExecute(InstallContext ctx)
throws javax.jcr.RepositoryException,
TaskExecutionException
- Overrides:
doExecute
in class RemoveNodeTask
- Throws:
javax.jcr.RepositoryException
TaskExecutionException
Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.