info.magnolia.module.delta
Class AllModulesNodeOperation
java.lang.Object
info.magnolia.module.delta.AbstractTask
info.magnolia.module.delta.AbstractRepositoryTask
info.magnolia.module.delta.AllChildrenNodesOperation
info.magnolia.module.delta.AllModulesNodeOperation
- All Implemented Interfaces:
- Task
- Direct Known Subclasses:
- DeprecateDialogPathAllModules, FixTemplatePathTask, NestPropertiesAllModulesNodeTask, ReconfigureCommands, RemoveModuleDescriptorDetailsFromRepo, RenamedRenderersToTemplateRenderers, RenamePropertyAllModulesNodeTask, UpdateURIMappings, WarnIgnoredModuleFilters
public abstract class AllModulesNodeOperation
- extends AllChildrenNodesOperation
An abstract that will perform an operation on all modules node found in the configuration repository.
- Version:
- $Revision: $ ($Author: $)
- Author:
- gjoseph
- See Also:
Warning: tasks will fail if the modules node does not exist yet. (As an incentive to force the explicit creation
of this node)
AllModulesNodeOperation
public AllModulesNodeOperation(String name,
String description)
getHierarchyManager
protected HierarchyManager getHierarchyManager(InstallContext ctx)
throws javax.jcr.RepositoryException,
TaskExecutionException
- Throws:
javax.jcr.RepositoryException
TaskExecutionException
getParentNode
protected Content getParentNode(InstallContext ctx)
throws javax.jcr.RepositoryException,
TaskExecutionException
- Overrides:
getParentNode
in class AllChildrenNodesOperation
- Throws:
javax.jcr.RepositoryException
TaskExecutionException
operateOnChildNode
protected void operateOnChildNode(Content node,
InstallContext ctx)
throws javax.jcr.RepositoryException,
TaskExecutionException
- Specified by:
operateOnChildNode
in class AllChildrenNodesOperation
- Throws:
javax.jcr.RepositoryException
TaskExecutionException
operateOnModuleNode
protected abstract void operateOnModuleNode(Content node,
HierarchyManager hm,
InstallContext ctx)
throws javax.jcr.RepositoryException,
TaskExecutionException
- Throws:
javax.jcr.RepositoryException
TaskExecutionException
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.