org.chromattic.common
Class JCR

java.lang.Object
  extended by org.chromattic.common.JCR

public class JCR
extends java.lang.Object

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
JCR()
           
 
Method Summary
static java.util.Iterator<javax.jcr.Node> adapt(javax.jcr.NodeIterator iterator)
           
static java.util.Iterator<javax.jcr.Property> adapt(javax.jcr.PropertyIterator iterator)
           
static javax.jcr.nodetype.PropertyDefinition getPropertyDefinition(javax.jcr.Node node, java.lang.String propertyName)
           
static javax.jcr.nodetype.PropertyDefinition getPropertyDefinition(javax.jcr.nodetype.NodeType nodeType, java.lang.String propertyName)
           
static boolean hasMixin(javax.jcr.Node node, java.lang.String mixinTypeName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JCR

public JCR()
Method Detail

adapt

public static java.util.Iterator<javax.jcr.Property> adapt(javax.jcr.PropertyIterator iterator)

adapt

public static java.util.Iterator<javax.jcr.Node> adapt(javax.jcr.NodeIterator iterator)

hasMixin

public static boolean hasMixin(javax.jcr.Node node,
                               java.lang.String mixinTypeName)
                        throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

getPropertyDefinition

public static javax.jcr.nodetype.PropertyDefinition getPropertyDefinition(javax.jcr.nodetype.NodeType nodeType,
                                                                          java.lang.String propertyName)
                                                                   throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

getPropertyDefinition

public static javax.jcr.nodetype.PropertyDefinition getPropertyDefinition(javax.jcr.Node node,
                                                                          java.lang.String propertyName)
                                                                   throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException


Copyright © 2011 eXo Platform SAS. All Rights Reserved.