it.openutils.mgnltasks
Class DeleteNodeTask

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

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

Deletes a node (if existing).

Version:
$Id: DeleteNodeTask.java 1830 2010-02-07 10:16:00Z fgiust $
Author:
fgiust

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

DeleteNodeTask

public DeleteNodeTask(String workspaceName,
                      String nodePath)
Parameters:
workspaceName - workspace (for example "config")
nodePath - node path
Method Detail

doExecute

protected void doExecute(info.magnolia.module.InstallContext installContext)
                  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.