|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.ocm.nodemanagement.impl.NodeTypeManagerImpl
public class NodeTypeManagerImpl
| Constructor Summary | |
|---|---|
NodeTypeManagerImpl()
|
|
| Method Summary | |
|---|---|
void |
createNamespace(javax.jcr.Session session,
String namespace,
String namespaceUri)
Creates a new namespace in the repository. |
void |
createNodeTypes(javax.jcr.Session session,
ClassDescriptor[] classDescriptors)
This method creates JCR node types based on ClassDescriptor objects which are created by a jcr-mapping Mapper implementation. |
void |
createNodeTypes(javax.jcr.Session session,
MappingDescriptor mappingDescriptor)
This method creates JCR node types based on the MappingDescriptor object which is created by a jcr-mapping Mapper implementation. |
void |
createSingleNodeType(javax.jcr.Session session,
ClassDescriptor classDescriptor)
This method creates a single JCR node type identified by its ClassDescriptor read from the jcr mapping file. |
String[] |
getJcrSuperTypes(String superTypes)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NodeTypeManagerImpl()
| Method Detail |
|---|
public void createNamespace(javax.jcr.Session session,
String namespace,
String namespaceUri)
throws NamespaceCreationException
NodeTypeManager
createNamespace in interface NodeTypeManagernamespace - NamespacenamespaceUri - Full namespace URI
NamespaceCreationException
public void createNodeTypes(javax.jcr.Session session,
MappingDescriptor mappingDescriptor)
throws NodeTypeCreationException
NodeTypeManager
createNodeTypes in interface NodeTypeManagersession - Repository sessionmappingDescriptor - Mapping descriptor object created by
jcr-mapping
NodeTypeCreationException - NodeTypeCreationException
public void createNodeTypes(javax.jcr.Session session,
ClassDescriptor[] classDescriptors)
throws NodeTypeCreationException
NodeTypeManager
createNodeTypes in interface NodeTypeManagersession - Repository sessionclassDescriptors - Array of ClassDescriptor objects created by
jcr-mapping
NodeTypeCreationException - NodeTypeCreationException
public void createSingleNodeType(javax.jcr.Session session,
ClassDescriptor classDescriptor)
throws NodeTypeCreationException
NodeTypeManager
createSingleNodeType in interface NodeTypeManagersession - Repository sessionclassDescriptor - ClassDescriptor object created by jcr-mapping
NodeTypeCreationException - NodeTypeCreationExceptionpublic String[] getJcrSuperTypes(String superTypes)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||