public interface AuditWorkUnit extends WorkUnitMergeVisitor, WorkUnitMergeDispatcher
Modifier and Type | Method and Description |
---|---|
boolean |
containsWork() |
java.util.Map<java.lang.String,java.lang.Object> |
generateData(java.lang.Object revisionData) |
java.io.Serializable |
getEntityId() |
java.lang.String |
getEntityName() |
RevisionType |
getRevisionType() |
boolean |
isPerformed() |
void |
perform(Session session,
java.lang.Object revisionData)
Perform this work unit in the given session.
|
void |
undo(Session session) |
merge, merge, merge, merge, merge
dispatch
java.io.Serializable getEntityId()
java.lang.String getEntityName()
boolean containsWork()
boolean isPerformed()
void perform(Session session, java.lang.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)
java.util.Map<java.lang.String,java.lang.Object> generateData(java.lang.Object revisionData)
revisionData
- The current revision data, which will be used to populate the work unit with the correct
revision relation.RevisionType getRevisionType()
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.