ContentUpgrade |
AecuBinding.contentUpgradeBuilder() |
Returns a content upgrade builder.
|
ContentUpgrade |
ContentUpgrade.doActivateContainingPage() |
Activates the page where the resource is located.
|
ContentUpgrade |
ContentUpgrade.doActivateResource() |
Activates the resource.
|
ContentUpgrade |
ContentUpgrade.doAddMixin(String mixinName) |
Adds a mixin
|
ContentUpgrade |
ContentUpgrade.doAddTagsToContainingPage(String... tags) |
Adds tags to the containing page of the matching resource.
|
ContentUpgrade |
ContentUpgrade.doAddValuesToMultiValueProperty(String name,
String[] values) |
Adds values to a multivalue property.
|
ContentUpgrade |
ContentUpgrade.doChangePrimaryType(String newPrimaryType) |
Changes jcr:primaryType.
|
ContentUpgrade |
ContentUpgrade.doCheckPageRendering() |
Checks if the containing page renders with status code 200.
|
ContentUpgrade |
ContentUpgrade.doCheckPageRendering(int code) |
Checks if the containing page renders with given status code.
|
ContentUpgrade |
ContentUpgrade.doCheckPageRendering(String textPresent) |
Checks if the containing page renders with status code 200 and contains given text.
|
ContentUpgrade |
ContentUpgrade.doCheckPageRendering(String textPresent,
String textNotPresent) |
Checks if the containing page renders with status code 200 and (not) contains given text.
|
ContentUpgrade |
ContentUpgrade.doCopyPropertyToRelativePath(String name,
String newName,
String relativeResourcePath) |
Copies a property to a relative path.
|
ContentUpgrade |
ContentUpgrade.doCopyResourceToRelativePath(String relativePath) |
Copies a resource to a relative path.
|
ContentUpgrade |
ContentUpgrade.doCopyResourceToRelativePath(String relativePath,
String newName) |
Copies a resource to a relative path.
|
ContentUpgrade |
ContentUpgrade.doCreateResource(String name,
String primaryType) |
Creates a new resource under the current one.
|
ContentUpgrade |
ContentUpgrade.doCreateResource(String name,
String primaryType,
String relativePath) |
Creates a new resource under the current one.
|
ContentUpgrade |
ContentUpgrade.doCreateResource(String name,
String primaryType,
Map<String,Object> properties) |
Creates a new resource under the current one.
|
ContentUpgrade |
ContentUpgrade.doCreateResource(String name,
String primaryType,
Map<String,Object> properties,
String relativePath) |
Creates a new resource under the current one.
|
ContentUpgrade |
ContentUpgrade.doCustomResourceBasedAction(CustomResourceAction action) |
Performs a custom action with providing a function.
|
ContentUpgrade |
ContentUpgrade.doDeactivateContainingPage() |
Deactivates the page where the resource is located.
|
ContentUpgrade |
ContentUpgrade.doDeactivateResource() |
Deactivates the resource.
|
ContentUpgrade |
ContentUpgrade.doDeleteContainingPage() |
Deletes the page where the resource is located.
|
ContentUpgrade |
ContentUpgrade.doDeleteProperty(String name) |
Deletes a property if existing.
|
ContentUpgrade |
ContentUpgrade.doDeleteProperty(String name,
String pathToSubnode) |
Deletes a property if existing.
|
ContentUpgrade |
ContentUpgrade.doDeleteResource(String... children) |
Deletes the child resources if supplied.
|
ContentUpgrade |
ContentUpgrade.doJoinProperty(String name) |
Joins a property value into a single value.
|
ContentUpgrade |
ContentUpgrade.doJoinProperty(String name,
Object value) |
Joins a property value into a single value.
|
ContentUpgrade |
ContentUpgrade.doJoinProperty(String name,
Object value,
String separator) |
Joins a property value into a single value using the given separator.
|
ContentUpgrade |
ContentUpgrade.doMovePropertyToRelativePath(String name,
String newName,
String relativeResourcePath) |
Moves a property to a relative path.
|
ContentUpgrade |
ContentUpgrade.doMoveResourceToPathRegex(String matchPattern,
String targetPathExpr) |
Moves a resource if its path matches the pattern to the path obtained by applying the
replacement expression
|
ContentUpgrade |
ContentUpgrade.doMoveResourceToRelativePath(String relativePath) |
Moves a resource to a relative path.
|
ContentUpgrade |
ContentUpgrade.doRemoveMixin(String mixinName) |
Removes a mixin
|
ContentUpgrade |
ContentUpgrade.doRemoveTagsFromContainingPage(String... tags) |
Removes tags from the containing page of the matching resource.
|
ContentUpgrade |
ContentUpgrade.doRemoveValuesOfMultiValueProperty(String name,
String[] values) |
Removes values of a multivalue property.
|
ContentUpgrade |
ContentUpgrade.doRename(String newName) |
Renames a resource to the given name.
|
ContentUpgrade |
ContentUpgrade.doRenameProperty(String oldName,
String newName) |
Renames a property if existing.
|
ContentUpgrade |
ContentUpgrade.doRenameProperty(String oldName,
String newName,
String pathToSubnode) |
Renames a property if existing.
|
ContentUpgrade |
ContentUpgrade.doReorderNode(String nameOfNodeToMove,
String newSuccessor) |
Reorders a resource.
|
ContentUpgrade |
ContentUpgrade.doReplaceValueInAllProperties(String oldValue,
String newValue) |
Replaces a substring in all properties of the matching resource.
|
ContentUpgrade |
ContentUpgrade.doReplaceValueInAllPropertiesRegex(String searchRegex,
String replacement) |
Replaces a substring in all properties of the matching resource using a regular expression.
|
ContentUpgrade |
ContentUpgrade.doReplaceValueInProperties(String oldValue,
String newValue,
String[] propertyNames) |
Replaces a substring in specific properties of the matching resource.
|
ContentUpgrade |
ContentUpgrade.doReplaceValueInPropertiesRegex(String searchRegex,
String replacement,
String[] propertyNames) |
Replaces a substring in specific properties of the matching resource using a regular
expression.
|
ContentUpgrade |
ContentUpgrade.doReplaceValuesOfMultiValueProperty(String name,
String[] oldValues,
String[] newValues) |
Replaces values in a multivalue property.
|
ContentUpgrade |
ContentUpgrade.doSetProperty(String name,
Object value) |
Sets a property value.
|
ContentUpgrade |
ContentUpgrade.doSetProperty(String name,
Object value,
String pathToSubnode) |
Sets a property value on a subnode.
|
ContentUpgrade |
ContentUpgrade.doSetProperty(String name,
Object value,
String pathToSubnode,
String primaryType) |
Sets a property value on a subnode.
|
ContentUpgrade |
ContentUpgrade.doSetTagsForContainingPage(String... tags) |
Sets tags for the containing page of the matching resource.
|
ContentUpgrade |
ContentUpgrade.doTreeActivateContainingPage() |
Activates the page tree where the resource is located.
|
ContentUpgrade |
ContentUpgrade.doTreeActivateContainingPage(boolean skipDeactivated) |
Activates the page tree where the resource is located.
|
ContentUpgrade |
ContentUpgrade.filterByAnyPropertyRegex(String regex) |
Filters by checking if any property matches the given regular expression for the value.
|
ContentUpgrade |
ContentUpgrade.filterByHasProperty(String name) |
Filters by existence of a single property.
|
ContentUpgrade |
ContentUpgrade.filterByMultiValuePropContains(String name,
Object[] conditionValues) |
Filters by multi-value with the given name containing the given condition values.
|
ContentUpgrade |
ContentUpgrade.filterByNodeExists(String path) |
Filters by node/subNode exists.
|
ContentUpgrade |
ContentUpgrade.filterByNodeName(String nodeName) |
Filters by node name exact match.
|
ContentUpgrade |
ContentUpgrade.filterByNodeNameRegex(String regex) |
Filters by matching node name using regular expression.
|
ContentUpgrade |
ContentUpgrade.filterByNodeNotExists(String path) |
Filters by node/subNode not exists.
|
ContentUpgrade |
ContentUpgrade.filterByNodeRootPaths(List<String> rootPaths) |
Filters by matching the resource path with the rootpaths
|
ContentUpgrade |
ContentUpgrade.filterByNoPropertyRegex(String regex) |
Filters by checking if any property does not match the given regular expression for the
value.
|
ContentUpgrade |
ContentUpgrade.filterByNotHasProperty(String name) |
Filters by non-existence of a single property.
|
ContentUpgrade |
ContentUpgrade.filterByNotMultiValuePropContains(String name,
Object[] conditionValues) |
Filters by multi-value with the given name not containing the given condition values.
|
ContentUpgrade |
ContentUpgrade.filterByNotNodeName(String nodeName) |
Filters by node name no exact match.
|
ContentUpgrade |
ContentUpgrade.filterByNotNodeNameRegex(String regex) |
Filters by not matching node name using regular expression.
|
ContentUpgrade |
ContentUpgrade.filterByNotPathRegex(String regex) |
Filters by not matching node path using regular expression.
|
ContentUpgrade |
ContentUpgrade.filterByNotProperties(Map<String,Object> conditionProperties) |
Filters by not matching multiple properties.
|
ContentUpgrade |
ContentUpgrade.filterByNotProperty(String name,
Object value) |
Filters by not matching a single property.
|
ContentUpgrade |
ContentUpgrade.filterByNotPropertyRegex(String name,
String regex) |
Filters by not matching a single property using a regular expression for the value.
|
ContentUpgrade |
ContentUpgrade.filterByPathRegex(String regex) |
Filters by matching node path using regular expression.
|
ContentUpgrade |
ContentUpgrade.filterByProperties(Map<String,Object> conditionProperties) |
Filters by matching multiple properties.
|
ContentUpgrade |
ContentUpgrade.filterByProperty(String name,
Object value) |
Filters by matching a single property.
|
ContentUpgrade |
ContentUpgrade.filterByPropertyIsMultiple(String name,
Object value) |
Filters by matching a single property using a regular expression for the value.
|
ContentUpgrade |
ContentUpgrade.filterByPropertyRegex(String name,
String regex) |
Filters by matching a single property using a regular expression for the value.
|
ContentUpgrade |
ContentUpgrade.filterNotWith(FilterBy filter) |
Filters by not matching the given filter.
|
ContentUpgrade |
ContentUpgrade.filterWith(FilterBy filter) |
Filters by matching the given filter.
|
ContentUpgrade |
ContentUpgrade.forChildResourcesOf(String path) |
Loops for all child resources of the given path.
|
ContentUpgrade |
ContentUpgrade.forDescendantResourcesOf(String path) |
Loops recursive for all child resources of the given path.
|
ContentUpgrade |
ContentUpgrade.forResources(String[] paths) |
Loops for given list of resources.
|
ContentUpgrade |
ContentUpgrade.forResourcesByPropertyQuery(String path,
Map<String,String> conditionProperties) |
Loops over resources found by the SQL2 query generated by the path and properties and the
default node type "nt:base".
|
ContentUpgrade |
ContentUpgrade.forResourcesByPropertyQuery(String path,
Map<String,String> conditionProperties,
String nodeType) |
Loops over resources found by the SQL2 query generated by the nodeType, path and properties.
|
ContentUpgrade |
ContentUpgrade.forResourcesBySql2Query(String query) |
Loops over resources found by SQL2 query.
|
ContentUpgrade |
ContentUpgrade.forResourcesInSubtree(String path) |
Loops recursive over all resources contained in the subtree at the given path.
|
ContentUpgrade |
ContentUpgrade.printJson() |
Prints the properties json
|
ContentUpgrade |
ContentUpgrade.printPath() |
Print path
|
ContentUpgrade |
ContentUpgrade.printProperty(String property) |
Print property
|