Modifier and Type | Method and Description |
---|---|
static RevisionType |
RevisionType.fromRepresentation(Object representation) |
static RevisionType |
RevisionType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RevisionType[] |
RevisionType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Map<RevisionType,List<Object>> |
CrossTypeRevisionChangesReader.findEntitiesGroupByRevisionType(Number revision)
Find all entities changed (added, updated and removed) in a given revision grouped by modification type.
|
Modifier and Type | Method and Description |
---|---|
void |
EntityTrackingRevisionListener.entityChanged(Class entityClass,
String entityName,
Serializable entityId,
RevisionType revisionType,
Object revisionEntity)
Called after audited entity data has been persisted.
|
List<Object> |
CrossTypeRevisionChangesReader.findEntities(Number revision,
RevisionType revisionType)
Find all entities changed (added, updated or removed) in a given revision.
|
Modifier and Type | Method and Description |
---|---|
RevisionType |
RevisionTypeType.nullSafeGet(ResultSet resultSet,
String[] names,
SessionImplementor session,
Object owner) |
Modifier and Type | Method and Description |
---|---|
static AuditProperty<RevisionType> |
AuditEntity.revisionType()
Create restrictions, projections and specify order for the revision type, corresponding to an
audited entity.
|
Modifier and Type | Method and Description |
---|---|
Map<RevisionType,List<Object>> |
CrossTypeRevisionChangesReaderImpl.findEntitiesGroupByRevisionType(Number revision) |
Modifier and Type | Method and Description |
---|---|
List<Object> |
CrossTypeRevisionChangesReaderImpl.findEntities(Number revision,
RevisionType revisionType) |
Modifier and Type | Method and Description |
---|---|
void |
RevisionInfoGenerator.entityChanged(Class entityClass,
String entityName,
Serializable entityId,
RevisionType revisionType,
Object revisionEntity) |
void |
DefaultTrackingModifiedEntitiesRevisionInfoGenerator.entityChanged(Class entityClass,
String entityName,
Serializable entityId,
RevisionType revisionType,
Object revisionEntity) |
void |
DefaultRevisionInfoGenerator.entityChanged(Class entityClass,
String entityName,
Serializable entityId,
RevisionType revisionType,
Object revisionInfo) |
Modifier and Type | Field and Description |
---|---|
protected RevisionType |
AbstractAuditWorkUnit.revisionType |
Modifier and Type | Method and Description |
---|---|
RevisionType |
AuditWorkUnit.getRevisionType() |
RevisionType |
AbstractAuditWorkUnit.getRevisionType() |
Constructor and Description |
---|
AbstractAuditWorkUnit(SessionImplementor sessionImplementor,
String entityName,
AuditConfiguration verCfg,
Serializable id,
RevisionType revisionType) |
FakeBidirectionalRelationWorkUnit(SessionImplementor sessionImplementor,
String entityName,
AuditConfiguration verCfg,
Serializable id,
String referencingPropertyName,
Object owningEntity,
RelationDescription rd,
RevisionType revisionType,
Object index,
AuditWorkUnit nestedWorkUnit) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.