info.magnolia.module.templating.setup.for4_0
Class DeprecateDialogPathAllModules

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.templating.setup.for4_0.DeprecateDialogPathAllModules
All Implemented Interfaces:
Task

public class DeprecateDialogPathAllModules
extends AllModulesNodeOperation

Renames dialogPath to dialog and sets the property to the dialog name, in all modules in all paragraphs nodes.

Author:
tmiyar

Constructor Summary
DeprecateDialogPathAllModules(String name, String description)
           
 
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

DeprecateDialogPathAllModules

public DeprecateDialogPathAllModules(String name,
                                     String description)
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-2011 Magnolia International Ltd.. All Rights Reserved.