jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r770585 - /jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/nodetype/NodeTypeManagerImpl.java
Date Fri, 01 May 2009 08:53:03 GMT
Author: jukka
Date: Fri May  1 08:53:03 2009
New Revision: 770585

URL: http://svn.apache.org/viewvc?rev=770585&view=rev
Log:
JCR-1591: JSR 283: NodeType Management

Missing methods in NodeTypeManager

Modified:
    jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/nodetype/NodeTypeManagerImpl.java

Modified: jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/nodetype/NodeTypeManagerImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/nodetype/NodeTypeManagerImpl.java?rev=770585&r1=770584&r2=770585&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/nodetype/NodeTypeManagerImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/nodetype/NodeTypeManagerImpl.java
Fri May  1 08:53:03 2009
@@ -32,16 +32,24 @@
 
 import javax.jcr.RepositoryException;
 import javax.jcr.PropertyType;
+import javax.jcr.UnsupportedRepositoryOperationException;
 import javax.jcr.Value;
 import javax.jcr.ValueFactory;
 import javax.jcr.NamespaceException;
 import javax.jcr.version.OnParentVersionAction;
+import javax.jcr.nodetype.InvalidNodeTypeDefinitionException;
 import javax.jcr.nodetype.NoSuchNodeTypeException;
+import javax.jcr.nodetype.NodeDefinitionTemplate;
 import javax.jcr.nodetype.NodeType;
+import javax.jcr.nodetype.NodeTypeDefinition;
+import javax.jcr.nodetype.NodeTypeExistsException;
 import javax.jcr.nodetype.NodeTypeIterator;
 import javax.jcr.nodetype.NodeTypeManager;
+import javax.jcr.nodetype.NodeTypeTemplate;
 import javax.jcr.nodetype.PropertyDefinition;
 import javax.jcr.nodetype.NodeDefinition;
+import javax.jcr.nodetype.PropertyDefinitionTemplate;
+
 import java.util.ArrayList;
 import java.util.Iterator;
 import java.util.Map;
@@ -425,4 +433,51 @@
             e.printStackTrace(ps);
         }
     }
+
+    public NodeDefinitionTemplate createNodeDefinitionTemplate()
+            throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("JCR-1591");
+    }
+
+    public NodeTypeTemplate createNodeTypeTemplate()
+            throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("JCR-1591");
+    }
+
+    public NodeTypeTemplate createNodeTypeTemplate(NodeTypeDefinition ntd)
+            throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("JCR-1591");
+    }
+
+    public PropertyDefinitionTemplate createPropertyDefinitionTemplate()
+            throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("JCR-1591");
+    }
+
+    public boolean hasNodeType(String name) throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("JCR-1591");
+    }
+
+    public NodeType registerNodeType(
+            NodeTypeDefinition ntd, boolean allowUpdate)
+            throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("JCR-1591");
+    }
+
+    public NodeTypeIterator registerNodeTypes(
+            NodeTypeDefinition[] ntds, boolean allowUpdate)
+            throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("JCR-1591");
+    }
+
+    public void unregisterNodeType(String name)
+            throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("JCR-1591");
+    }
+
+    public void unregisterNodeTypes(String[] names)
+            throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("JCR-1591");
+    }
+
 }



Mime
View raw message