Class StartTransaction
java.lang.Object
de.aristaflow.adept2.core.changeoperations.StartTransaction
Signals the beginning of a change transaction
- Author:
- jurisch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidperformOperation(ChangeableInstance instance, UpdateManager updateManager) starts a transactionstatic voidperformOperation(ChangeableTemplate template, UpdateManager updateManager) starts a transactionstatic voidperformOperation(ChangePrimitives processGraph, UpdateManager updateManager) Worker method to do the structural changes for both changeable templates and changeable instances.
-
Constructor Details
-
StartTransaction
public StartTransaction()
-
-
Method Details
-
performOperation
starts a transaction- Parameters:
template- the related templateupdateManager- The UpdateManager where modifications are logged, may be null
-
performOperation
starts a transaction- Parameters:
instance- the related changeable instanceupdateManager- The UpdateManager where modifications are logged, may be null
-
performOperation
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
-