info.magnolia.setup.initial
Class UpdateURI2RepositoryMappings
java.lang.Object
info.magnolia.module.delta.AbstractTask
info.magnolia.module.delta.AbstractRepositoryTask
info.magnolia.module.delta.AllChildrenNodesOperation
info.magnolia.setup.initial.UpdateURI2RepositoryMappings
- All Implemented Interfaces:
- Task
public class UpdateURI2RepositoryMappings
- extends AllChildrenNodesOperation
Updates format of URI2Repository mappings to format used since 3.5.
UpdateURI2RepositoryMappings
public UpdateURI2RepositoryMappings()
doExecute
protected void doExecute(InstallContext ctx)
throws javax.jcr.RepositoryException,
TaskExecutionException
- Creates the mappings node and delegates to the super
doExecute(InstallContext)
method.
- Overrides:
doExecute
in class AllChildrenNodesOperation
- Throws:
javax.jcr.RepositoryException
TaskExecutionException
operateOnChildNode
protected void operateOnChildNode(Content node,
InstallContext ctx)
throws javax.jcr.RepositoryException,
TaskExecutionException
- Moves every node to the mappings node.
- Specified by:
operateOnChildNode
in class AllChildrenNodesOperation
- Throws:
javax.jcr.RepositoryException
TaskExecutionException
Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.