Interface AuditEventModel

All Superinterfaces:
com.liferay.portal.kernel.model.BaseModel<AuditEvent>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, Comparable<AuditEvent>, Serializable, com.liferay.portal.kernel.model.ShardedModel
All Known Subinterfaces:
AuditEvent
All Known Implementing Classes:
AuditEventWrapper

@ProviderType public interface AuditEventModel extends com.liferay.portal.kernel.model.BaseModel<AuditEvent>, com.liferay.portal.kernel.model.ShardedModel
The base model interface for the AuditEvent service. Represents a row in the "Audit_AuditEvent" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation com.liferay.portal.security.audit.storage.model.impl.AuditEventModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portal.security.audit.storage.model.impl.AuditEventImpl.

See Also:
Generated:
  • 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
    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
    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.
    default String
     

    Methods inherited from interface com.liferay.portal.kernel.model.BaseModel

    clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, 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
  • Method Details

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this audit event.
      Returns:
      the primary key of this audit event
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this audit event.
      Parameters:
      primaryKey - the primary key of this audit event
    • getAuditEventId

      long getAuditEventId()
      Returns the audit event ID of this audit event.
      Returns:
      the audit event ID of this audit event
    • setAuditEventId

      void setAuditEventId(long auditEventId)
      Sets the audit event ID of this audit event.
      Parameters:
      auditEventId - the audit event ID of this audit event
    • getGroupId

      long getGroupId()
      Returns the group ID of this audit event.
      Returns:
      the group ID of this audit event
    • setGroupId

      void setGroupId(long groupId)
      Sets the group ID of this audit event.
      Parameters:
      groupId - the group ID of this audit event
    • getCompanyId

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

      void setCompanyId(long companyId)
      Sets the company ID of this audit event.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this audit event
    • getUserId

      long getUserId()
      Returns the user ID of this audit event.
      Returns:
      the user ID of this audit event
    • setUserId

      void setUserId(long userId)
      Sets the user ID of this audit event.
      Parameters:
      userId - the user ID of this audit event
    • getUserUuid

      String getUserUuid()
      Returns the user uuid of this audit event.
      Returns:
      the user uuid of this audit event
    • setUserUuid

      void setUserUuid(String userUuid)
      Sets the user uuid of this audit event.
      Parameters:
      userUuid - the user uuid of this audit event
    • getUserName

      @AutoEscape String getUserName()
      Returns the user name of this audit event.
      Returns:
      the user name of this audit event
    • setUserName

      void setUserName(String userName)
      Sets the user name of this audit event.
      Parameters:
      userName - the user name of this audit event
    • getCreateDate

      Date getCreateDate()
      Returns the create date of this audit event.
      Returns:
      the create date of this audit event
    • setCreateDate

      void setCreateDate(Date createDate)
      Sets the create date of this audit event.
      Parameters:
      createDate - the create date of this audit event
    • getEventType

      @AutoEscape String getEventType()
      Returns the event type of this audit event.
      Returns:
      the event type of this audit event
    • setEventType

      void setEventType(String eventType)
      Sets the event type of this audit event.
      Parameters:
      eventType - the event type of this audit event
    • getClassName

      @AutoEscape String getClassName()
      Returns the class name of this audit event.
      Returns:
      the class name of this audit event
    • setClassName

      void setClassName(String className)
      Sets the class name of this audit event.
      Parameters:
      className - the class name of this audit event
    • getClassPK

      @AutoEscape String getClassPK()
      Returns the class pk of this audit event.
      Returns:
      the class pk of this audit event
    • setClassPK

      void setClassPK(String classPK)
      Sets the class pk of this audit event.
      Parameters:
      classPK - the class pk of this audit event
    • getMessage

      @AutoEscape String getMessage()
      Returns the message of this audit event.
      Returns:
      the message of this audit event
    • setMessage

      void setMessage(String message)
      Sets the message of this audit event.
      Parameters:
      message - the message of this audit event
    • getClientHost

      @AutoEscape String getClientHost()
      Returns the client host of this audit event.
      Returns:
      the client host of this audit event
    • setClientHost

      void setClientHost(String clientHost)
      Sets the client host of this audit event.
      Parameters:
      clientHost - the client host of this audit event
    • getClientIP

      @AutoEscape String getClientIP()
      Returns the client ip of this audit event.
      Returns:
      the client ip of this audit event
    • setClientIP

      void setClientIP(String clientIP)
      Sets the client ip of this audit event.
      Parameters:
      clientIP - the client ip of this audit event
    • getServerName

      @AutoEscape String getServerName()
      Returns the server name of this audit event.
      Returns:
      the server name of this audit event
    • setServerName

      void setServerName(String serverName)
      Sets the server name of this audit event.
      Parameters:
      serverName - the server name of this audit event
    • getServerPort

      int getServerPort()
      Returns the server port of this audit event.
      Returns:
      the server port of this audit event
    • setServerPort

      void setServerPort(int serverPort)
      Sets the server port of this audit event.
      Parameters:
      serverPort - the server port of this audit event
    • getSessionID

      @AutoEscape String getSessionID()
      Returns the session ID of this audit event.
      Returns:
      the session ID of this audit event
    • setSessionID

      void setSessionID(String sessionID)
      Sets the session ID of this audit event.
      Parameters:
      sessionID - the session ID of this audit event
    • getAdditionalInfo

      @AutoEscape String getAdditionalInfo()
      Returns the additional info of this audit event.
      Returns:
      the additional info of this audit event
    • setAdditionalInfo

      void setAdditionalInfo(String additionalInfo)
      Sets the additional info of this audit event.
      Parameters:
      additionalInfo - the additional info of this audit event
    • cloneWithOriginalValues

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

      default String toXmlString()