public class AuditFlushContext extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected long |
eventTime |
protected Map<FlushKey,List<OperationDTO>> |
flushStatePerEntity |
protected Information |
information |
protected boolean |
isNew |
protected Map<FlushKey,OperationType> |
operationTypePerEntity |
protected String |
requestContext |
Constructor and Description |
---|
AuditFlushContext() |
Modifier and Type | Method and Description |
---|---|
void |
addCreate(Serializable id,
Object[] fields,
Object object,
org.hibernate.engine.spi.SharedSessionContractImplementor session) |
void |
addDelete(Serializable id,
Object version,
Object object,
org.hibernate.engine.spi.SharedSessionContractImplementor session) |
protected void |
addOperation(OperationDTO dto,
OperationType type,
OperationType overrideType) |
void |
addUpdate(Serializable id,
Object[] fields,
int[] dirtyFields,
boolean hasDirtyCollection,
Object[] oldFields,
Object oldVersion,
Object object,
Object rowId,
org.hibernate.engine.spi.SharedSessionContractImplementor session,
OperationType overrideType) |
static void |
clear() |
long |
getEventTime() |
static AuditFlushContext |
getFlushContext() |
Map<FlushKey,List<OperationDTO>> |
getFlushStatePerEntity() |
Information |
getInformation() |
Map<FlushKey,OperationType> |
getOperationTypePerEntity() |
String |
getRequestContext() |
boolean |
isNew() |
static void |
setFlushContext(AuditFlushContext flushContext) |
protected Map<FlushKey,List<OperationDTO>> flushStatePerEntity
protected Map<FlushKey,OperationType> operationTypePerEntity
protected boolean isNew
protected String requestContext
protected long eventTime
protected Information information
public static AuditFlushContext getFlushContext()
public static void clear()
public static void setFlushContext(AuditFlushContext flushContext)
public void addCreate(Serializable id, Object[] fields, Object object, org.hibernate.engine.spi.SharedSessionContractImplementor session)
public void addUpdate(Serializable id, Object[] fields, int[] dirtyFields, boolean hasDirtyCollection, Object[] oldFields, Object oldVersion, Object object, Object rowId, org.hibernate.engine.spi.SharedSessionContractImplementor session, OperationType overrideType)
public void addDelete(Serializable id, Object version, Object object, org.hibernate.engine.spi.SharedSessionContractImplementor session)
public Map<FlushKey,List<OperationDTO>> getFlushStatePerEntity()
public Map<FlushKey,OperationType> getOperationTypePerEntity()
public boolean isNew()
public String getRequestContext()
public long getEventTime()
public Information getInformation()
protected void addOperation(OperationDTO dto, OperationType type, OperationType overrideType)
Copyright © 2021. All rights reserved.