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 boolean
equals(java.lang.Object o)
abstract void
execute(Transaction tx)
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 runint
hashCode()
-
-
-
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:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
-