public class ChangeAllPropertiesWithCertainValueTask extends AbstractRepositoryTask
PropertyType.STRING
and has a certain value.
Note that this uses the query functionality of JCR and is therefore usable only if currentValue
is a
valid fullTextSearchExpression
as defined in JCR2 6.7.19. More specifically it is not guaranteed to
find all properties intended to be changed if currentValue
either:
OR
DO_NOTHING, log
Constructor and Description |
---|
ChangeAllPropertiesWithCertainValueTask(String currentValue,
String newValue) |
ChangeAllPropertiesWithCertainValueTask(String workspaceName,
String currentValue,
String newValue) |
ChangeAllPropertiesWithCertainValueTask(String name,
String description,
String workspaceName,
String currentValue,
String newValue) |
Modifier and Type | Method and Description |
---|---|
protected void |
doExecute(InstallContext installContext) |
execute
getDescription, getName, toString
public ChangeAllPropertiesWithCertainValueTask(String currentValue, String newValue)
public ChangeAllPropertiesWithCertainValueTask(String workspaceName, String currentValue, String newValue)
protected void doExecute(InstallContext installContext) throws javax.jcr.RepositoryException, TaskExecutionException
doExecute
in class AbstractRepositoryTask
javax.jcr.RepositoryException
TaskExecutionException
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.