Package de.hybris.platform.tx
Class Transaction.TransactionAwareExecution
- java.lang.Object
-
- de.hybris.platform.tx.Transaction.TransactionAwareExecution
-
- Enclosing class:
- Transaction
public abstract static class Transaction.TransactionAwareExecution extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TransactionAwareExecution()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)abstract voidexecute(Transaction tx)abstract java.lang.ObjectgetId()id is used for output in case of errors and to decided if this execution was already registered during this transaction runinthashCode()
-
-
-
Method Detail
-
execute
public abstract void execute(Transaction tx) throws java.lang.Exception
- Parameters:
tx- the current transaction if you want to make the execution depended of some tx context variables- Throws:
java.lang.Exception
-
getId
public abstract java.lang.Object getId()
id is used for output in case of errors and to decided if this execution was already registered during this transaction run- Returns:
- the id
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-