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 |
---|---|
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.
|
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, toUnescapedModel, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public 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 java.lang.String getAdditionalInfo()
getAdditionalInfo
in interface AuditEventModel
public long getAuditEventId()
getAuditEventId
in interface AuditEventModel
public java.lang.String getClassName()
getClassName
in interface AuditEventModel
public java.lang.String getClassPK()
getClassPK
in interface AuditEventModel
public java.lang.String getClientHost()
getClientHost
in interface AuditEventModel
public java.lang.String getClientIP()
getClientIP
in interface AuditEventModel
public long getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface AuditEventModel
public java.util.Date getCreateDate()
getCreateDate
in interface AuditEventModel
public java.lang.String getEventType()
getEventType
in interface AuditEventModel
public java.lang.String getMessage()
getMessage
in interface AuditEventModel
public long getPrimaryKey()
getPrimaryKey
in interface AuditEventModel
public java.lang.String getServerName()
getServerName
in interface AuditEventModel
public int getServerPort()
getServerPort
in interface AuditEventModel
public java.lang.String getSessionID()
getSessionID
in interface AuditEventModel
public long getUserId()
getUserId
in interface AuditEventModel
public java.lang.String getUserName()
getUserName
in interface AuditEventModel
public java.lang.String getUserUuid()
getUserUuid
in interface AuditEventModel
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setAdditionalInfo(java.lang.String additionalInfo)
setAdditionalInfo
in interface AuditEventModel
additionalInfo
- the additional info of this audit eventpublic void setAuditEventId(long auditEventId)
setAuditEventId
in interface AuditEventModel
auditEventId
- the audit event ID of this audit eventpublic void setClassName(java.lang.String className)
setClassName
in interface AuditEventModel
className
- the class name of this audit eventpublic void setClassPK(java.lang.String classPK)
setClassPK
in interface AuditEventModel
classPK
- the class pk of this audit eventpublic void setClientHost(java.lang.String clientHost)
setClientHost
in interface AuditEventModel
clientHost
- the client host of this audit eventpublic void setClientIP(java.lang.String clientIP)
setClientIP
in interface AuditEventModel
clientIP
- the client ip of this audit eventpublic void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface AuditEventModel
companyId
- the company ID of this audit eventpublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface AuditEventModel
createDate
- the create date of this audit eventpublic void setEventType(java.lang.String eventType)
setEventType
in interface AuditEventModel
eventType
- the event type of this audit eventpublic void setMessage(java.lang.String message)
setMessage
in interface AuditEventModel
message
- the message of this audit eventpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface AuditEventModel
primaryKey
- the primary key of this audit eventpublic void setServerName(java.lang.String serverName)
setServerName
in interface AuditEventModel
serverName
- the server name of this audit eventpublic void setServerPort(int serverPort)
setServerPort
in interface AuditEventModel
serverPort
- the server port of this audit eventpublic void setSessionID(java.lang.String sessionID)
setSessionID
in interface AuditEventModel
sessionID
- the session ID of this audit eventpublic void setUserId(long userId)
setUserId
in interface AuditEventModel
userId
- the user ID of this audit eventpublic void setUserName(java.lang.String userName)
setUserName
in interface AuditEventModel
userName
- the user name of this audit eventpublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface AuditEventModel
userUuid
- the user uuid of this audit eventprotected AuditEventWrapper wrap(AuditEvent auditEvent)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<AuditEvent>