Package javax.jcr.observation

Examples of javax.jcr.observation.EventJournal.skipTo()


                             "/testroot/node1", "/testroot/node1/jcr:primaryType",
                             "/testroot/node2", "/testroot/node2/jcr:primaryType",
                             "/testroot/node3", "/testroot/node3/jcr:primaryType");

        journal = getObservationManager().getEventJournal();
        journal.skipTo(afterNode1);
        assertPathsInJournal(journal, true,
                             "/testroot/node2", "/testroot/node2/jcr:primaryType",
                             "/testroot/node3", "/testroot/node3/jcr:primaryType");

        journal = getObservationManager().getEventJournal();
View Full Code Here


        assertPathsInJournal(journal, true,
                             "/testroot/node2", "/testroot/node2/jcr:primaryType",
                             "/testroot/node3", "/testroot/node3/jcr:primaryType");

        journal = getObservationManager().getEventJournal();
        journal.skipTo(afterNode2);
        assertPathsInJournal(journal, true,
                             "/testroot/node3", "/testroot/node3/jcr:primaryType");

        journal = getObservationManager().getEventJournal();
        journal.skipTo(afterNode3);
View Full Code Here

        journal.skipTo(afterNode2);
        assertPathsInJournal(journal, true,
                             "/testroot/node3", "/testroot/node3/jcr:primaryType");

        journal = getObservationManager().getEventJournal();
        journal.skipTo(afterNode3);
        assertFalse(journal.hasNext());
    }

    @Test
    @FixFor( "MODE-2336" )
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.