com.silverpeas.jcrutil.model
Class SilverpeasRegister
java.lang.Object
com.silverpeas.jcrutil.model.SilverpeasRegister
public class SilverpeasRegister
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SilverpeasRegister
public SilverpeasRegister()
registerNodeTypes
public static void registerNodeTypes(String cndFileName)
throws javax.jcr.RepositoryException,
org.apache.jackrabbit.commons.cnd.ParseException,
IOException
- Register Silverpeas node types in Jackrabbit
- Parameters:
cndFileName
- the file containing the nodes definitions.
- Throws:
javax.jcr.NamespaceException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.RepositoryException
org.apache.jackrabbit.commons.cnd.ParseException
IOException
registerNodeTypes
public static void registerNodeTypes(Reader cnd)
throws javax.jcr.RepositoryException,
org.apache.jackrabbit.commons.cnd.ParseException,
IOException
- Register Silverpeas node types in Jackrabbit
- Parameters:
cnd
- a reader containing the nodes definitions.
- Throws:
javax.jcr.NamespaceException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.RepositoryException
org.apache.jackrabbit.commons.cnd.ParseException
IOException
Copyright © 2016 Silverpeas. All Rights Reserved.