info.magnolia.module.delta
Class AllChildrenNodesOperation
java.lang.Object
info.magnolia.module.delta.AbstractTask
info.magnolia.module.delta.AbstractRepositoryTask
info.magnolia.module.delta.AllChildrenNodesOperation
- All Implemented Interfaces:
- Task
- Direct Known Subclasses:
- AddURIPermissionsToAllRoles, AllModulesNodeOperation, HashUsersPasswords, UpdateURI2RepositoryMappings
public abstract class AllChildrenNodesOperation
- extends AbstractRepositoryTask
This task executes the abstract method on every child node.
- Version:
- $Revision: $ ($Author: $)
- Author:
- gjoseph
AllChildrenNodesOperation
public AllChildrenNodesOperation(String name,
String description,
String repositoryName,
String parentNodePath)
AllChildrenNodesOperation
public AllChildrenNodesOperation(String name,
String description,
String repositoryName,
String parentNodePath,
Content.ContentFilter filter)
doExecute
protected void doExecute(InstallContext ctx)
throws javax.jcr.RepositoryException,
TaskExecutionException
- Specified by:
doExecute
in class AbstractRepositoryTask
- Throws:
javax.jcr.RepositoryException
TaskExecutionException
getParentNode
protected Content getParentNode(InstallContext ctx)
throws javax.jcr.RepositoryException,
TaskExecutionException
- Throws:
javax.jcr.RepositoryException
TaskExecutionException
operateOnChildNode
protected abstract void operateOnChildNode(Content node,
InstallContext ctx)
throws javax.jcr.RepositoryException,
TaskExecutionException
- Throws:
javax.jcr.RepositoryException
TaskExecutionException
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.