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, CheckAndUpdateExistingFilters, CheckAndUpdateSecureURIs, CheckAndUpdateUnsecureURIs, IPConfigRulesUpdate, UpdateGroups, UpdateRoles, UpdateURI2RepositoryMappings, UpdateUserManagers, UpdateUserManagersWithLockTimePeriod, UpdateUserPermissions, UpdateUsers
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-2012 Magnolia International Ltd.. All Rights Reserved.