public class RenameSameNameSiblingNodesTask extends IdentifySameNameSiblingNodesTask
session, workspace
DO_NOTHING
Constructor and Description |
---|
RenameSameNameSiblingNodesTask(String name,
String description,
String workspace,
String subPath,
List<String> nodeTypes,
boolean evaluateSupertypes) |
Modifier and Type | Method and Description |
---|---|
protected String |
createNewName(javax.jcr.Node node)
Create a new unique name.
Override this method in order to create a unique name based on another pattern. |
protected void |
handleNode(javax.jcr.Node node,
InstallContext installContext)
Take action on a sibling node.
In this case, simply display in the install screen the sibling node name and path. |
doExecute, isSameNameSiblingNode
execute
getDescription, getName, toString
protected void handleNode(javax.jcr.Node node, InstallContext installContext) throws javax.jcr.RepositoryException
IdentifySameNameSiblingNodesTask
handleNode
in class IdentifySameNameSiblingNodesTask
javax.jcr.RepositoryException
protected String createNewName(javax.jcr.Node node) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
Copyright © 2003–2019 Magnolia International Ltd.. All rights reserved.