Package org.apache.jackrabbit.rmi.client

Examples of org.apache.jackrabbit.rmi.client.RemoteRepositoryException


        /** {@inheritDoc} */
        public String getIdentifier() throws RepositoryException {
            try {
                return remote.getIdentifier();
            } catch (RemoteException ex) {
                throw new RemoteRepositoryException(ex);
            }
        }
View Full Code Here


        /** {@inheritDoc} */
        public Map getInfo() throws RepositoryException {
            try {
                return remote.getInfo();
            } catch (RemoteException ex) {
                throw new RemoteRepositoryException(ex);
            }
        }
View Full Code Here

        /** {@inheritDoc} */
        public String getUserData() throws RepositoryException {
            try {
                return remote.getUserData();
            } catch (RemoteException ex) {
                throw new RemoteRepositoryException(ex);
            }
        }
View Full Code Here

    public boolean hasNodeType(String name) throws RepositoryException {
        try {
            return remote.hasNodeType(name);
        } catch (RemoteException e) {
            throw new RemoteRepositoryException(e);
        }
    }
View Full Code Here

            for (int i = 0; i < remotes.length; i++) {
                types[i] = getFactory().getNodeType(remotes[i]);
            }
            return types;
        } catch (RemoteException e) {
            throw new RemoteRepositoryException(e);
        } finally {
            in.close();
        }
    }
View Full Code Here

    public void createWorkspace(String name) throws RepositoryException {
        try {
            remote.createWorkspace(name, null);
        } catch (RemoteException e) {
            throw new RemoteRepositoryException(e);
        }
    }
View Full Code Here

                remote.createWorkspace(name, output.toByteArray());
            } finally {
                input.close();
            }
        } catch (RemoteException e) {
            throw new RemoteRepositoryException(e);
        } catch (IOException e) {
            throw new RepositoryException("Error reading workspace template", e);
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.rmi.client.RemoteRepositoryException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.