public class EntityChangeNotifier extends Object
RevisionInfoGenerator
about changes made in the current revision.Constructor and Description |
---|
EntityChangeNotifier(RevisionInfoGenerator revisionInfoGenerator,
SessionImplementor sessionImplementor) |
Modifier and Type | Method and Description |
---|---|
void |
entityChanged(Session session,
Object currentRevisionData,
AuditWorkUnit vwu)
Notifies
RevisionInfoGenerator about changes made in the current revision. |
public EntityChangeNotifier(RevisionInfoGenerator revisionInfoGenerator, SessionImplementor sessionImplementor)
public void entityChanged(Session session, Object currentRevisionData, AuditWorkUnit vwu)
RevisionInfoGenerator
about changes made in the current revision. Provides information
about modified entity class, entity name and its id, as well as RevisionType
and revision log entity.session
- Active session.currentRevisionData
- Revision log entity.vwu
- Performed work unit.Copyright © 2016 JBoss by Red Hat. All rights reserved.