Package org.apache.jackrabbit.oak.plugins.document.DocumentNodeState

Examples of org.apache.jackrabbit.oak.plugins.document.DocumentNodeState.Children


        mk.commit("/testDel", "+\"b\":{\"name\": \"!\"}", null, null);
        String r1 = mk.commit("/testDel", "+\"c\":{\"name\": \"!\"}", null, null);

        DocumentNodeState n = ns.getNode("/testDel", Revision.fromString(r1));
        assertNotNull(n);
        Children c = ns.getChildren(n, null, Integer.MAX_VALUE);
        assertEquals(3, c.children.size());

        String r2 = mk.commit("/testDel", "-\"c\"", null, null);
        n = ns.getNode("/testDel", Revision.fromString(r2));
        assertNotNull(n);
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.oak.plugins.document.DocumentNodeState.Children

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.