public abstract class QueryTask extends AbstractRepositoryTask
Because the limitation above can lead to incomplete updates, we encourage usage of the NodeVisitorTask
instead.
NodeVisitorTask
DO_NOTHING, log
Constructor and Description |
---|
QueryTask(String name,
String description,
String repositoryName,
String query) |
Modifier and Type | Method and Description |
---|---|
protected void |
doExecute(InstallContext installContext) |
protected abstract void |
operateOnNode(InstallContext installContext,
javax.jcr.Node node) |
execute
getDescription, getName, toString
protected void doExecute(InstallContext installContext) throws javax.jcr.RepositoryException, TaskExecutionException
doExecute
in class AbstractRepositoryTask
javax.jcr.RepositoryException
TaskExecutionException
protected abstract void operateOnNode(InstallContext installContext, javax.jcr.Node node)
Copyright © 2003–2019 Magnolia International Ltd.. All rights reserved.