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 Summary
Constructors Constructor Description StartTransaction()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
performOperation(ChangeableInstance instance, UpdateManager updateManager)
starts a transactionstatic void
performOperation(ChangeableTemplate template, UpdateManager updateManager)
starts a transactionstatic void
performOperation(ChangePrimitives processGraph, UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates and changeable instances.
-
-
-
Method Detail
-
performOperation
public static void performOperation(ChangeableTemplate template, UpdateManager updateManager)
starts a transaction- Parameters:
template
- the related templateupdateManager
- 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 instanceupdateManager
- 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 ChangeableInstanceupdateManager
- The UpdateManager where modifications are logged, may be null
-
-