Modifier and Type | Method and Description |
---|---|
static RevisionType |
RevisionType.fromRepresentation(java.lang.Object representation) |
static RevisionType |
RevisionType.valueOf(java.lang.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 |
---|---|
java.util.Map<RevisionType,java.util.List<java.lang.Object>> |
CrossTypeRevisionChangesReader.findEntitiesGroupByRevisionType(java.lang.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(java.lang.Class entityClass,
java.lang.String entityName,
java.io.Serializable entityId,
RevisionType revisionType,
java.lang.Object revisionEntity)
Called after audited entity data has been persisted.
|
java.util.List<java.lang.Object> |
CrossTypeRevisionChangesReader.findEntities(java.lang.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(java.sql.ResultSet resultSet,
java.lang.String[] names,
SessionImplementor session,
java.lang.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 |
---|---|
java.util.Map<RevisionType,java.util.List<java.lang.Object>> |
CrossTypeRevisionChangesReaderImpl.findEntitiesGroupByRevisionType(java.lang.Number revision) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Object> |
CrossTypeRevisionChangesReaderImpl.findEntities(java.lang.Number revision,
RevisionType revisionType) |
Modifier and Type | Method and Description |
---|---|
void |
RevisionInfoGenerator.entityChanged(java.lang.Class entityClass,
java.lang.String entityName,
java.io.Serializable entityId,
RevisionType revisionType,
java.lang.Object revisionEntity) |
void |
DefaultTrackingModifiedEntitiesRevisionInfoGenerator.entityChanged(java.lang.Class entityClass,
java.lang.String entityName,
java.io.Serializable entityId,
RevisionType revisionType,
java.lang.Object revisionEntity) |
void |
DefaultRevisionInfoGenerator.entityChanged(java.lang.Class entityClass,
java.lang.String entityName,
java.io.Serializable entityId,
RevisionType revisionType,
java.lang.Object revisionInfo) |
Modifier and Type | Field and Description |
---|---|
protected RevisionType |
AbstractAuditWorkUnit.revisionType |
Modifier and Type | Method and Description |
---|---|
RevisionType |
AbstractAuditWorkUnit.getRevisionType() |
RevisionType |
AuditWorkUnit.getRevisionType() |
Constructor and Description |
---|
AbstractAuditWorkUnit(SessionImplementor sessionImplementor,
java.lang.String entityName,
AuditConfiguration verCfg,
java.io.Serializable id,
RevisionType revisionType) |
FakeBidirectionalRelationWorkUnit(SessionImplementor sessionImplementor,
java.lang.String entityName,
AuditConfiguration verCfg,
java.io.Serializable id,
java.lang.String referencingPropertyName,
java.lang.Object owningEntity,
RelationDescription rd,
RevisionType revisionType,
java.lang.Object index,
AuditWorkUnit nestedWorkUnit) |
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.