Return-Path: Delivered-To: apmail-incubator-jackrabbit-commits-archive@www.apache.org Received: (qmail 15033 invoked from network); 1 Mar 2005 16:07:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Mar 2005 16:07:32 -0000 Received: (qmail 3151 invoked by uid 500); 1 Mar 2005 16:07:32 -0000 Mailing-List: contact jackrabbit-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jackrabbit-dev@incubator.apache.org Delivered-To: mailing list jackrabbit-commits@incubator.apache.org Received: (qmail 3138 invoked by uid 500); 1 Mar 2005 16:07:32 -0000 Delivered-To: apmail-incubator-jackrabbit-cvs@incubator.apache.org Received: (qmail 3133 invoked by uid 99); 1 Mar 2005 16:07:31 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 01 Mar 2005 08:07:30 -0800 Received: (qmail 15018 invoked by uid 65534); 1 Mar 2005 16:07:29 -0000 Message-ID: <20050301160729.15017.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailer: svnmailer-1.0.0-dev Date: Tue, 01 Mar 2005 16:07:29 -0000 Subject: svn commit: r155797 - incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/remote To: jackrabbit-cvs@incubator.apache.org From: jukka@apache.org X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Author: jukka Date: Tue Mar 1 08:07:22 2005 New Revision: 155797 URL: http://svn.apache.org/viewcvs?view=3Drev&rev=3D155797 Log: Checkstyle conformance: - removed unneeded public modifiers from interface methods - removed extra exception declarations - improved some javadocs Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteItem.java incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteItemDef.java incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteLock.java incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteNamespaceRegistry.java incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteNode.java incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteNodeDef.java incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteNodeType.java incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteNodeTypeManager.java incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteProperty.java incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemotePropertyDef.java incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteQuery.java incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteQueryManager.java incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteQueryResult.java incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteRepository.java incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteRow.java incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteSession.java incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteWorkspace.java Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/ja= ckrabbit/rmi/remote/RemoteItem.java URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-r= mi/src/java/org/apache/jackrabbit/rmi/remote/RemoteItem.java?view=3Ddiff&r1= =3D155796&r2=3D155797 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteItem.java (original) +++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteItem.java Tue Mar 1 08:07:22 2005 @@ -19,13 +19,7 @@ import java.rmi.Remote; import java.rmi.RemoteException; =20 -import javax.jcr.AccessDeniedException; -import javax.jcr.InvalidItemStateException; -import javax.jcr.ItemNotFoundException; -import javax.jcr.ReferentialIntegrityException; import javax.jcr.RepositoryException; -import javax.jcr.lock.LockException; -import javax.jcr.nodetype.ConstraintViolationException; =20 /** * Remote version of the JCR {@link javax.jcr.Item Item} interface. @@ -52,66 +46,62 @@ * @see javax.jcr.Item#getPath() * @throws RemoteException on RMI exceptions */ - public String getPath() throws RepositoryException, RemoteException; + String getPath() throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Item#getName() * @throws RemoteException on RMI exceptions */ - public String getName() throws RepositoryException, RemoteException; + String getName() throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Item#getAncestor(int) * @throws RemoteException on RMI exceptions */ - public RemoteItem getAncestor(int level) throws ItemNotFoundException, - AccessDeniedException, RepositoryException, RemoteException; + RemoteItem getAncestor(int level) + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Item#getParent() * @throws RemoteException on RMI exceptions */ - public RemoteNode getParent() throws ItemNotFoundException, - AccessDeniedException, RepositoryException, RemoteException; + RemoteNode getParent() throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Item#getDepth() * @throws RemoteException on RMI exceptions */ - public int getDepth() throws RepositoryException, RemoteException; + int getDepth() throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Item#isNew() * @throws RemoteException on RMI exceptions */ - public boolean isNew() throws RemoteException; + boolean isNew() throws RemoteException; =20 /** * @see javax.jcr.Item#isModified() * @throws RemoteException on RMI exceptions */ - public boolean isModified() throws RemoteException; + boolean isModified() throws RemoteException; =20 /** * @see javax.jcr.Item#save() * @throws RemoteException on RMI exceptions */ - public void save() throws AccessDeniedException, LockException, - ConstraintViolationException, InvalidItemStateException, - ReferentialIntegrityException, RepositoryException, - RemoteException; + void save() throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Item#refresh(boolean) * @throws RemoteException on RMI exceptions */ - public void refresh(boolean keepChanges) throws InvalidItemStateExcept= ion, - RepositoryException, RemoteException; + void refresh(boolean keepChanges) + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Item#remove() * @throws RemoteException on RMI exceptions */ - public void remove() throws RepositoryException, RemoteException; + void remove() throws RepositoryException, RemoteException; =20 } Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/ja= ckrabbit/rmi/remote/RemoteItemDef.java URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-r= mi/src/java/org/apache/jackrabbit/rmi/remote/RemoteItemDef.java?view=3Ddiff= &r1=3D155796&r2=3D155797 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteItemDef.java (original) +++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteItemDef.java Tue Mar 1 08:07:22 2005 @@ -21,7 +21,7 @@ =20 /** * Remote version of the JCR {@link javax.jcr.nodetype.ItemDef ItemDef} - * interface. Used by the=20 + * interface. Used by the * {@link org.apache.jackrabbit.rmi.server.ServerItemDef ServerItemDef} and * {@link org.apache.jackrabbit.rmi.client.ClientItemDef ClientItemDef} * adapter base classes to provide transparent RMI access to remote item @@ -31,7 +31,7 @@ * to a corresponding ItemDef method. The remote object will simply forward * the method call to the underlying ItemDef instance. Argument and return * values, as well as possible exceptions, are copied over the network. - * Compex {@link javax.jcr.nodetype.NodeType NodeType} return values=20 + * Compex {@link javax.jcr.nodetype.NodeType NodeType} return values * are returned as remote references to the * {@link org.apache.jackrabbit.rmi.remote.RemoteNodeType RemoteNodeType} * interface. RMI errors are signalled with RemoteExceptions. @@ -42,41 +42,41 @@ * @see org.apache.jackrabbit.rmi.server.ServerItemDef */ public interface RemoteItemDef extends Remote { - =20 + /** * @see javax.jcr.nodetype.ItemDef#getDeclaringNodeType() * @throws RemoteException on RMI errors */ - public RemoteNodeType getDeclaringNodeType() throws RemoteException; + RemoteNodeType getDeclaringNodeType() throws RemoteException; =20 /** * @see javax.jcr.nodetype.ItemDef#getName() * @throws RemoteException on RMI errors */ - public String getName() throws RemoteException; + String getName() throws RemoteException; =20 /** * @see javax.jcr.nodetype.ItemDef#isAutoCreate() * @throws RemoteException on RMI errors */ - public boolean isAutoCreate() throws RemoteException; + boolean isAutoCreate() throws RemoteException; =20 /** * @see javax.jcr.nodetype.ItemDef#isMandatory() * @throws RemoteException on RMI errors */ - public boolean isMandatory() throws RemoteException; + boolean isMandatory() throws RemoteException; =20 /** * @see javax.jcr.nodetype.ItemDef#getOnParentVersion() * @throws RemoteException on RMI errors */ - public int getOnParentVersion() throws RemoteException; + int getOnParentVersion() throws RemoteException; =20 /** * @see javax.jcr.nodetype.ItemDef#isProtected() * @throws RemoteException on RMI errors */ - public boolean isProtected() throws RemoteException; + boolean isProtected() throws RemoteException; =20 } Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/ja= ckrabbit/rmi/remote/RemoteLock.java URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-r= mi/src/java/org/apache/jackrabbit/rmi/remote/RemoteLock.java?view=3Ddiff&r1= =3D155796&r2=3D155797 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteLock.java (original) +++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteLock.java Tue Mar 1 08:07:22 2005 @@ -20,7 +20,6 @@ import java.rmi.RemoteException; =20 import javax.jcr.RepositoryException; -import javax.jcr.lock.LockException; =20 /** * Remote version of the JCR {@link javax.jcr.lock.Lock} interface. @@ -45,31 +44,30 @@ * @see javax.jcr.lock.Lock#getLockOwner() * @throws RemoteException on RMI exceptions */ - public String getLockOwner() throws RemoteException; + String getLockOwner() throws RemoteException; =20 /** * @see javax.jcr.lock.Lock#isDeep() * @throws RemoteException on RMI exceptions */ - public boolean isDeep() throws RemoteException; + boolean isDeep() throws RemoteException; =20 /** * @see javax.jcr.lock.Lock#getLockToken() * @throws RemoteException on RMI exceptions */ - public String getLockToken() throws RemoteException; + String getLockToken() throws RemoteException; =20 /** * @see javax.jcr.lock.Lock#isLive() * @throws RemoteException on RMI exceptions */ - public boolean isLive() throws RemoteException; + boolean isLive() throws RemoteException; =20 /** * @see javax.jcr.lock.Lock#refresh() * @throws RemoteException on RMI exceptions */ - public void refresh() throws LockException, RepositoryException, - RemoteException; + void refresh() throws RepositoryException, RemoteException; =20 } Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/ja= ckrabbit/rmi/remote/RemoteNamespaceRegistry.java URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-r= mi/src/java/org/apache/jackrabbit/rmi/remote/RemoteNamespaceRegistry.java?v= iew=3Ddiff&r1=3D155796&r2=3D155797 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteNamespaceRegistry.java (original) +++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteNamespaceRegistry.java Tue Mar 1 08:07:22 2005 @@ -19,7 +19,6 @@ import java.rmi.Remote; import java.rmi.RemoteException; =20 -import javax.jcr.NamespaceException; import javax.jcr.RepositoryException; =20 /** @@ -48,40 +47,38 @@ * @see javax.jcr.NamespaceRegistry#registerNamespace(java.lang.String= ,java.lang.String) * @throws RemoteException on RMI errors */ - public void registerNamespace(String prefix, String uri) - throws NamespaceException, RepositoryException, RemoteExceptio= n; + void registerNamespace(String prefix, String uri) + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.NamespaceRegistry#unregisterNamespace(java.lang.Stri= ng) * @throws RemoteException on RMI errors */ - public void unregisterNamespace(String prefix) - throws NamespaceException, RepositoryException, RemoteException; + void unregisterNamespace(String prefix) + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.NamespaceRegistry#getPrefixes() * @throws RemoteException on RMI errors */ - public String[] getPrefixes() throws RepositoryException, RemoteExcept= ion; + String[] getPrefixes() throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.NamespaceRegistry#getURIs() * @throws RemoteException on RMI errors */ - public String[] getURIs() throws RepositoryException, RemoteException; + String[] getURIs() throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.NamespaceRegistry#getURI(java.lang.String) * @throws RemoteException on RMI errors */ - public String getURI(String prefix) - throws NamespaceException, RepositoryException, RemoteException; + String getURI(String prefix) throws RepositoryException, RemoteExcepti= on; =20 /** * @see javax.jcr.NamespaceRegistry#getPrefix(java.lang.String) * @throws RemoteException on RMI errors */ - public String getPrefix(String uri) - throws NamespaceException, RepositoryException, RemoteException; + String getPrefix(String uri) throws RepositoryException, RemoteExcepti= on; =20 } Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/ja= ckrabbit/rmi/remote/RemoteNode.java URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-r= mi/src/java/org/apache/jackrabbit/rmi/remote/RemoteNode.java?view=3Ddiff&r1= =3D155796&r2=3D155797 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteNode.java (original) +++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteNode.java Tue Mar 1 08:07:22 2005 @@ -18,21 +18,8 @@ =20 import java.rmi.RemoteException; =20 -import javax.jcr.AccessDeniedException; -import javax.jcr.InvalidItemStateException; -import javax.jcr.ItemExistsException; -import javax.jcr.ItemNotFoundException; -import javax.jcr.MergeException; -import javax.jcr.NoSuchWorkspaceException; -import javax.jcr.PathNotFoundException; import javax.jcr.RepositoryException; -import javax.jcr.UnsupportedRepositoryOperationException; import javax.jcr.Value; -import javax.jcr.ValueFormatException; -import javax.jcr.lock.LockException; -import javax.jcr.nodetype.ConstraintViolationException; -import javax.jcr.nodetype.NoSuchNodeTypeException; -import javax.jcr.version.VersionException; =20 =20 /** @@ -71,283 +58,253 @@ * @see javax.jcr.Node#addNode(java.lang.String) * @throws RemoteException on RMI exceptions */ - public RemoteNode addNode(String path) throws ItemExistsException, - PathNotFoundException, ConstraintViolationException, - RepositoryException, RemoteException; + RemoteNode addNode(String path) throws RepositoryException, RemoteExce= ption; =20 /** * @see javax.jcr.Node#addNode(java.lang.String, java.lang.String) * @throws RemoteException on RMI exceptions */ - public RemoteNode addNode(String path, String type) throws - ItemExistsException, PathNotFoundException, NoSuchNodeTypeExceptio= n, - ConstraintViolationException, RepositoryException, RemoteException; + RemoteNode addNode(String path, String type) + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Node#getProperty(java.lang.String) * @throws RemoteException on RMI exceptions */ - public RemoteProperty getProperty(String path) throws PathNotFoundExce= ption, - RepositoryException, RemoteException; + RemoteProperty getProperty(String path) + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Node#getProperties() * @throws RemoteException on RMI exceptions */ - public RemoteProperty[] getProperties() throws RepositoryException, - RemoteException; + RemoteProperty[] getProperties() + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Node#getProperties(java.lang.String) * @throws RemoteException on RMI exceptions */ - public RemoteProperty[] getProperties(String pattern) throws - RepositoryException, RemoteException; + RemoteProperty[] getProperties(String pattern) + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Node#getPrimaryItem() * @throws RemoteException on RMI exceptions */ - public RemoteItem getPrimaryItem() throws ItemNotFoundException, - RepositoryException, RemoteException; + RemoteItem getPrimaryItem() throws RepositoryException, RemoteExceptio= n; =20 /** * @see javax.jcr.Node#getUUID() * @throws RemoteException on RMI exceptions */ - public String getUUID() throws UnsupportedRepositoryOperationException, - RepositoryException, RemoteException; + String getUUID() throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Node#getReferences() * @throws RemoteException on RMI exceptions */ - public RemoteProperty[] getReferences() throws RepositoryException, - RemoteException; + RemoteProperty[] getReferences() + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Node#getNodes() * @throws RemoteException on RMI exceptions */ - public RemoteNode[] getNodes() throws RepositoryException, RemoteExcep= tion; + RemoteNode[] getNodes() throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Node#getNodes(java.lang.String) * @throws RemoteException on RMI exceptions */ - public RemoteNode[] getNodes(String pattern) throws RepositoryExceptio= n, - RemoteException; + RemoteNode[] getNodes(String pattern) + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Node#hasNode(java.lang.String) * @throws RemoteException on RMI exceptions */ - public boolean hasNode(String path) throws RepositoryException, - RemoteException; + boolean hasNode(String path) throws RepositoryException, RemoteExcepti= on; =20 /** * @see javax.jcr.Node#hasProperty(java.lang.String) * @throws RemoteException on RMI exceptions */ - public boolean hasProperty(String path) throws RepositoryException, - RemoteException; + boolean hasProperty(String path) + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Node#hasNodes() * @throws RemoteException on RMI exceptions */ - public boolean hasNodes() throws RepositoryException, RemoteException; + boolean hasNodes() throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Node#hasProperties() * @throws RemoteException on RMI exceptions */ - public boolean hasProperties() throws RepositoryException, RemoteExcep= tion; + boolean hasProperties() throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Node#getPrimaryNodeType() * @throws RemoteException on RMI exceptions */ - public RemoteNodeType getPrimaryNodeType() - throws RepositoryException, RemoteException; + RemoteNodeType getPrimaryNodeType() + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Node#getMixinNodeTypes() * @throws RemoteException on RMI exceptions */ - public RemoteNodeType[] getMixinNodeTypes() - throws RepositoryException, RemoteException; + RemoteNodeType[] getMixinNodeTypes() + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Node#isNodeType(java.lang.String) * @throws RemoteException on RMI exceptions */ - public boolean isNodeType(String type) - throws RepositoryException, RemoteException; + boolean isNodeType(String type) throws RepositoryException, RemoteExce= ption; =20 /** * @see javax.jcr.Node#getNode(java.lang.String) * @throws RemoteException on RMI exceptions */ - public RemoteNode getNode(String path) throws PathNotFoundException, - RepositoryException, RemoteException; + RemoteNode getNode(String path) throws RepositoryException, RemoteExce= ption; =20 /** * @see javax.jcr.Node#orderBefore(java.lang.String, java.lang.String) * @throws RemoteException on RMI exceptions */ - public void orderBefore(String src, String dst) throws - UnsupportedRepositoryOperationException, - ConstraintViolationException, ItemNotFoundException, - RepositoryException, RemoteException; + void orderBefore(String src, String dst) + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Node#setProperty(java.lang.String, javax.jcr.Value) * @throws RemoteException on RMI exceptions */ - public RemoteProperty setProperty(String name, Value value) throws - ValueFormatException, RepositoryException, RemoteException; + RemoteProperty setProperty(String name, Value value) + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Node#setProperty(java.lang.String, javax.jcr.Value[]) * @throws RemoteException on RMI exceptions */ - public RemoteProperty setProperty(String name, Value[] value) throws - ValueFormatException, RepositoryException, RemoteException; + RemoteProperty setProperty(String name, Value[] value) + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Node#addMixin(java.lang.String) * @throws RemoteException on RMI exceptions */ - public void addMixin(String name) throws NoSuchNodeTypeException, - ConstraintViolationException, RepositoryException, RemoteException; + void addMixin(String name) throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Node#removeMixin(java.lang.String) * @throws RemoteException on RMI exceptions */ - public void removeMixin(String name) throws NoSuchNodeTypeException, - ConstraintViolationException, RepositoryException, RemoteException; + void removeMixin(String name) throws RepositoryException, RemoteExcept= ion; =20 /** * @see javax.jcr.Node#canAddMixin(java.lang.String) * @throws RemoteException on RMI exceptions */ - public boolean canAddMixin(String name) throws RepositoryException, - RemoteException; + boolean canAddMixin(String name) + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Node#getDefinition() * @throws RemoteException on RMI exceptions */ - public RemoteNodeDef getDefinition() throws RepositoryException, - RemoteException; + RemoteNodeDef getDefinition() throws RepositoryException, RemoteExcept= ion; =20 /** * @see javax.jcr.Node#checkout() * @throws RemoteException on RMI exceptions */ - public void checkout() throws UnsupportedRepositoryOperationException, - RepositoryException, RemoteException; + void checkout() throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Node#update(java.lang.String) * @throws RemoteException on RMI exceptions */ - public void update(String workspace) throws NoSuchWorkspaceException, - AccessDeniedException, RepositoryException, RemoteException; + void update(String workspace) throws RepositoryException, RemoteExcept= ion; =20 /** * @see javax.jcr.Node#merge(java.lang.String, boolean) * @throws RemoteException on RMI exceptions */ - public void merge(String workspace, boolean bestEffort) throws - UnsupportedRepositoryOperationException, NoSuchWorkspaceException, - AccessDeniedException, MergeException, RepositoryException, - RemoteException; + void merge(String workspace, boolean bestEffort) + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Node#getCorrespondingNodePath(java.lang.String) * @throws RemoteException on RMI exceptions */ - public String getCorrespondingNodePath(String workspace) throws - ItemNotFoundException, NoSuchWorkspaceException, AccessDeniedExcep= tion, - RepositoryException, RemoteException; + String getCorrespondingNodePath(String workspace) + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Node#getIndex() * @throws RemoteException on RMI exceptions */ - public int getIndex() throws RepositoryException, RemoteException; + int getIndex() throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Node#restore(java.lang.String, boolean) * @throws RemoteException on RMI exceptions */ - public void restore(String version, boolean removeExisting) throws - VersionException, ItemExistsException, - UnsupportedRepositoryOperationException, LockException, - InvalidItemStateException, RepositoryException, RemoteException; + void restore(String version, boolean removeExisting) + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Node#restoreByLabel(java.lang.String, boolean) * @throws RemoteException on RMI exceptions */ - public void restoreByLabel(String label, boolean removeExisting) throws - VersionException, ItemExistsException, - UnsupportedRepositoryOperationException, LockException, - InvalidItemStateException, RepositoryException, RemoteException; + void restoreByLabel(String label, boolean removeExisting) + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Node#unlock() * @throws RemoteException on RMI exceptions */ - public void unlock() throws UnsupportedRepositoryOperationException, - LockException, AccessDeniedException, RepositoryException, - RemoteException; + void unlock() throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Node#holdsLock() * @throws RemoteException on RMI exceptions */ - public boolean holdsLock() throws RepositoryException, RemoteException; + boolean holdsLock() throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Node#isLocked() * @throws RemoteException on RMI exceptions */ - public boolean isLocked() throws RepositoryException, RemoteException; + boolean isLocked() throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Node#isCheckedOut() * @throws RemoteException on RMI exceptions */ - public boolean isCheckedOut() throws - UnsupportedRepositoryOperationException, RepositoryException, - RemoteException; + boolean isCheckedOut() throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Node#setProperty(java.lang.String, javax.jcr.Value[]= , int) * @throws RemoteException on RMI exceptions */ - public RemoteProperty setProperty(String name, Value[] values, int typ= e) - throws ValueFormatException, VersionException, LockException, - RepositoryException, RemoteException; + RemoteProperty setProperty(String name, Value[] values, int type) + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Node#lock(boolean, boolean) * @throws RemoteException on RMI exceptions */ - public RemoteLock lock(boolean isDeep, boolean isSessionScoped) throws - UnsupportedRepositoryOperationException, LockException, - AccessDeniedException, RepositoryException, RemoteException; + RemoteLock lock(boolean isDeep, boolean isSessionScoped) + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Node#getLock() * @throws RemoteException on RMI exceptions */ - public RemoteLock getLock() throws UnsupportedRepositoryOperationExcep= tion, - LockException, AccessDeniedException, RepositoryException, - RemoteException; + RemoteLock getLock() throws RepositoryException, RemoteException; =20 } Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/ja= ckrabbit/rmi/remote/RemoteNodeDef.java URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-r= mi/src/java/org/apache/jackrabbit/rmi/remote/RemoteNodeDef.java?view=3Ddiff= &r1=3D155796&r2=3D155797 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteNodeDef.java (original) +++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteNodeDef.java Tue Mar 1 08:07:22 2005 @@ -40,23 +40,23 @@ * @see org.apache.jackrabbit.rmi.server.ServerNodeDef */ public interface RemoteNodeDef extends RemoteItemDef { - =20 + /** * @see javax.jcr.nodetype.NodeDef#getRequiredPrimaryTypes() * @throws RemoteException on RMI errors */ - public RemoteNodeType[] getRequiredPrimaryTypes() throws RemoteExcepti= on; + RemoteNodeType[] getRequiredPrimaryTypes() throws RemoteException; =20 /** * @see javax.jcr.nodetype.NodeDef#getDefaultPrimaryType() * @throws RemoteException on RMI errors */ - public RemoteNodeType getDefaultPrimaryType() throws RemoteException; + RemoteNodeType getDefaultPrimaryType() throws RemoteException; =20 /** * @see javax.jcr.nodetype.NodeDef#allowSameNameSibs() * @throws RemoteException on RMI errors */ - public boolean allowSameNameSibs() throws RemoteException; + boolean allowSameNameSibs() throws RemoteException; =20 } Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/ja= ckrabbit/rmi/remote/RemoteNodeType.java URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-r= mi/src/java/org/apache/jackrabbit/rmi/remote/RemoteNodeType.java?view=3Ddif= f&r1=3D155796&r2=3D155797 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteNodeType.java (original) +++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteNodeType.java Tue Mar 1 08:07:22 2005 @@ -47,96 +47,96 @@ * @see javax.jcr.nodetype.NodeType#getName() * @throws RemoteException on RMI errors */ - public String getName() throws RemoteException; + String getName() throws RemoteException; =20 /** * @see javax.jcr.nodetype.NodeType#isMixin() * @throws RemoteException on RMI errors */ - public boolean isMixin() throws RemoteException; + boolean isMixin() throws RemoteException; =20 /** * @see javax.jcr.nodetype.NodeType#hasOrderableChildNodes() * @throws RemoteException on RMI errors */ - public boolean hasOrderableChildNodes() throws RemoteException; + boolean hasOrderableChildNodes() throws RemoteException; =20 /** * @see javax.jcr.nodetype.NodeType#getSupertypes() * @throws RemoteException on RMI errors */ - public RemoteNodeType[] getSupertypes() throws RemoteException; + RemoteNodeType[] getSupertypes() throws RemoteException; =20 /** * @see javax.jcr.nodetype.NodeType#getDeclaredSupertypes() * @throws RemoteException on RMI errors */ - public RemoteNodeType[] getDeclaredSupertypes() throws RemoteException; + RemoteNodeType[] getDeclaredSupertypes() throws RemoteException; =20 /** * @see javax.jcr.nodetype.NodeType#isNodeType(java.lang.String) * @throws RemoteException on RMI errors */ - public boolean isNodeType(String type) throws RemoteException; + boolean isNodeType(String type) throws RemoteException; =20 /** * @see javax.jcr.nodetype.NodeType#getPropertyDefs() * @throws RemoteException on RMI errors */ - public RemotePropertyDef[] getPropertyDefs() throws RemoteException; + RemotePropertyDef[] getPropertyDefs() throws RemoteException; =20 /** * @see javax.jcr.nodetype.NodeType#getDeclaredPropertyDefs() * @throws RemoteException on RMI errors */ - public RemotePropertyDef[] getDeclaredPropertyDefs() throws RemoteExce= ption; + RemotePropertyDef[] getDeclaredPropertyDefs() throws RemoteException; =20 /** * @see javax.jcr.nodetype.NodeType#getChildNodeDefs() * @throws RemoteException on RMI errors */ - public RemoteNodeDef[] getChildNodeDefs() throws RemoteException; + RemoteNodeDef[] getChildNodeDefs() throws RemoteException; =20 /** * @see javax.jcr.nodetype.NodeType#getDeclaredChildNodeDefs() * @throws RemoteException on RMI errors */ - public RemoteNodeDef[] getDeclaredChildNodeDefs() throws RemoteExcepti= on; + RemoteNodeDef[] getDeclaredChildNodeDefs() throws RemoteException; =20 /** * @see javax.jcr.nodetype.NodeType#canSetProperty(java.lang.String, j= avax.jcr.Value) * @throws RemoteException on RMI errors */ - public boolean canSetProperty(String name, Value value) throws RemoteE= xception; + boolean canSetProperty(String name, Value value) throws RemoteExceptio= n; =20 /** * @see javax.jcr.nodetype.NodeType#canSetProperty(java.lang.String, j= avax.jcr.Value[]) * @throws RemoteException on RMI errors */ - public boolean canSetProperty(String name, Value[] values) throws Remo= teException; + boolean canSetProperty(String name, Value[] values) throws RemoteExcep= tion; =20 /** * @see javax.jcr.nodetype.NodeType#canAddChildNode(java.lang.String) * @throws RemoteException on RMI errors */ - public boolean canAddChildNode(String name) throws RemoteException; + boolean canAddChildNode(String name) throws RemoteException; =20 /** * @see javax.jcr.nodetype.NodeType#canAddChildNode(java.lang.String, = java.lang.String) * @throws RemoteException on RMI errors */ - public boolean canAddChildNode(String name, String type) throws Remote= Exception; + boolean canAddChildNode(String name, String type) throws RemoteExcepti= on; =20 /** * @see javax.jcr.nodetype.NodeType#canRemoveItem(java.lang.String) * @throws RemoteException on RMI errors */ - public boolean canRemoveItem(String name) throws RemoteException; + boolean canRemoveItem(String name) throws RemoteException; =20 /** * @see javax.jcr.nodetype.NodeType#getPrimaryItemName() * @throws RemoteException on RMI errors */ - public String getPrimaryItemName() throws RemoteException; + String getPrimaryItemName() throws RemoteException; =20 } Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/ja= ckrabbit/rmi/remote/RemoteNodeTypeManager.java URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-r= mi/src/java/org/apache/jackrabbit/rmi/remote/RemoteNodeTypeManager.java?vie= w=3Ddiff&r1=3D155796&r2=3D155797 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteNodeTypeManager.java (original) +++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteNodeTypeManager.java Tue Mar 1 08:07:22 2005 @@ -20,7 +20,6 @@ import java.rmi.RemoteException; =20 import javax.jcr.RepositoryException; -import javax.jcr.nodetype.NoSuchNodeTypeException; =20 /** * Remote version of the JCR @@ -52,28 +51,28 @@ * @see javax.jcr.nodetype.NodeTypeManager#getNodeType(java.lang.Strin= g) * @throws RemoteException on RMI errors */ - public RemoteNodeType getNodeType(String name) - throws NoSuchNodeTypeException, RepositoryException, RemoteExcepti= on; + RemoteNodeType getNodeType(String name) + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.nodetype.NodeTypeManager#getAllNodeTypes() * @throws RemoteException on RMI errors */ - public RemoteNodeType[] getAllNodeTypes() - throws RepositoryException, RemoteException; + RemoteNodeType[] getAllNodeTypes() + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.nodetype.NodeTypeManager#getPrimaryNodeTypes() * @throws RemoteException on RMI errors */ - public RemoteNodeType[] getPrimaryNodeTypes() - throws RepositoryException, RemoteException; + RemoteNodeType[] getPrimaryNodeTypes() + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.nodetype.NodeTypeManager#getMixinNodeTypes() * @throws RemoteException on RMI errors */ - public RemoteNodeType[] getMixinNodeTypes() - throws RepositoryException, RemoteException; + RemoteNodeType[] getMixinNodeTypes() + throws RepositoryException, RemoteException; =20 } Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/ja= ckrabbit/rmi/remote/RemoteProperty.java URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-r= mi/src/java/org/apache/jackrabbit/rmi/remote/RemoteProperty.java?view=3Ddif= f&r1=3D155796&r2=3D155797 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteProperty.java (original) +++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteProperty.java Tue Mar 1 08:07:22 2005 @@ -20,8 +20,6 @@ =20 import javax.jcr.RepositoryException; import javax.jcr.Value; -import javax.jcr.ValueFormatException; - =20 /** * Remote version of the JCR {@link javax.jcr.Property Property} interface. @@ -54,60 +52,54 @@ * @see org.apache.jackrabbit.rmi.server.ServerProperty */ public interface RemoteProperty extends RemoteItem { - =20 + /** * @see javax.jcr.Property#getValue() * @throws RemoteException on RMI exceptions */ - public Value getValue() - throws ValueFormatException, RepositoryException, RemoteException; + Value getValue() throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Property#getValues() * @throws RemoteException on RMI exceptions */ - public Value[] getValues() - throws ValueFormatException, RepositoryException, RemoteException; + Value[] getValues() throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Property#setValue(javax.jcr.Value) * @throws RemoteException on RMI exceptions */ - public void setValue(Value value) - throws ValueFormatException, RepositoryException, RemoteException; + void setValue(Value value) throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Property#setValue(javax.jcr.Value[]) * @throws RemoteException on RMI exceptions */ - public void setValue(Value[] values) - throws ValueFormatException, RepositoryException, RemoteException; + void setValue(Value[] values) throws RepositoryException, RemoteExcept= ion; =20 /** * @see javax.jcr.Property#getLength() * @throws RemoteException on RMI exceptions */ - public long getLength() - throws ValueFormatException, RepositoryException, RemoteException; + long getLength() throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Property#getLengths() * @throws RemoteException on RMI exceptions */ - public long[] getLengths() - throws ValueFormatException, RepositoryException, RemoteException; + long[] getLengths() throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Property#getDefinition() * @throws RemoteException on RMI exceptions */ - public RemotePropertyDef getDefinition() throws RepositoryException, - RemoteException; + RemotePropertyDef getDefinition() + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Property#getType() * @throws RemoteException on RMI exceptions */ - public int getType() throws RepositoryException, RemoteException; + int getType() throws RepositoryException, RemoteException; =20 } Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/ja= ckrabbit/rmi/remote/RemotePropertyDef.java URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-r= mi/src/java/org/apache/jackrabbit/rmi/remote/RemotePropertyDef.java?view=3D= diff&r1=3D155796&r2=3D155797 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemotePropertyDef.java (original) +++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemotePropertyDef.java Tue Mar 1 08:07:22 2005 @@ -51,24 +51,24 @@ * @see javax.jcr.nodetype.PropertyDef#getRequiredType() * @throws RemoteException on RMI errors */ - public int getRequiredType() throws RemoteException; + int getRequiredType() throws RemoteException; =20 /** * @throws RemoteException on RMI errors * @see javax.jcr.nodetype.PropertyDef#getValueConstraints() */ - public String[] getValueConstraints() throws RemoteException; + String[] getValueConstraints() throws RemoteException; =20 /** * @see javax.jcr.nodetype.PropertyDef#getDefaultValues() * @throws RemoteException on RMI errors */ - public Value[] getDefaultValues() throws RemoteException; + Value[] getDefaultValues() throws RemoteException; =20 /** * @see javax.jcr.nodetype.PropertyDef#isMultiple() * @throws RemoteException on RMI errors */ - public boolean isMultiple() throws RemoteException; + boolean isMultiple() throws RemoteException; =20 } Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/ja= ckrabbit/rmi/remote/RemoteQuery.java URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-r= mi/src/java/org/apache/jackrabbit/rmi/remote/RemoteQuery.java?view=3Ddiff&r= 1=3D155796&r2=3D155797 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteQuery.java (original) +++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteQuery.java Tue Mar 1 08:07:22 2005 @@ -19,14 +19,7 @@ import java.rmi.Remote; import java.rmi.RemoteException; =20 -import javax.jcr.ItemExistsException; -import javax.jcr.ItemNotFoundException; -import javax.jcr.PathNotFoundException; import javax.jcr.RepositoryException; -import javax.jcr.UnsupportedRepositoryOperationException; -import javax.jcr.lock.LockException; -import javax.jcr.nodetype.ConstraintViolationException; -import javax.jcr.version.VersionException; =20 /** * Remote version of the JCR {@link javax.jcr.query.Query Query} interface= . @@ -49,49 +42,36 @@ * @return a QueryResult * @throws javax.jcr.RepositoryException if an error occurs */ - public RemoteQueryResult execute() - throws RepositoryException, RemoteException; + RemoteQueryResult execute() throws RepositoryException, RemoteExceptio= n; =20 /** * @see javax.jcr.query.Query#getStatement() * * @return the query statement. */ - public String getStatement() throws RemoteException; + String getStatement() throws RemoteException; =20 /** * @see javax.jcr.query.Query#getLanguage() * * @return the query language. */ - public String getLanguage() throws RemoteException; + String getLanguage() throws RemoteException; =20 /** * @see javax.jcr.query.Query#getPersistentQueryPath() * * @return path of the node representing this query. - * @throws ItemNotFoundException if this query is not a persistent que= ry. * @throws RepositoryException if another error occurs. */ - public String getPersistentQueryPath() - throws ItemNotFoundException, RepositoryException, RemoteException= ; + String getPersistentQueryPath() throws RepositoryException, RemoteExce= ption; =20 /** * @see javax.jcr.query.Query#save(String) * * @param absPath path at which to persist this query. - * @throws ItemExistsException If an item already exists at the indica= ted position - * @throws PathNotFoundException If the path cannot be found - * @throws VersionException if the parent node of absPath is versionab= le and checked-in (and therefore read-only). - * @throws ConstraintViolationException If creating the node would vio= late a - * node type (or other implementation specific) constraint. - * @throws LockException if a lock prevents the save. - * @throws UnsupportedRepositoryOperationException in a level 1 implem= entation. * @throws RepositoryException If another error occurs. */ - public void save(String absPath) throws ItemExistsException, - PathNotFoundException, VersionException, ConstraintViolationExcept= ion, - LockException, UnsupportedRepositoryOperationException, - RepositoryException, RemoteException; - =20 + void save(String absPath) throws RepositoryException, RemoteException; + } Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/ja= ckrabbit/rmi/remote/RemoteQueryManager.java URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-r= mi/src/java/org/apache/jackrabbit/rmi/remote/RemoteQueryManager.java?view= =3Ddiff&r1=3D155796&r2=3D155797 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteQueryManager.java (original) +++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteQueryManager.java Tue Mar 1 08:07:22 2005 @@ -20,8 +20,6 @@ import java.rmi.RemoteException; =20 import javax.jcr.RepositoryException; -import javax.jcr.query.InvalidQueryException; -import javax.jcr.query.Query; =20 /** * Remote version of the JCR {@link javax.jcr.query.QueryManager QueryMana= ger} interface. @@ -41,24 +39,21 @@ /** * @see javax.jcr.query.QueryManager#createQuery * - * @throws InvalidQueryException if statement is invalid or language i= s unsupported. * @throws RepositoryException if another error occurs * @return A Query object. */ - public RemoteQuery createQuery(String statement, String language) - throws InvalidQueryException, RepositoryException, RemoteException= ; + RemoteQuery createQuery(String statement, String language) + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.query.QueryManager#getQuery * * @param absPath node path of a persisted query (that is, a node of t= ype nt:query). - * @throws InvalidQueryException If node is not a valid p= ersisted query - * (that is, a node of type nt:query). * @throws RepositoryException if another error occurs * @return a Query object. */ - public RemoteQuery getQuery(String absPath) - throws InvalidQueryException, RepositoryException, RemoteException= ; + RemoteQuery getQuery(String absPath) + throws RepositoryException, RemoteException; =20 /** * * @see javax.jcr.query.QueryManager#getSupportedQueryLanguages @@ -66,6 +61,6 @@ * See {@link Query}. * @return An string array. */ - public String[] getSupportedQueryLanguages() throws RemoteException; + String[] getSupportedQueryLanguages() throws RemoteException; =20 } Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/ja= ckrabbit/rmi/remote/RemoteQueryResult.java URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-r= mi/src/java/org/apache/jackrabbit/rmi/remote/RemoteQueryResult.java?view=3D= diff&r1=3D155796&r2=3D155797 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteQueryResult.java (original) +++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteQueryResult.java Tue Mar 1 08:07:22 2005 @@ -41,8 +41,7 @@ * @return a PropertyIterator * @throws RepositoryException if an error occurs. */ - public String[] getPropertyNames() - throws RepositoryException, RemoteException; + String[] getPropertyNames() throws RepositoryException, RemoteExceptio= n; =20 /** * @see javax.jcr.query.QueryResult#getRows() @@ -50,7 +49,7 @@ * @return a RowIterator * @throws RepositoryException if an error occurs. */ - public RemoteRow[] getRows() throws RepositoryException, RemoteExcepti= on; + RemoteRow[] getRows() throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.query.QueryResult#getNodes() @@ -58,5 +57,6 @@ * @return a NodeIterator * @throws RepositoryException if an error occurs. */ - public RemoteNode[] getNodes() throws RepositoryException, RemoteExcep= tion; + RemoteNode[] getNodes() throws RepositoryException, RemoteException; + } Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/ja= ckrabbit/rmi/remote/RemoteRepository.java URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-r= mi/src/java/org/apache/jackrabbit/rmi/remote/RemoteRepository.java?view=3Dd= iff&r1=3D155796&r2=3D155797 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteRepository.java (original) +++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteRepository.java Tue Mar 1 08:07:22 2005 @@ -20,8 +20,6 @@ import java.rmi.RemoteException; =20 import javax.jcr.Credentials; -import javax.jcr.LoginException; -import javax.jcr.NoSuchWorkspaceException; import javax.jcr.RepositoryException; =20 /** @@ -36,10 +34,9 @@ * to a corresponding Repository method. The remote object will simply * forward the method call to the underlying Repository instance. * {@link javax.jcr.Session Session} objects are returned as remote refere= nces - * to the {@link org.apache.jackrabbit.rmi.remote.RemoteSession RemoteSess= ion} - * interface. Simple return values and possible exceptions are simply copi= ed - * over the network to the client. RMI errors are signalled with - * RemoteExceptions. + * to the {@link RemoteSession RemoteSession} interface. Simple return + * values and possible exceptions are copied over the network to the clien= t=2E + * RMI errors are signalled with RemoteExceptions. * * @author Jukka Zitting * @see javax.jcr.Repository @@ -47,46 +44,54 @@ * @see org.apache.jackrabbit.rmi.server.ServerRepository */ public interface RemoteRepository extends Remote { - =20 + /** - * @see javax.jcr.Repository#getDescriptor(java.lang.String) + * @return descriptor value * @throws RemoteException on RMI errors + * @see javax.jcr.Repository#getDescriptor(java.lang.String) */ - public String getDescriptor(String name) throws RemoteException; - =20 + String getDescriptor(String name) throws RemoteException; + /** - * @see javax.jcr.Repository#getDescriptorKeys() + * @return descriptor keys * @throws RemoteException on RMI errors + * @see javax.jcr.Repository#getDescriptorKeys() */ - public String[] getDescriptorKeys() throws RemoteException; - =20 + String[] getDescriptorKeys() throws RemoteException; + /** - * @see javax.jcr.Repository#login() + * @return remote session + * @throws RepositoryException on repository errors * @throws RemoteException on RMI errors + * @see javax.jcr.Repository#login() */ - public RemoteSession login() throws LoginException, - NoSuchWorkspaceException, RepositoryException, RemoteException; - =20 + RemoteSession login() throws RepositoryException, RemoteException; + /** - * @see javax.jcr.Repository#login(java.lang.String) + * @return remote session + * @throws RepositoryException on repository errors * @throws RemoteException on RMI errors + * @see javax.jcr.Repository#login(java.lang.String) */ - public RemoteSession login(String workspace) throws LoginException, - NoSuchWorkspaceException, RepositoryException, RemoteException; + RemoteSession login(String workspace) + throws RepositoryException, RemoteException; =20 /** - * @see javax.jcr.Repository#login(javax.jcr.Credentials) + * @return remote session + * @throws RepositoryException on repository errors * @throws RemoteException on RMI errors + * @see javax.jcr.Repository#login(javax.jcr.Credentials) */ - public RemoteSession login(Credentials credentials) throws LoginExcept= ion, - NoSuchWorkspaceException, RepositoryException, RemoteException; + RemoteSession login(Credentials credentials) + throws RepositoryException, RemoteException; =20 /** - * @see javax.jcr.Repository#login(javax.jcr.Credentials, java.lang.St= ring) + * @return remote session + * @throws RepositoryException on repository errors * @throws RemoteException on RMI errors + * @see javax.jcr.Repository#login(javax.jcr.Credentials, java.lang.St= ring) */ - public RemoteSession login(Credentials credentials, String workspace) - throws LoginException, NoSuchWorkspaceException, RepositoryExcepti= on, - RemoteException; - =20 + RemoteSession login(Credentials credentials, String workspace) + throws RepositoryException, RemoteException; + } Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/ja= ckrabbit/rmi/remote/RemoteRow.java URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-r= mi/src/java/org/apache/jackrabbit/rmi/remote/RemoteRow.java?view=3Ddiff&r1= =3D155796&r2=3D155797 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteRow.java (original) +++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteRow.java Tue Mar 1 08:07:22 2005 @@ -19,7 +19,6 @@ import java.rmi.Remote; import java.rmi.RemoteException; =20 -import javax.jcr.ItemNotFoundException; import javax.jcr.RepositoryException; import javax.jcr.Value; =20 @@ -37,21 +36,21 @@ * @see org.apache.jackrabbit.rmi.server.ServerRow */ public interface RemoteRow extends Remote { + /** * @see javax.jcr.query.Row#getValues() * * @return a Value array. * @throws RepositoryException if an error occurs */ - public Value[] getValues() throws RepositoryException, RemoteException= ; + Value[] getValues() throws RepositoryException, RemoteException; =20 /** - * @see javax.jcr.query.Row#getValue(String)=20 + * @see javax.jcr.query.Row#getValue(String) * * @return a Value - * @throws ItemNotFoundException if propertyName s not am= ong the - * column names of the query result table * @throws RepositoryException if anopther error occurs. */ - public Value getValue(String propertyName) throws ItemNotFoundExceptio= n, RepositoryException, RemoteException; + Value getValue(String propertyName) + throws RepositoryException, RemoteException; } Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/ja= ckrabbit/rmi/remote/RemoteSession.java URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-r= mi/src/java/org/apache/jackrabbit/rmi/remote/RemoteSession.java?view=3Ddiff= &r1=3D155796&r2=3D155797 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteSession.java (original) +++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteSession.java Tue Mar 1 08:07:22 2005 @@ -21,18 +21,8 @@ import java.rmi.RemoteException; import java.security.AccessControlException; =20 -import javax.jcr.AccessDeniedException; import javax.jcr.Credentials; -import javax.jcr.InvalidItemStateException; -import javax.jcr.InvalidSerializedDataException; -import javax.jcr.ItemExistsException; -import javax.jcr.ItemNotFoundException; -import javax.jcr.LoginException; -import javax.jcr.NamespaceException; -import javax.jcr.PathNotFoundException; import javax.jcr.RepositoryException; -import javax.jcr.lock.LockException; -import javax.jcr.nodetype.ConstraintViolationException; =20 /** * Remote version of the JCR {@link javax.jcr.Session Session} interface. @@ -61,107 +51,102 @@ * @see javax.jcr.Session#getUserId() * @throws RemoteException on RMI errors */ - public String getUserId() throws RemoteException; + String getUserId() throws RemoteException; =20 /** * Returns the named attribute. Note that only serializable * attribute values can be transmitted over the network and that * the client should have (or be able to fetch) the object class * to access the returned value. Failures to meet these conditions - * are signalled with RemoteExceptions.=20 - *=20 + * are signalled with RemoteExceptions. + * * @see javax.jcr.Session#getAttribute(java.lang.String) * @throws RemoteException on RMI errors */ - public Object getAttribute(String name) throws RemoteException; + Object getAttribute(String name) throws RemoteException; =20 /** * @see javax.jcr.Session#getAttributeNames() * @throws RemoteException on RMI errors */ - public String[] getAttributeNames() throws RemoteException; + String[] getAttributeNames() throws RemoteException; =20 /** * @see javax.jcr.Session#getWorkspace() * @throws RemoteException on RMI errors */ - public RemoteWorkspace getWorkspace() throws RemoteException; + RemoteWorkspace getWorkspace() throws RemoteException; =20 /** * @see javax.jcr.Session#impersonate(javax.jcr.Credentials) * @throws RemoteException on RMI errors */ - public RemoteSession impersonate(Credentials credentials) throws - LoginException, RepositoryException, RemoteException; + RemoteSession impersonate(Credentials credentials) + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Session#getNodeByUUID(java.lang.String) * @throws RemoteException on RMI errors */ - public RemoteNode getNodeByUUID(String uuid) throws ItemNotFoundExcept= ion, - RepositoryException, RemoteException; + RemoteNode getNodeByUUID(String uuid) + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Session#getItem(java.lang.String) * @throws RemoteException on RMI errors */ - public RemoteItem getItem(String path) throws PathNotFoundException, - RepositoryException, RemoteException; + RemoteItem getItem(String path) throws RepositoryException, RemoteExce= ption; =20 /** * @see javax.jcr.Session#itemExists(java.lang.String) * @throws RemoteException on RMI errors */ - public boolean itemExists(String path) throws RemoteException; + boolean itemExists(String path) throws RemoteException; =20 /** * @see javax.jcr.Session#move(java.lang.String, java.lang.String) * @throws RemoteException on RMI errors */ - public void move(String from, String to) throws ItemExistsException, - PathNotFoundException, ConstraintViolationException, - RepositoryException, RemoteException; + void move(String from, String to) + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Session#save() * @throws RemoteException on RMI errors */ - public void save() throws AccessDeniedException, LockException, - ConstraintViolationException, InvalidItemStateException, - RepositoryException, RemoteException; + void save() throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Session#refresh(boolean) * @throws RemoteException on RMI errors */ - public void refresh(boolean keepChanges) throws RepositoryException, - RemoteException; + void refresh(boolean keepChanges) + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Session#logout() * @throws RemoteException on RMI errors */ - public void logout() throws RemoteException; + void logout() throws RemoteException; =20 /** * @see javax.jcr.Session#getRootNode() * @throws RemoteException on RMI errors */ - public RemoteNode getRootNode() throws RepositoryException, RemoteExce= ption; + RemoteNode getRootNode() throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Session#hasPendingChanges() * @throws RemoteException on RMI errors */ - public boolean hasPendingChanges() throws RepositoryException, - RemoteException; + boolean hasPendingChanges() throws RepositoryException, RemoteExceptio= n; =20 /** * @see javax.jcr.Session#checkPermission(java.lang.String, java.lang.= String) * @throws RemoteException on RMI errors */ - public void checkPermission(String path, String actions) throws - AccessControlException, RemoteException; + void checkPermission(String path, String actions) + throws AccessControlException, RemoteException; =20 /** * Imports the system or document view XML data into a subtree of @@ -174,56 +159,53 @@ * @see javax.jcr.Session#importXML(java.lang.String, java.io.InputStr= eam) * @throws RemoteException on RMI errors */ - public void importXML(String path, byte[] xml) throws IOException, - PathNotFoundException, ItemExistsException, - ConstraintViolationException, InvalidSerializedDataException, - RepositoryException, RemoteException; + void importXML(String path, byte[] xml) + throws IOException, RepositoryException, RemoteException; =20 /** * @see javax.jcr.Session#setNamespacePrefix(java.lang.String, java.la= ng.String) * @throws RemoteException on RMI errors */ - public void setNamespacePrefix(String prefix, String uri) throws - NamespaceException, RepositoryException, RemoteException; + void setNamespacePrefix(String prefix, String uri) + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Session#getNamespacePrefixes() * @throws RemoteException on RMI errors */ - public String[] getNamespacePrefixes() throws RepositoryException, - RemoteException; + String[] getNamespacePrefixes() throws RepositoryException, RemoteExce= ption; =20 /** * @see javax.jcr.Session#getNamespaceURI(java.lang.String) * @throws RemoteException on RMI errors */ - public String getNamespaceURI(String prefix) throws NamespaceException, - RepositoryException, RemoteException; + String getNamespaceURI(String prefix) + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Session#getNamespacePrefix(java.lang.String) * @throws RemoteException on RMI errors */ - public String getNamespacePrefix(String uri) throws NamespaceException, - RepositoryException, RemoteException; + String getNamespacePrefix(String uri) + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Session#addLockToken(java.lang.String) * @throws RemoteException on RMI errors */ - public void addLockToken(String name) throws RemoteException; + void addLockToken(String name) throws RemoteException; =20 /** * @see javax.jcr.Session#getLockTokens() * @throws RemoteException on RMI errors */ - public String[] getLockTokens() throws RemoteException; + String[] getLockTokens() throws RemoteException; =20 /** * @see javax.jcr.Session#removeLockToken(java.lang.String) * @throws RemoteException on RMI errors */ - public void removeLockToken(String name) throws RemoteException; + void removeLockToken(String name) throws RemoteException; =20 /** * Exports the identified repository subtree as a system view XML @@ -232,15 +214,13 @@ * large exports. The remote server uses a * {@link java.io.ByteArrayOutputStream ByteArrayOutputStream} to capt= ure * the XML data written by the normal exportSysView method. - *=20 + * * @see javax.jcr.Workspace#exportSysView(java.lang.String, java.io.Ou= tputStream, boolean, boolean) * @throws RemoteException on RMI errors */ - public byte[] exportSysView( - String path, boolean binaryAsLink, boolean noRecurse) - throws PathNotFoundException, IOException, - RepositoryException, RemoteException; - =20 + byte[] exportSysView(String path, boolean binaryAsLink, boolean noRecu= rse) + throws IOException, RepositoryException, RemoteException; + /** * Exports the identified repository subtree as a document view XML * stream. Note that the entire XML stream is transferred as a @@ -248,13 +228,11 @@ * large exports. The remote server uses a * {@link java.io.ByteArrayOutputStream ByteArrayOutputStream} to capt= ure * the XML data written by the normal exportDocView method. - *=20 + * * @see javax.jcr.Workspace#exportDocView(java.lang.String, java.io.Ou= tputStream, boolean, boolean) * @throws RemoteException on RMI errors */ - public byte[] exportDocView( - String path, boolean binaryAsLink, boolean noRecurse) - throws InvalidSerializedDataException, PathNotFoundException, - IOException, RepositoryException, RemoteException; + byte[] exportDocView(String path, boolean binaryAsLink, boolean noRecu= rse) + throws IOException, RepositoryException, RemoteException; =20 } Modified: incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/ja= ckrabbit/rmi/remote/RemoteWorkspace.java URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-r= mi/src/java/org/apache/jackrabbit/rmi/remote/RemoteWorkspace.java?view=3Ddi= ff&r1=3D155796&r2=3D155797 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteWorkspace.java (original) +++ incubator/jackrabbit/trunk/contrib/jcr-rmi/src/java/org/apache/jackrabb= it/rmi/remote/RemoteWorkspace.java Tue Mar 1 08:07:22 2005 @@ -20,14 +20,7 @@ import java.rmi.Remote; import java.rmi.RemoteException; =20 -import javax.jcr.AccessDeniedException; -import javax.jcr.InvalidSerializedDataException; -import javax.jcr.ItemExistsException; -import javax.jcr.NoSuchWorkspaceException; -import javax.jcr.PathNotFoundException; import javax.jcr.RepositoryException; -import javax.jcr.lock.LockException; -import javax.jcr.nodetype.ConstraintViolationException; =20 /** * Remote version of the JCR {@link javax.jcr.Workspace Workspace} interfa= ce. @@ -42,7 +35,7 @@ * will simply forward the method call to the underlying Workspace instanc= e=2E * Complex return values like namespace registries and other objects are * returned as remote references to the corresponding remote interface. Si= mple - * return values and possible exceptions are simply copied over the network + * return values and possible exceptions are copied over the network * to the client. RMI errors are signalled with RemoteExceptions. * * @author Jukka Zitting @@ -56,80 +49,69 @@ * @see javax.jcr.Workspace#getName() * @throws RemoteException on RMI errors */ - public String getName() throws RemoteException; + String getName() throws RemoteException; =20 /** * @see javax.jcr.Workspace#copy(java.lang.String,java.lang.String) * @throws RemoteException on RMI errors */ - public void copy(String from, String to) throws - ConstraintViolationException, AccessDeniedException, - PathNotFoundException, ItemExistsException, RepositoryException, - RemoteException; + void copy(String from, String to) + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Workspace#copy(java.lang.String,java.lang.String,jav= a=2Elang.String) * @throws RemoteException on RMI errors */ - public void copy(String from, String to, String workspace) throws - NoSuchWorkspaceException, ConstraintViolationException, - AccessDeniedException, PathNotFoundException, ItemExistsException, - RepositoryException, RemoteException; + void copy(String from, String to, String workspace) + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Workspace#clone(java.lang.String, java.lang.String, = java.lang.String, boolean) * @throws RemoteException on RMI errors */ - public void clone(String from, String to, String workspace, - boolean removeExisting) throws NoSuchWorkspaceException, - ConstraintViolationException, AccessDeniedException, - PathNotFoundException, ItemExistsException, RepositoryException, - RemoteException; + void clone(String from, String to, String workspace, boolean removeExi= sting) + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Workspace#move(java.lang.String, java.lang.String) * @throws RemoteException on RMI errors */ - public void move(String from, String to) throws - ConstraintViolationException, AccessDeniedException, - PathNotFoundException, ItemExistsException, RepositoryException, - RemoteException; + void move(String from, String to) + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Workspace#getNodeTypeManager() * @throws RemoteException on RMI errors */ - public RemoteNodeTypeManager getNodeTypeManager() throws - RepositoryException, RemoteException; + RemoteNodeTypeManager getNodeTypeManager() + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Workspace#getNamespaceRegistry() * @throws RemoteException on RMI errors */ - public RemoteNamespaceRegistry getNamespaceRegistry() throws - RepositoryException, RemoteException; + RemoteNamespaceRegistry getNamespaceRegistry() + throws RepositoryException, RemoteException; =20 /** * @seejavax.jcr.Workspace#getQueryManager() * @throws RemoteException on RMI errors */ - public RemoteQueryManager getQueryManager() throws RepositoryException, - RemoteException; + RemoteQueryManager getQueryManager() + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Workspace#getAccessibleWorkspaceNames() * @throws RemoteException on RMI errors */ - public String[] getAccessibleWorkspaceNames() throws RepositoryExcepti= on, - RemoteException; + String[] getAccessibleWorkspaceNames() + throws RepositoryException, RemoteException; =20 /** * @see javax.jcr.Workspace#importXML(java.lang.String, byte[], int) * @throws RemoteException on RMI errors */ - public void importXML(String path, byte[] xml, int uuidBehaviour) - throws IOException, PathNotFoundException, ItemExistsException, - ConstraintViolationException, InvalidSerializedDataException, - LockException, RepositoryException, RemoteException; + void importXML(String path, byte[] xml, int uuidBehaviour) + throws IOException, RepositoryException, RemoteException; =20 }