public class NodeTypeUtils
extends java.lang.Object
Constructor and Description |
---|
NodeTypeUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
createNodeType(Session session,
java.lang.String name,
java.lang.String[] properties,
int[] propTypes,
java.lang.String[] superTypes,
java.lang.String[] childrenTypes,
java.lang.String baseType,
boolean isMixin)
Creates a node type with the given properties.
|
public static java.lang.String createNodeType(Session session, java.lang.String name, java.lang.String[] properties, int[] propTypes, java.lang.String[] superTypes, java.lang.String[] childrenTypes, java.lang.String baseType, boolean isMixin) throws RepositoryException
session
- the sessionname
- the nameproperties
- the propertiessuperTypes
- the super typeschildrenTypes
- the children typesbaseType
- the base typeisMixin
- the is mixinRepositoryException
- the repository exceptionCopyright © 2012–2022 The Apache Software Foundation. All rights reserved.