Class PostCommitDaoListener<TEntity extends de.xima.cmn.dao.interfaces.IEntity<Long>>
- java.lang.Object
-
- de.xima.fc.workflow.designer.listener.PostCommitDaoListener<TEntity>
-
- Type Parameters:
TEntity
- Type of the entity for which the listener is registered.
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IDaoActionListener<TEntity,IEntityContext>
public abstract class PostCommitDaoListener<TEntity extends de.xima.cmn.dao.interfaces.IEntity<Long>> extends Object implements de.xima.cmn.dao.interfaces.IDaoActionListener<TEntity,IEntityContext>
Base class for aIDaoActionListener
that delays the handler until after the transaction was committed. This should only be used withEDaoActionState.POST
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description PostCommitDaoListener()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
handleAfterCommit(TEntity entity, IEntityContext ec)
void
handleNotification(TEntity entity, IEntityContext ec)
-
-
-
Method Detail
-
handleNotification
public final void handleNotification(TEntity entity, IEntityContext ec)
- Specified by:
handleNotification
in interfacede.xima.cmn.dao.interfaces.IDaoActionListener<TEntity extends de.xima.cmn.dao.interfaces.IEntity<Long>,IEntityContext>
-
handleAfterCommit
protected abstract void handleAfterCommit(TEntity entity, IEntityContext ec)
-
-