info.magnolia.module.delta
Class QueryTask
java.lang.Object
info.magnolia.module.delta.AbstractTask
info.magnolia.module.delta.AbstractRepositoryTask
info.magnolia.module.delta.QueryTask
- All Implemented Interfaces:
- Task
public abstract class QueryTask
- extends AbstractRepositoryTask
An abstract task to perform operations on nodes returned by a given query.
Keep in mind that results returned by a query will reflect the current
content of the repository, not of your session; i.e if a previous task
modified a property, the query might still return the node as if it had
the previous value.
- Version:
- $Revision: $ ($Author: $)
- Author:
- gjoseph
QueryTask
public QueryTask(String name,
String description,
String repositoryName,
String query)
doExecute
protected void doExecute(InstallContext installContext)
throws javax.jcr.RepositoryException,
TaskExecutionException
- Specified by:
doExecute
in class AbstractRepositoryTask
- Throws:
javax.jcr.RepositoryException
TaskExecutionException
operateOnNode
protected abstract void operateOnNode(InstallContext installContext,
Content node)
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.