@ProviderType public class AuditEventWrapper extends java.lang.Object 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.Object |
clone() |
int |
compareTo(AuditEvent auditEvent) |
boolean |
equals(java.lang.Object obj) |
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.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
java.lang.String |
getMessage()
Returns the message of this audit event.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
long |
getPrimaryKey()
Returns the primary key of this audit event.
|
java.io.Serializable |
getPrimaryKeyObj() |
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.
|
AuditEvent |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isFinderCacheEnabled() |
boolean |
isNew() |
void |
persist() |
void |
resetOriginalValues() |
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 |
setCachedModel(boolean cachedModel) |
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 |
setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
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 |
setNew(boolean n) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this audit event.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
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.
|
com.liferay.portal.kernel.model.CacheModel<AuditEvent> |
toCacheModel() |
AuditEvent |
toEscapedModel() |
java.lang.String |
toString() |
AuditEvent |
toUnescapedModel() |
java.lang.String |
toXmlString() |
public AuditEventWrapper(AuditEvent auditEvent)
public java.lang.Class<?> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
public java.lang.String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
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.Object clone()
clone
in interface com.liferay.portal.kernel.model.BaseModel<AuditEvent>
clone
in interface AuditEventModel
clone
in class java.lang.Object
public int compareTo(AuditEvent auditEvent)
compareTo
in interface AuditEventModel
compareTo
in interface java.lang.Comparable<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 com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<AuditEvent>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
getExpandoBridge
in interface AuditEventModel
public java.lang.String getMessage()
getMessage
in interface AuditEventModel
public long getPrimaryKey()
getPrimaryKey
in interface AuditEventModel
public java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<AuditEvent>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
getPrimaryKeyObj
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 int hashCode()
hashCode
in interface AuditEventModel
hashCode
in class java.lang.Object
public boolean isCachedModel()
isCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<AuditEvent>
isCachedModel
in interface AuditEventModel
public boolean isEscapedModel()
isEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<AuditEvent>
isEscapedModel
in interface AuditEventModel
public boolean isNew()
isNew
in interface com.liferay.portal.kernel.model.BaseModel<AuditEvent>
isNew
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 setCachedModel(boolean cachedModel)
setCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<AuditEvent>
setCachedModel
in interface AuditEventModel
public 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 setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<AuditEvent>
setExpandoBridgeAttributes
in interface AuditEventModel
public void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<AuditEvent>
setExpandoBridgeAttributes
in interface AuditEventModel
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<AuditEvent>
setExpandoBridgeAttributes
in interface AuditEventModel
public void setMessage(java.lang.String message)
setMessage
in interface AuditEventModel
message
- the message of this audit eventpublic void setNew(boolean n)
setNew
in interface com.liferay.portal.kernel.model.BaseModel<AuditEvent>
setNew
in interface AuditEventModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface AuditEventModel
primaryKey
- the primary key of this audit eventpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<AuditEvent>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
setPrimaryKeyObj
in interface AuditEventModel
public 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 eventpublic com.liferay.portal.kernel.model.CacheModel<AuditEvent> toCacheModel()
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<AuditEvent>
toCacheModel
in interface AuditEventModel
public AuditEvent toEscapedModel()
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<AuditEvent>
toEscapedModel
in interface AuditEventModel
public java.lang.String toString()
toString
in interface AuditEventModel
toString
in class java.lang.Object
public AuditEvent toUnescapedModel()
toUnescapedModel
in interface com.liferay.portal.kernel.model.BaseModel<AuditEvent>
toUnescapedModel
in interface AuditEventModel
public java.lang.String toXmlString()
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<AuditEvent>
toXmlString
in interface AuditEventModel
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public AuditEvent getWrappedModel()
getWrappedModel
in interface com.liferay.portal.kernel.model.ModelWrapper<AuditEvent>
public boolean isEntityCacheEnabled()
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<AuditEvent>
public boolean isFinderCacheEnabled()
isFinderCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<AuditEvent>
public void resetOriginalValues()
resetOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<AuditEvent>