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, mergedispatchSerializable 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 © 2001-2015 Red Hat, Inc. All Rights Reserved.