info.magnolia.module.delta
Class CreateNodeTask

java.lang.Object
  extended by info.magnolia.module.delta.AbstractTask
      extended by info.magnolia.module.delta.AbstractRepositoryTask
          extended by info.magnolia.module.delta.CreateNodeTask
All Implemented Interfaces:
Task

public class CreateNodeTask
extends AbstractRepositoryTask

Creates a node in the given parent with the given name and type.


Field Summary
 
Fields inherited from class info.magnolia.module.delta.AbstractTask
DO_NOTHING, log
 
Constructor Summary
CreateNodeTask(String name, String parentPath, String nodeName, String type)
           
CreateNodeTask(String name, String description, String workspaceName, String parentPath, String nodeName, String type)
           
 
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

CreateNodeTask

public CreateNodeTask(String name,
                      String parentPath,
                      String nodeName,
                      String type)

CreateNodeTask

public CreateNodeTask(String name,
                      String description,
                      String workspaceName,
                      String parentPath,
                      String nodeName,
                      String type)
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.