Class CreateInstance
java.lang.Object
com.aquima.interactions.profile.model.command.CreateInstance
- All Implemented Interfaces:
ITransactionalAction
,Serializable
This class hold the information to rollback a create instance action.
- Since:
- 6.5
- Author:
- O. Kerpershoek, N. van Noorloos
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreateInstance
(EntityValue instanceId) Constructs the create instance command.CreateInstance
(CreateInstance other) -
Method Summary
Modifier and TypeMethodDescriptionReturns a deep copy of the transaction.void
rollback
(IRollbackContext context) Performs a roll-back on the current (sub)transaction.
-
Constructor Details
-
CreateInstance
Constructs the create instance command.- Parameters:
instanceId
- The ID of the instance that was created.
-
CreateInstance
-
-
Method Details
-
rollback
Description copied from interface:ITransactionalAction
Performs a roll-back on the current (sub)transaction.- Specified by:
rollback
in interfaceITransactionalAction
- Parameters:
context
- the rollback context
-
duplicate
Description copied from interface:ITransactionalAction
Returns a deep copy of the transaction.- Specified by:
duplicate
in interfaceITransactionalAction
- Returns:
- The copied action.
-