Esempio n. 1
0
 /**
  * Returns the effective (i.e. merged and resolved) node type representation of this node's
  * primary and mixin node types.
  *
  * @return the effective node type
  * @throws RepositoryException
  */
 protected EffectiveNodeType getEffectiveNodeType(NodeState parent) throws RepositoryException {
   try {
     NodeTypeRegistry ntReg = getNodeTypeRegistry();
     return ntReg.getEffectiveNodeType(parent.getNodeTypeName(), parent.getMixinTypeNames());
   } catch (NodeTypeConflictException ntce) {
     String msg =
         "internal error: failed to build effective node type for node " + parent.getNodeId();
     throw new RepositoryException(msg, ntce);
   }
 }