it.openutils.mgnltasks
Class ChangePropertyForEachChildrenTask

java.lang.Object
  extended by info.magnolia.module.delta.AbstractTask
      extended by info.magnolia.module.delta.AbstractRepositoryTask
          extended by it.openutils.mgnltasks.ChangePropertyForEachChildrenTask
All Implemented Interfaces:
info.magnolia.module.delta.Task

public class ChangePropertyForEachChildrenTask
extends info.magnolia.module.delta.AbstractRepositoryTask

Change a nodedata value for all the children of a given node.

Version:
$Id: ChangePropertyForEachChildrenTask.java 2263 2010-04-04 16:40:30Z fgiust $
Author:
fgiust

Field Summary
 
Fields inherited from class info.magnolia.module.delta.AbstractTask
log
 
Constructor Summary
ChangePropertyForEachChildrenTask(String workspaceName, String nodePath, String propertyName, Object previousPropertyValue, Object newPropertyValue)
           
 
Method Summary
protected  void doExecute(info.magnolia.module.InstallContext ctx)
          
 
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

ChangePropertyForEachChildrenTask

public ChangePropertyForEachChildrenTask(String workspaceName,
                                         String nodePath,
                                         String propertyName,
                                         Object previousPropertyValue,
                                         Object newPropertyValue)
Method Detail

doExecute

protected void doExecute(info.magnolia.module.InstallContext ctx)
                  throws javax.jcr.RepositoryException,
                         info.magnolia.module.delta.TaskExecutionException

Specified by:
doExecute in class info.magnolia.module.delta.AbstractRepositoryTask
Throws:
javax.jcr.RepositoryException
info.magnolia.module.delta.TaskExecutionException


Copyright © 2008-2010 Openmind. All Rights Reserved.