Class ModelAwareTransactionCallbackWithoutResult<M extends ItemModel>
java.lang.Object
de.hybris.platform.servicelayer.tx.ModelAwareTransactionCallback
de.hybris.platform.servicelayer.tx.ModelAwareTransactionCallbackWithoutResult<M>
- All Implemented Interfaces:
org.springframework.transaction.support.TransactionCallback
public abstract class ModelAwareTransactionCallbackWithoutResult<M extends ItemModel>
extends ModelAwareTransactionCallback
Model-aware transaction call-back used for transaction bodies without result.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final MdoInModelAwareTransaction(org.springframework.transaction.TransactionStatus status) Method used for providing model-aware execution inside transaction.protected abstract voiddoInModelAwareTransactionWithoutResult(org.springframework.transaction.TransactionStatus status) Implement this method to place logic for transaction body without result.Methods inherited from class de.hybris.platform.servicelayer.tx.ModelAwareTransactionCallback
doInTransaction, getModelService, isEnableDelayedStore, prepareTransaction
-
Constructor Details
-
ModelAwareTransactionCallbackWithoutResult
public ModelAwareTransactionCallbackWithoutResult()
-
-
Method Details
-
doInModelAwareTransactionWithoutResult
protected abstract void doInModelAwareTransactionWithoutResult(org.springframework.transaction.TransactionStatus status) Implement this method to place logic for transaction body without result. -
doInModelAwareTransaction
protected final M doInModelAwareTransaction(org.springframework.transaction.TransactionStatus status) Description copied from class:ModelAwareTransactionCallbackMethod used for providing model-aware execution inside transaction.- Specified by:
doInModelAwareTransactionin classModelAwareTransactionCallback
-