Class RemoveValue
java.lang.Object
com.aquima.interactions.profile.model.command.ChangeValue
com.aquima.interactions.profile.model.command.RemoveValue
- All Implemented Interfaces:
ITransactionalAction
,Serializable
This command holds the information needed to execute a remove value command.
- Since:
- 5.0
- Author:
- F. vd Meer, O. Kerpershoek, N. van Noorloos
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRemoveValue
(RemoveValue other) RemoveValue
(ValueReference reference, ISingleValue attributeValue) Constructs a remove-value command. -
Method Summary
Modifier and TypeMethodDescriptionReturns a deep copy of the transaction.void
rollback
(IRollbackContext context) Performs a roll-back on the current (sub)transaction.Methods inherited from class com.aquima.interactions.profile.model.command.ChangeValue
getAttributeName, getEntityInstance, getInstanceReference
-
Constructor Details
-
RemoveValue
Constructs a remove-value command.- Parameters:
reference
- The reference to the attribute the value was removed from.attributeValue
- The value that was removed.
-
RemoveValue
-
-
Method Details
-
rollback
Description copied from interface:ITransactionalAction
Performs a roll-back on the current (sub)transaction.- Parameters:
context
- the rollback context
-
duplicate
Description copied from interface:ITransactionalAction
Returns a deep copy of the transaction.- Returns:
- The copied action.
-