public class AuditEventWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<AuditEvent> implements AuditEvent, com.liferay.portal.kernel.model.ModelWrapper<AuditEvent>
This class is a wrapper for AuditEvent.
AuditEvent,
Serialized FormAUDIT_EVENT_ID_ACCESSOR| Constructor and Description |
|---|
AuditEventWrapper(AuditEvent auditEvent) |
| Modifier and Type | Method and Description |
|---|---|
AuditEvent |
cloneWithOriginalValues() |
java.lang.String |
getAdditionalInfo()
Returns the additional info of this audit event.
|
long |
getAuditEventId()
Returns the audit event ID of this audit event.
|
java.lang.String |
getClassName()
Returns the class name of this audit event.
|
java.lang.String |
getClassPK()
Returns the class pk of this audit event.
|
java.lang.String |
getClientHost()
Returns the client host of this audit event.
|
java.lang.String |
getClientIP()
Returns the client ip of this audit event.
|
long |
getCompanyId()
Returns the company ID of this audit event.
|
java.util.Date |
getCreateDate()
Returns the create date of this audit event.
|
java.lang.String |
getEventType()
Returns the event type of this audit event.
|
java.lang.String |
getMessage()
Returns the message of this audit event.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
long |
getPrimaryKey()
Returns the primary key of this audit event.
|
java.lang.String |
getServerName()
Returns the server name of this audit event.
|
int |
getServerPort()
Returns the server port of this audit event.
|
java.lang.String |
getSessionID()
Returns the session ID of this audit event.
|
long |
getUserId()
Returns the user ID of this audit event.
|
java.lang.String |
getUserName()
Returns the user name of this audit event.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this audit event.
|
void |
persist() |
void |
setAdditionalInfo(java.lang.String additionalInfo)
Sets the additional info of this audit event.
|
void |
setAuditEventId(long auditEventId)
Sets the audit event ID of this audit event.
|
void |
setClassName(java.lang.String className)
Sets the class name of this audit event.
|
void |
setClassPK(java.lang.String classPK)
Sets the class pk of this audit event.
|
void |
setClientHost(java.lang.String clientHost)
Sets the client host of this audit event.
|
void |
setClientIP(java.lang.String clientIP)
Sets the client ip of this audit event.
|
void |
setCompanyId(long companyId)
Sets the company ID of this audit event.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this audit event.
|
void |
setEventType(java.lang.String eventType)
Sets the event type of this audit event.
|
void |
setMessage(java.lang.String message)
Sets the message of this audit event.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this audit event.
|
void |
setServerName(java.lang.String serverName)
Sets the server name of this audit event.
|
void |
setServerPort(int serverPort)
Sets the server port of this audit event.
|
void |
setSessionID(java.lang.String sessionID)
Sets the session ID of this audit event.
|
void |
setUserId(long userId)
Sets the user ID of this audit event.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this audit event.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this audit event.
|
java.lang.String |
toXmlString() |
protected AuditEventWrapper |
wrap(AuditEvent auditEvent) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelpublic AuditEventWrapper(AuditEvent auditEvent)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<AuditEvent>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<AuditEvent>public AuditEvent cloneWithOriginalValues()
cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<AuditEvent>cloneWithOriginalValues in interface AuditEventModelpublic java.lang.String getAdditionalInfo()
getAdditionalInfo in interface AuditEventModelpublic long getAuditEventId()
getAuditEventId in interface AuditEventModelpublic java.lang.String getClassName()
getClassName in interface AuditEventModelpublic java.lang.String getClassPK()
getClassPK in interface AuditEventModelpublic java.lang.String getClientHost()
getClientHost in interface AuditEventModelpublic java.lang.String getClientIP()
getClientIP in interface AuditEventModelpublic long getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface AuditEventModelpublic java.util.Date getCreateDate()
getCreateDate in interface AuditEventModelpublic java.lang.String getEventType()
getEventType in interface AuditEventModelpublic java.lang.String getMessage()
getMessage in interface AuditEventModelpublic long getPrimaryKey()
getPrimaryKey in interface AuditEventModelpublic java.lang.String getServerName()
getServerName in interface AuditEventModelpublic int getServerPort()
getServerPort in interface AuditEventModelpublic java.lang.String getSessionID()
getSessionID in interface AuditEventModelpublic long getUserId()
getUserId in interface AuditEventModelpublic java.lang.String getUserName()
getUserName in interface AuditEventModelpublic java.lang.String getUserUuid()
getUserUuid in interface AuditEventModelpublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setAdditionalInfo(java.lang.String additionalInfo)
setAdditionalInfo in interface AuditEventModeladditionalInfo - the additional info of this audit eventpublic void setAuditEventId(long auditEventId)
setAuditEventId in interface AuditEventModelauditEventId - the audit event ID of this audit eventpublic void setClassName(java.lang.String className)
setClassName in interface AuditEventModelclassName - the class name of this audit eventpublic void setClassPK(java.lang.String classPK)
setClassPK in interface AuditEventModelclassPK - the class pk of this audit eventpublic void setClientHost(java.lang.String clientHost)
setClientHost in interface AuditEventModelclientHost - the client host of this audit eventpublic void setClientIP(java.lang.String clientIP)
setClientIP in interface AuditEventModelclientIP - the client ip of this audit eventpublic void setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface AuditEventModelcompanyId - the company ID of this audit eventpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface AuditEventModelcreateDate - the create date of this audit eventpublic void setEventType(java.lang.String eventType)
setEventType in interface AuditEventModeleventType - the event type of this audit eventpublic void setMessage(java.lang.String message)
setMessage in interface AuditEventModelmessage - the message of this audit eventpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface AuditEventModelprimaryKey - the primary key of this audit eventpublic void setServerName(java.lang.String serverName)
setServerName in interface AuditEventModelserverName - the server name of this audit eventpublic void setServerPort(int serverPort)
setServerPort in interface AuditEventModelserverPort - the server port of this audit eventpublic void setSessionID(java.lang.String sessionID)
setSessionID in interface AuditEventModelsessionID - the session ID of this audit eventpublic void setUserId(long userId)
setUserId in interface AuditEventModeluserId - the user ID of this audit eventpublic void setUserName(java.lang.String userName)
setUserName in interface AuditEventModeluserName - the user name of this audit eventpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface AuditEventModeluserUuid - the user uuid of this audit eventpublic java.lang.String toXmlString()
toXmlString in interface AuditEventModelprotected AuditEventWrapper wrap(AuditEvent auditEvent)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<AuditEvent>