public interface AuditWorkUnit extends WorkUnitMergeVisitor, WorkUnitMergeDispatcher
Modifier and Type | Method and Description |
---|---|
boolean |
containsWork() |
Map<String,Object> |
generateData(Object revisionData) |
Serializable |
getEntityId() |
String |
getEntityName() |
RevisionType |
getRevisionType() |
boolean |
isPerformed() |
void |
perform(Session session,
Object revisionData)
Perform this work unit in the given session.
|
void |
undo(Session session) |
merge, merge, merge, merge, merge
dispatch
Serializable getEntityId()
String getEntityName()
boolean containsWork()
boolean isPerformed()
void perform(Session session, Object revisionData)
session
- Session, in which the work unit should be performed.revisionData
- The current revision data, which will be used to populate the work unit with the correct
revision relation.void undo(Session session)
Map<String,Object> generateData(Object revisionData)
revisionData
- The current revision data, which will be used to populate the work unit with the correct
revision relation.RevisionType getRevisionType()
Copyright © 2021 JBoss by Red Hat. All rights reserved.