info.magnolia.module.delta
Class FindAndChangeTemplateIdTask
java.lang.Object
info.magnolia.module.delta.AbstractTask
info.magnolia.module.delta.AbstractRepositoryTask
info.magnolia.module.delta.FindAndChangeTemplateIdTask
- All Implemented Interfaces:
- Task
public class FindAndChangeTemplateIdTask
- extends AbstractRepositoryTask
Task which find all content with specific template id and change template id to new one.
FindAndChangeTemplateIdTask
public FindAndChangeTemplateIdTask(String name,
String description,
String repository,
String oldTemplateId,
String newTemplateId)
doExecute
protected void doExecute(InstallContext installContext)
throws javax.jcr.RepositoryException,
TaskExecutionException
- Specified by:
doExecute
in class AbstractRepositoryTask
- Throws:
javax.jcr.RepositoryException
TaskExecutionException
operateOnNode
protected void operateOnNode(InstallContext installContext,
javax.jcr.Node node)
Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.