info.magnolia.module.delta
Class RenameNodesTask
java.lang.Object
info.magnolia.module.delta.AbstractTask
info.magnolia.module.delta.AbstractRepositoryTask
info.magnolia.module.delta.RenameNodesTask
- All Implemented Interfaces:
- Task
public class RenameNodesTask
- extends AbstractRepositoryTask
Renames all nodes having a certain name and nodeType to the provided new name.
Constructor Summary |
RenameNodesTask(String name,
String workspace,
String path,
String oldName,
String newName,
String nodeType)
|
RenameNodesTask(String name,
String description,
String workspace,
String path,
String oldName,
String newName,
String nodeType)
|
RenameNodesTask
public RenameNodesTask(String name,
String workspace,
String path,
String oldName,
String newName,
String nodeType)
RenameNodesTask
public RenameNodesTask(String name,
String description,
String workspace,
String path,
String oldName,
String newName,
String nodeType)
doExecute
protected void doExecute(InstallContext installContext)
throws javax.jcr.RepositoryException,
TaskExecutionException
- Specified by:
doExecute
in class AbstractRepositoryTask
- Throws:
javax.jcr.RepositoryException
TaskExecutionException
Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.