Class StartTransaction

java.lang.Object
de.aristaflow.adept2.core.changeoperations.StartTransaction

public class StartTransaction extends Object
Signals the beginning of a change transaction
Author:
jurisch
  • Constructor Details

    • StartTransaction

      public StartTransaction()
  • Method Details

    • performOperation

      public static void performOperation(ChangeableTemplate template, UpdateManager updateManager)
      starts a transaction
      Parameters:
      template - the related template
      updateManager - The UpdateManager where modifications are logged, may be null
    • performOperation

      public static void performOperation(ChangeableInstance instance, UpdateManager updateManager)
      starts a transaction
      Parameters:
      instance - the related changeable instance
      updateManager - The UpdateManager where modifications are logged, may be null
    • performOperation

      public static void performOperation(ChangePrimitives processGraph, UpdateManager updateManager)
      Worker method to do the structural changes for both changeable templates and changeable instances.
      Parameters:
      processGraph - an instance of type ChangeableTemplate or ChangeableInstance
      updateManager - The UpdateManager where modifications are logged, may be null