info.magnolia.module.delta
Class OrderNodeToFirstPositionTask

java.lang.Object
  extended by info.magnolia.module.delta.AbstractTask
      extended by info.magnolia.module.delta.AbstractRepositoryTask
          extended by info.magnolia.module.delta.OrderNodeToFirstPositionTask
All Implemented Interfaces:
Task
Direct Known Subclasses:
OrderNodeTo1stPosTask

public class OrderNodeToFirstPositionTask
extends AbstractRepositoryTask

Sets the Node of a given path in a given repository to the first position of all children.


Field Summary
 
Fields inherited from class info.magnolia.module.delta.AbstractTask
DO_NOTHING, log
 
Constructor Summary
OrderNodeToFirstPositionTask(String name, String path)
           
OrderNodeToFirstPositionTask(String name, String description, String repository, String path)
           
 
Method Summary
protected  void doExecute(InstallContext installContext)
           
 
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

OrderNodeToFirstPositionTask

public OrderNodeToFirstPositionTask(String name,
                                    String path)

OrderNodeToFirstPositionTask

public OrderNodeToFirstPositionTask(String name,
                                    String description,
                                    String repository,
                                    String path)
Method Detail

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.