Class AuditEventWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<AuditEvent>
com.liferay.portal.security.audit.storage.model.AuditEventWrapper
- All Implemented Interfaces:
com.liferay.portal.kernel.model.BaseModel<AuditEvent>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.ModelWrapper<AuditEvent>
,com.liferay.portal.kernel.model.PersistedModel
,com.liferay.portal.kernel.model.ShardedModel
,AuditEvent
,AuditEventModel
,Serializable
,Cloneable
,Comparable<AuditEvent>
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
.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.portal.security.audit.storage.model.AuditEvent
AUDIT_EVENT_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the additional info of this audit event.long
Returns the audit event ID of this audit event.Returns the class name of this audit event.Returns the class pk of this audit event.Returns the client host of this audit event.Returns the client ip of this audit event.long
Returns the company ID of this audit event.Returns the create date of this audit event.Returns the event type of this audit event.long
Returns the group ID of this audit event.Returns the message of this audit event.long
Returns the primary key of this audit event.Returns the server name of this audit event.int
Returns the server port of this audit event.Returns the session ID of this audit event.long
Returns the user ID of this audit event.Returns the user name of this audit event.Returns the user uuid of this audit event.void
persist()
void
setAdditionalInfo
(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
(String className) Sets the class name of this audit event.void
setClassPK
(String classPK) Sets the class pk of this audit event.void
setClientHost
(String clientHost) Sets the client host of this audit event.void
setClientIP
(String clientIP) Sets the client ip of this audit event.void
setCompanyId
(long companyId) Sets the company ID of this audit event.void
setCreateDate
(Date createDate) Sets the create date of this audit event.void
setEventType
(String eventType) Sets the event type of this audit event.void
setGroupId
(long groupId) Sets the group ID of this audit event.void
setMessage
(String message) Sets the message of this audit event.void
setModelAttributes
(Map<String, Object> attributes) void
setPrimaryKey
(long primaryKey) Sets the primary key of this audit event.void
setServerName
(String serverName) Sets the server name of this audit event.void
setServerPort
(int serverPort) Sets the server port of this audit event.void
setSessionID
(String sessionID) Sets the session ID of this audit event.void
setUserId
(long userId) Sets the user ID of this audit event.void
setUserName
(String userName) Sets the user name of this audit event.void
setUserUuid
(String userUuid) Sets the user uuid of this audit event.protected AuditEventWrapper
wrap
(AuditEvent auditEvent) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
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
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
AuditEventWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<AuditEvent>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<AuditEvent>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceAuditEventModel
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<AuditEvent>
-
getAdditionalInfo
Returns the additional info of this audit event.- Specified by:
getAdditionalInfo
in interfaceAuditEventModel
- Returns:
- the additional info of this audit event
-
getAuditEventId
public long getAuditEventId()Returns the audit event ID of this audit event.- Specified by:
getAuditEventId
in interfaceAuditEventModel
- Returns:
- the audit event ID of this audit event
-
getClassName
Returns the class name of this audit event.- Specified by:
getClassName
in interfaceAuditEventModel
- Returns:
- the class name of this audit event
-
getClassPK
Returns the class pk of this audit event.- Specified by:
getClassPK
in interfaceAuditEventModel
- Returns:
- the class pk of this audit event
-
getClientHost
Returns the client host of this audit event.- Specified by:
getClientHost
in interfaceAuditEventModel
- Returns:
- the client host of this audit event
-
getClientIP
Returns the client ip of this audit event.- Specified by:
getClientIP
in interfaceAuditEventModel
- Returns:
- the client ip of this audit event
-
getCompanyId
public long getCompanyId()Returns the company ID of this audit event.- Specified by:
getCompanyId
in interfaceAuditEventModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Returns:
- the company ID of this audit event
-
getCreateDate
Returns the create date of this audit event.- Specified by:
getCreateDate
in interfaceAuditEventModel
- Returns:
- the create date of this audit event
-
getEventType
Returns the event type of this audit event.- Specified by:
getEventType
in interfaceAuditEventModel
- Returns:
- the event type of this audit event
-
getGroupId
public long getGroupId()Returns the group ID of this audit event.- Specified by:
getGroupId
in interfaceAuditEventModel
- Returns:
- the group ID of this audit event
-
getMessage
Returns the message of this audit event.- Specified by:
getMessage
in interfaceAuditEventModel
- Returns:
- the message of this audit event
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this audit event.- Specified by:
getPrimaryKey
in interfaceAuditEventModel
- Returns:
- the primary key of this audit event
-
getServerName
Returns the server name of this audit event.- Specified by:
getServerName
in interfaceAuditEventModel
- Returns:
- the server name of this audit event
-
getServerPort
public int getServerPort()Returns the server port of this audit event.- Specified by:
getServerPort
in interfaceAuditEventModel
- Returns:
- the server port of this audit event
-
getSessionID
Returns the session ID of this audit event.- Specified by:
getSessionID
in interfaceAuditEventModel
- Returns:
- the session ID of this audit event
-
getUserId
public long getUserId()Returns the user ID of this audit event.- Specified by:
getUserId
in interfaceAuditEventModel
- Returns:
- the user ID of this audit event
-
getUserName
Returns the user name of this audit event.- Specified by:
getUserName
in interfaceAuditEventModel
- Returns:
- the user name of this audit event
-
getUserUuid
Returns the user uuid of this audit event.- Specified by:
getUserUuid
in interfaceAuditEventModel
- Returns:
- the user uuid of this audit event
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
setAdditionalInfo
Sets the additional info of this audit event.- Specified by:
setAdditionalInfo
in interfaceAuditEventModel
- Parameters:
additionalInfo
- the additional info of this audit event
-
setAuditEventId
public void setAuditEventId(long auditEventId) Sets the audit event ID of this audit event.- Specified by:
setAuditEventId
in interfaceAuditEventModel
- Parameters:
auditEventId
- the audit event ID of this audit event
-
setClassName
Sets the class name of this audit event.- Specified by:
setClassName
in interfaceAuditEventModel
- Parameters:
className
- the class name of this audit event
-
setClassPK
Sets the class pk of this audit event.- Specified by:
setClassPK
in interfaceAuditEventModel
- Parameters:
classPK
- the class pk of this audit event
-
setClientHost
Sets the client host of this audit event.- Specified by:
setClientHost
in interfaceAuditEventModel
- Parameters:
clientHost
- the client host of this audit event
-
setClientIP
Sets the client ip of this audit event.- Specified by:
setClientIP
in interfaceAuditEventModel
- Parameters:
clientIP
- the client ip of this audit event
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this audit event.- Specified by:
setCompanyId
in interfaceAuditEventModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Parameters:
companyId
- the company ID of this audit event
-
setCreateDate
Sets the create date of this audit event.- Specified by:
setCreateDate
in interfaceAuditEventModel
- Parameters:
createDate
- the create date of this audit event
-
setEventType
Sets the event type of this audit event.- Specified by:
setEventType
in interfaceAuditEventModel
- Parameters:
eventType
- the event type of this audit event
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this audit event.- Specified by:
setGroupId
in interfaceAuditEventModel
- Parameters:
groupId
- the group ID of this audit event
-
setMessage
Sets the message of this audit event.- Specified by:
setMessage
in interfaceAuditEventModel
- Parameters:
message
- the message of this audit event
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this audit event.- Specified by:
setPrimaryKey
in interfaceAuditEventModel
- Parameters:
primaryKey
- the primary key of this audit event
-
setServerName
Sets the server name of this audit event.- Specified by:
setServerName
in interfaceAuditEventModel
- Parameters:
serverName
- the server name of this audit event
-
setServerPort
public void setServerPort(int serverPort) Sets the server port of this audit event.- Specified by:
setServerPort
in interfaceAuditEventModel
- Parameters:
serverPort
- the server port of this audit event
-
setSessionID
Sets the session ID of this audit event.- Specified by:
setSessionID
in interfaceAuditEventModel
- Parameters:
sessionID
- the session ID of this audit event
-
setUserId
public void setUserId(long userId) Sets the user ID of this audit event.- Specified by:
setUserId
in interfaceAuditEventModel
- Parameters:
userId
- the user ID of this audit event
-
setUserName
Sets the user name of this audit event.- Specified by:
setUserName
in interfaceAuditEventModel
- Parameters:
userName
- the user name of this audit event
-
setUserUuid
Sets the user uuid of this audit event.- Specified by:
setUserUuid
in interfaceAuditEventModel
- Parameters:
userUuid
- the user uuid of this audit event
-
toXmlString
- Specified by:
toXmlString
in interfaceAuditEventModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<AuditEvent>
-