Examples of pushLog()


Examples of org.exoplatform.services.jcr.impl.dataflow.session.SessionChangesLog.pushLog()

      cLog.add(ItemState.createAddedState(d1));
      assertEquals(2, cLog.getDescendantsChanges(data1.getQPath()).size());
      assertEquals(1, cLog.getDescendantsChanges(data2.getQPath()).size());

      // test pushLog
      PlainChangesLog newLog = cLog.pushLog(data1.getQPath());
      assertEquals(2, newLog.getSize());
      assertEquals(1, cLog.getSize());
      cLog.remove(data2.getQPath());

      // test getLastStates
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.