Examples of PairChangesLog


Examples of org.exoplatform.services.jcr.dataflow.PairChangesLog

            pairId = IdGenerator.generate();
         }

         if (vstates.size() > 0)
         {
            versionLog.addLog((pairId != null) ? new PairChangesLog(vstates, changes.getSessionId(), changes
               .getEventType(), pairId) : new PlainChangesLogImpl(vstates, changes.getSessionId(), changes
               .getEventType()));
            saveVersions = true;
         }

         if (nvstates.size() > 0)
         {
            nonVersionLog.addLog((pairId != null) ? new PairChangesLog(nvstates, changes.getSessionId(), changes
               .getEventType(), pairId) : new PlainChangesLogImpl(nvstates, changes.getSessionId(), changes
               .getEventType()));

            saveNonVersions = true;
         }
View Full Code Here

Examples of org.exoplatform.services.jcr.dataflow.PairChangesLog

            pairId = IdGenerator.generate();
         }

         if (vstates.size() > 0)
         {
            versionLog.addLog((pairId != null) ? new PairChangesLog(vstates, changes.getSessionId(), changes
                     .getEventType(), pairId) : new PlainChangesLogImpl(vstates, changes.getSessionId(), changes
                     .getEventType()));
            saveVersions = true;
         }

         if (nvstates.size() > 0)
         {
            nonVersionLog.addLog((pairId != null) ? new PairChangesLog(nvstates, changes.getSessionId(), changes
                     .getEventType(), pairId) : new PlainChangesLogImpl(nvstates, changes.getSessionId(), changes
                     .getEventType()));

            saveNonVersions = true;
         }
View Full Code Here

Examples of org.exoplatform.services.jcr.dataflow.PairChangesLog

            if (nvstates.size() > 0)
            {
               // we have pair of logs for system and non-system (this) workspaces
               final String pairId = IdGenerator.generate();

               versionLogs.addLog(new PairChangesLog(vstates, changes.getSessionId(), changes.getEventType(), pairId));
               nonVersionLogs.addLog(new PairChangesLog(nvstates, changes.getSessionId(), changes.getEventType(),
                  pairId));
            }
            else
            {
               versionLogs.addLog(new PlainChangesLogImpl(vstates, changes.getSessionId(), changes.getEventType()));
View Full Code Here

Examples of org.exoplatform.services.jcr.dataflow.PairChangesLog

            pairId = IdGenerator.generate();
         }

         if (vstates.size() > 0)
         {
            versionLog.addLog((pairId != null) ? new PairChangesLog(vstates, changes.getSessionId(), changes
               .getEventType(), pairId) : new PlainChangesLogImpl(vstates, changes.getSessionId(), changes
               .getEventType()));
            saveVersions = true;
         }

         if (nvstates.size() > 0)
         {
            nonVersionLog.addLog((pairId != null) ? new PairChangesLog(nvstates, changes.getSessionId(), changes
               .getEventType(), pairId) : new PlainChangesLogImpl(nvstates, changes.getSessionId(), changes
               .getEventType()));

            saveNonVersions = true;
         }
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.