public class NodeHelper extends Object
Constructor and Description |
---|
NodeHelper() |
Modifier and Type | Method and Description |
---|---|
static javax.jcr.Node |
addNode(javax.jcr.Node parentNode,
String nodeNamePrefix,
String nodeName)
Encapsulate addNode calls here to ensure we are encoding the parameter
|
static javax.jcr.Node |
addNode(javax.jcr.Node parentNode,
String nodeNamePrefix,
String nodeName,
String nodeParameter)
Encapsulate addNode calls here to ensure we are encoding the parameter
|
protected static javax.jcr.Node |
checkAddNode(javax.jcr.Node parentNode,
String nodeName)
Encapsulate addNode calls here to ensure we are encoding the parameter
|
protected static javax.jcr.Node |
checkAddNode(javax.jcr.Node parentNode,
String nodeName,
String nodeParameter)
Encapsulate addNode calls here to ensure we are encoding the parameter
|
protected static javax.jcr.Node |
checkGetNode(javax.jcr.Node parentNode,
String nodeName)
Encapsulate getNode calls here to ensure we are encoding the parameter
|
protected static boolean |
checkHasNode(javax.jcr.Node parentNode,
String nodeName)
Encapsulate hasNode calls here to ensure we are encoding the parameter
|
static org.pentaho.platform.api.repository2.unified.data.node.DataNode |
createDataNode(String name)
Safely create data node with jcr encoded name
|
static javax.jcr.Node |
getNode(javax.jcr.Node parentNode,
String nodeNamePrefix,
String nodeName)
Encapsulate getNode calls here to ensure we are encoding the parameter
|
static boolean |
hasNode(javax.jcr.Node parentNode,
String nodeNamePrefix,
String nodeName)
Encapsulate hasNode calls here to ensure we are encoding the parameter
|
protected static boolean checkHasNode(javax.jcr.Node parentNode, String nodeName) throws javax.jcr.RepositoryException
parentNode
- nodeName
- javax.jcr.RepositoryException
public static boolean hasNode(javax.jcr.Node parentNode, String nodeNamePrefix, String nodeName) throws javax.jcr.RepositoryException
parentNode
- nodeNamePrefix
- nodeName
- javax.jcr.RepositoryException
protected static javax.jcr.Node checkAddNode(javax.jcr.Node parentNode, String nodeName) throws javax.jcr.RepositoryException
parentNode
- nodeName
- javax.jcr.RepositoryException
public static javax.jcr.Node addNode(javax.jcr.Node parentNode, String nodeNamePrefix, String nodeName) throws javax.jcr.RepositoryException
parentNode
- nodeNamePrefix
- nodeName
- javax.jcr.RepositoryException
public static javax.jcr.Node addNode(javax.jcr.Node parentNode, String nodeNamePrefix, String nodeName, String nodeParameter) throws javax.jcr.RepositoryException
parentNode
- nodeNamePrefix
- nodeName
- javax.jcr.RepositoryException
protected static javax.jcr.Node checkAddNode(javax.jcr.Node parentNode, String nodeName, String nodeParameter) throws javax.jcr.RepositoryException
parentNode
- nodeName
- javax.jcr.RepositoryException
protected static javax.jcr.Node checkGetNode(javax.jcr.Node parentNode, String nodeName) throws javax.jcr.RepositoryException
parentNode
- nodeName
- javax.jcr.RepositoryException
public static javax.jcr.Node getNode(javax.jcr.Node parentNode, String nodeNamePrefix, String nodeName) throws javax.jcr.RepositoryException
parentNode
- nodeNamePrefix
- nodeName
- javax.jcr.RepositoryException
public static org.pentaho.platform.api.repository2.unified.data.node.DataNode createDataNode(String name)
name
- Copyright © 2019 Hitachi Vantara. All rights reserved.