Package org.apache.jackrabbit.rmi.remote

Examples of org.apache.jackrabbit.rmi.remote.RemoteVersion


     */
    public void testVersion() throws Exception {
        prepareTests(Version.class);

        Version version = (Version) mock;
        RemoteVersion remote = remoteFactory.getRemoteVersion(version);
        Version local = localFactory.getVersion(null, remote);

        runTests(local);
    }
View Full Code Here


     */
    public void testVersion() throws Exception {
        prepareTests(Version.class);

        Version version = (Version) mock;
        RemoteVersion remote = remoteFactory.getRemoteVersion(version);
        Version local = localFactory.getVersion(null, remote);

        runTests(local);
    }
View Full Code Here

    }

    /** {@inheritDoc} */
    public Version getLinearPredecessor() throws RepositoryException {
        try {
            RemoteVersion linearPredecessor = remote.getLinearPredecessor();
            if (linearPredecessor == null) {
                return null;
            } else {
                return getFactory().getVersion(getSession(), linearPredecessor);
            }
View Full Code Here

    }

    /** {@inheritDoc} */
    public Version getLinearSuccessor() throws RepositoryException {
        try {
            RemoteVersion linearSuccessor = remote.getLinearSuccessor();
            if (linearSuccessor == null) {
                return null;
            } else {
                return getFactory().getVersion(getSession(), linearSuccessor);
            }
View Full Code Here

     */
    public void testVersion() throws Exception {
        prepareTests(Version.class);

        Version version = (Version) mock;
        RemoteVersion remote = remoteFactory.getRemoteVersion(version);
        Version local = localFactory.getVersion(null, remote);

        runTests(local);
    }
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.rmi.remote.RemoteVersion

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.