info.magnolia.module.delta
Class RenamePropertyAllModulesNodeTask

java.lang.Object
  extended by info.magnolia.module.delta.AbstractTask
      extended by info.magnolia.module.delta.AbstractRepositoryTask
          extended by info.magnolia.module.delta.AllChildrenNodesOperation
              extended by info.magnolia.module.delta.AllModulesNodeOperation
                  extended by 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$

Field Summary
 
Fields inherited from class info.magnolia.module.delta.AbstractTask
log
 
Constructor Summary
RenamePropertyAllModulesNodeTask(String name, String description, String baseNodeName, String srcPropertyName, String destPropertyName)
           
 
Method Summary
protected  void operateOnModuleNode(Content node, HierarchyManager hm, InstallContext ctx)
           
 
Methods inherited from class info.magnolia.module.delta.AllModulesNodeOperation
getHierarchyManager, getParentNode, operateOnChildNode
 
Methods inherited from class info.magnolia.module.delta.AllChildrenNodesOperation
doExecute
 
Methods inherited from class info.magnolia.module.delta.AbstractRepositoryTask
execute
 
Methods inherited from class info.magnolia.module.delta.AbstractTask
getDescription, getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RenamePropertyAllModulesNodeTask

public RenamePropertyAllModulesNodeTask(String name,
                                        String description,
                                        String baseNodeName,
                                        String srcPropertyName,
                                        String destPropertyName)
Method Detail

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.