public class ConstraintsHelper extends Object
| Constructor and Description |
|---|
ConstraintsHelper() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getConstraints(JCRNodeWrapper node) |
static String |
getConstraints(JCRNodeWrapper node,
String targetChildName) |
static String |
getConstraints(List<ExtendedNodeType> nodeType,
String targetChildName) |
static Set<String> |
getConstraintSet(JCRNodeWrapper node) |
static Set<String> |
getConstraintSet(JCRNodeWrapper node,
String targetChildName) |
static Set<String> |
getConstraintSet(List<ExtendedNodeType> nodeType,
String targetChildName) |
static String |
getReferenceTypes(String constraints,
String nodeTypes)
Builds a list of usable reference types for the specified node types and constraints.
|
public static String getConstraints(JCRNodeWrapper node) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic static Set<String> getConstraintSet(JCRNodeWrapper node) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic static String getConstraints(JCRNodeWrapper node, String targetChildName) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic static Set<String> getConstraintSet(JCRNodeWrapper node, String targetChildName) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic static String getConstraints(List<ExtendedNodeType> nodeType, String targetChildName)
public static Set<String> getConstraintSet(List<ExtendedNodeType> nodeType, String targetChildName)
public static String getReferenceTypes(String constraints, String nodeTypes) throws javax.jcr.nodetype.NoSuchNodeTypeException
constraints - nodeTypes - javax.jcr.nodetype.NoSuchNodeTypeExceptionCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.