info.magnolia.module.delta
Class RenamePropertyAllModulesNodeTask
java.lang.Object
info.magnolia.module.delta.AbstractTask
info.magnolia.module.delta.AbstractRepositoryTask
info.magnolia.module.delta.AllChildrenNodesOperation
info.magnolia.module.delta.AllModulesNodeOperation
info.magnolia.module.delta.RenamePropertyAllModulesNodeTask
- All Implemented Interfaces:
- Task
public class RenamePropertyAllModulesNodeTask
- extends AllModulesNodeOperation
Renames a property found in a given subnode of all modules; typically, renames "path" to "templatePath"
for all nodes under "paragraphs" for each module.
- Version:
- $Id$
RenamePropertyAllModulesNodeTask
public RenamePropertyAllModulesNodeTask(String name,
String description,
String baseNodeName,
String srcPropertyName,
String destPropertyName)
operateOnModuleNode
protected void operateOnModuleNode(Content node,
HierarchyManager hm,
InstallContext ctx)
throws javax.jcr.RepositoryException,
TaskExecutionException
- Specified by:
operateOnModuleNode
in class AllModulesNodeOperation
- Throws:
javax.jcr.RepositoryException
TaskExecutionException
Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.