Class DefaultAuditEvent
- java.lang.Object
-
- de.hybris.platform.audit.view.impl.DefaultAuditEvent
-
- All Implemented Interfaces:
AuditEvent,AuditRecordInternal
public class DefaultAuditEvent extends java.lang.Object implements AuditEvent
-
-
Constructor Summary
Constructors Constructor Description DefaultAuditEvent(AuditRecord record, java.util.Date timestamp, EventType eventType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetAttribute(java.lang.String key)java.lang.ObjectgetAttribute(java.lang.String key, java.lang.String langIsoCode)java.lang.ObjectgetAttributeAfterOperation(java.lang.String key)java.lang.ObjectgetAttributeAfterOperation(java.lang.String key, java.lang.String langIsoCode)java.lang.ObjectgetAttributeBeforeOperation(java.lang.String key)java.lang.ObjectgetAttributeBeforeOperation(java.lang.String key, java.lang.String langIsoCode)AuditRecordgetAuditRecord()EventTypegetEventType()PKgetPk()java.util.DategetTimestamp()java.lang.StringgetType()
-
-
-
Constructor Detail
-
DefaultAuditEvent
public DefaultAuditEvent(AuditRecord record, java.util.Date timestamp, EventType eventType)
-
-
Method Detail
-
getTimestamp
public java.util.Date getTimestamp()
- Specified by:
getTimestampin interfaceAuditEvent
-
getEventType
public EventType getEventType()
- Specified by:
getEventTypein interfaceAuditEvent
-
getAuditRecord
public AuditRecord getAuditRecord()
- Specified by:
getAuditRecordin interfaceAuditEvent
-
getPk
public PK getPk()
- Specified by:
getPkin interfaceAuditRecordInternal
-
getType
public java.lang.String getType()
- Specified by:
getTypein interfaceAuditRecordInternal
-
getAttribute
public java.lang.Object getAttribute(java.lang.String key)
- Specified by:
getAttributein interfaceAuditRecordInternal
-
getAttribute
public java.lang.Object getAttribute(java.lang.String key, java.lang.String langIsoCode)- Specified by:
getAttributein interfaceAuditRecordInternal
-
getAttributeBeforeOperation
public java.lang.Object getAttributeBeforeOperation(java.lang.String key)
- Specified by:
getAttributeBeforeOperationin interfaceAuditRecordInternal
-
getAttributeBeforeOperation
public java.lang.Object getAttributeBeforeOperation(java.lang.String key, java.lang.String langIsoCode)- Specified by:
getAttributeBeforeOperationin interfaceAuditRecordInternal
-
getAttributeAfterOperation
public java.lang.Object getAttributeAfterOperation(java.lang.String key)
- Specified by:
getAttributeAfterOperationin interfaceAuditRecordInternal
-
getAttributeAfterOperation
public java.lang.Object getAttributeAfterOperation(java.lang.String key, java.lang.String langIsoCode)- Specified by:
getAttributeAfterOperationin interfaceAuditRecordInternal
-
-