Package org.apache.chemistry.opencmis.client.api

Examples of org.apache.chemistry.opencmis.client.api.Document.move()


        String pathd = "/" + Fixture.TEST_ROOT_FOLDER_NAME + "/"
                + FixtureData.DOCUMENT1_NAME;
        Document document = (Document) session.getObjectByPath(pathd);

        // move document into new folder
        FileableCmisObject newdoc = document.move(testRoot, folderId);

        assertEquals(pathr + "/newfolder/" + FixtureData.DOCUMENT1_NAME,
                newdoc.getPaths().get(0));
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.