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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Returns 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
     
    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
     
    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.
     
    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

      public AuditEventWrapper(AuditEvent auditEvent)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<AuditEvent>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<AuditEvent>
    • cloneWithOriginalValues

      public AuditEvent cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface AuditEventModel
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<AuditEvent>
    • getAdditionalInfo

      public String getAdditionalInfo()
      Returns the additional info of this audit event.
      Specified by:
      getAdditionalInfo in interface AuditEventModel
      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 interface AuditEventModel
      Returns:
      the audit event ID of this audit event
    • getClassName

      public String getClassName()
      Returns the class name of this audit event.
      Specified by:
      getClassName in interface AuditEventModel
      Returns:
      the class name of this audit event
    • getClassPK

      public String getClassPK()
      Returns the class pk of this audit event.
      Specified by:
      getClassPK in interface AuditEventModel
      Returns:
      the class pk of this audit event
    • getClientHost

      public String getClientHost()
      Returns the client host of this audit event.
      Specified by:
      getClientHost in interface AuditEventModel
      Returns:
      the client host of this audit event
    • getClientIP

      public String getClientIP()
      Returns the client ip of this audit event.
      Specified by:
      getClientIP in interface AuditEventModel
      Returns:
      the client ip of this audit event
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this audit event.
      Specified by:
      getCompanyId in interface AuditEventModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this audit event
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this audit event.
      Specified by:
      getCreateDate in interface AuditEventModel
      Returns:
      the create date of this audit event
    • getEventType

      public String getEventType()
      Returns the event type of this audit event.
      Specified by:
      getEventType in interface AuditEventModel
      Returns:
      the event type of this audit event
    • getGroupId

      public long getGroupId()
      Returns the group ID of this audit event.
      Specified by:
      getGroupId in interface AuditEventModel
      Returns:
      the group ID of this audit event
    • getMessage

      public String getMessage()
      Returns the message of this audit event.
      Specified by:
      getMessage in interface AuditEventModel
      Returns:
      the message of this audit event
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this audit event.
      Specified by:
      getPrimaryKey in interface AuditEventModel
      Returns:
      the primary key of this audit event
    • getServerName

      public String getServerName()
      Returns the server name of this audit event.
      Specified by:
      getServerName in interface AuditEventModel
      Returns:
      the server name of this audit event
    • getServerPort

      public int getServerPort()
      Returns the server port of this audit event.
      Specified by:
      getServerPort in interface AuditEventModel
      Returns:
      the server port of this audit event
    • getSessionID

      public String getSessionID()
      Returns the session ID of this audit event.
      Specified by:
      getSessionID in interface AuditEventModel
      Returns:
      the session ID of this audit event
    • getUserId

      public long getUserId()
      Returns the user ID of this audit event.
      Specified by:
      getUserId in interface AuditEventModel
      Returns:
      the user ID of this audit event
    • getUserName

      public String getUserName()
      Returns the user name of this audit event.
      Specified by:
      getUserName in interface AuditEventModel
      Returns:
      the user name of this audit event
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this audit event.
      Specified by:
      getUserUuid in interface AuditEventModel
      Returns:
      the user uuid of this audit event
    • persist

      public void persist()
      Specified by:
      persist in interface com.liferay.portal.kernel.model.PersistedModel
    • setAdditionalInfo

      public void setAdditionalInfo(String additionalInfo)
      Sets the additional info of this audit event.
      Specified by:
      setAdditionalInfo in interface AuditEventModel
      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 interface AuditEventModel
      Parameters:
      auditEventId - the audit event ID of this audit event
    • setClassName

      public void setClassName(String className)
      Sets the class name of this audit event.
      Specified by:
      setClassName in interface AuditEventModel
      Parameters:
      className - the class name of this audit event
    • setClassPK

      public void setClassPK(String classPK)
      Sets the class pk of this audit event.
      Specified by:
      setClassPK in interface AuditEventModel
      Parameters:
      classPK - the class pk of this audit event
    • setClientHost

      public void setClientHost(String clientHost)
      Sets the client host of this audit event.
      Specified by:
      setClientHost in interface AuditEventModel
      Parameters:
      clientHost - the client host of this audit event
    • setClientIP

      public void setClientIP(String clientIP)
      Sets the client ip of this audit event.
      Specified by:
      setClientIP in interface AuditEventModel
      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 interface AuditEventModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this audit event
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this audit event.
      Specified by:
      setCreateDate in interface AuditEventModel
      Parameters:
      createDate - the create date of this audit event
    • setEventType

      public void setEventType(String eventType)
      Sets the event type of this audit event.
      Specified by:
      setEventType in interface AuditEventModel
      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 interface AuditEventModel
      Parameters:
      groupId - the group ID of this audit event
    • setMessage

      public void setMessage(String message)
      Sets the message of this audit event.
      Specified by:
      setMessage in interface AuditEventModel
      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 interface AuditEventModel
      Parameters:
      primaryKey - the primary key of this audit event
    • setServerName

      public void setServerName(String serverName)
      Sets the server name of this audit event.
      Specified by:
      setServerName in interface AuditEventModel
      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 interface AuditEventModel
      Parameters:
      serverPort - the server port of this audit event
    • setSessionID

      public void setSessionID(String sessionID)
      Sets the session ID of this audit event.
      Specified by:
      setSessionID in interface AuditEventModel
      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 interface AuditEventModel
      Parameters:
      userId - the user ID of this audit event
    • setUserName

      public void setUserName(String userName)
      Sets the user name of this audit event.
      Specified by:
      setUserName in interface AuditEventModel
      Parameters:
      userName - the user name of this audit event
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this audit event.
      Specified by:
      setUserUuid in interface AuditEventModel
      Parameters:
      userUuid - the user uuid of this audit event
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface AuditEventModel
    • wrap

      protected AuditEventWrapper wrap(AuditEvent auditEvent)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<AuditEvent>