Class SystemEventWrapper

Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<SystemEvent>
com.liferay.portal.kernel.model.SystemEventWrapper
All Implemented Interfaces:
AttachedModel, BaseModel<SystemEvent>, CTModel<SystemEvent>, ClassedModel, ModelWrapper<SystemEvent>, MVCCModel, PersistedModel, ShardedModel, SystemEvent, SystemEventModel, TypedModel, Serializable, Cloneable, Comparable<SystemEvent>

public class SystemEventWrapper extends BaseModelWrapper<SystemEvent> implements ModelWrapper<SystemEvent>, SystemEvent

This class is a wrapper for SystemEvent.

Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Constructor Details

    • SystemEventWrapper

      public SystemEventWrapper(SystemEvent systemEvent)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface BaseModel<SystemEvent>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface BaseModel<SystemEvent>
    • cloneWithOriginalValues

      public SystemEvent cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface BaseModel<SystemEvent>
      Specified by:
      cloneWithOriginalValues in interface SystemEventModel
    • getClassName

      public String getClassName()
      Returns the fully qualified class name of this system event.
      Specified by:
      getClassName in interface SystemEventModel
      Specified by:
      getClassName in interface TypedModel
      Returns:
      the fully qualified class name of this system event
    • getClassNameId

      public long getClassNameId()
      Returns the class name ID of this system event.
      Specified by:
      getClassNameId in interface SystemEventModel
      Specified by:
      getClassNameId in interface TypedModel
      Returns:
      the class name ID of this system event
    • getClassPK

      public long getClassPK()
      Returns the class pk of this system event.
      Specified by:
      getClassPK in interface AttachedModel
      Specified by:
      getClassPK in interface SystemEventModel
      Returns:
      the class pk of this system event
    • getClassUuid

      public String getClassUuid()
      Returns the class uuid of this system event.
      Specified by:
      getClassUuid in interface SystemEventModel
      Returns:
      the class uuid of this system event
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this system event.
      Specified by:
      getCompanyId in interface ShardedModel
      Specified by:
      getCompanyId in interface SystemEventModel
      Returns:
      the company ID of this system event
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this system event.
      Specified by:
      getCreateDate in interface SystemEventModel
      Returns:
      the create date of this system event
    • getCtCollectionId

      public long getCtCollectionId()
      Returns the ct collection ID of this system event.
      Specified by:
      getCtCollectionId in interface CTModel<SystemEvent>
      Specified by:
      getCtCollectionId in interface SystemEventModel
      Returns:
      the ct collection ID of this system event
    • getExtraData

      public String getExtraData()
      Returns the extra data of this system event.
      Specified by:
      getExtraData in interface SystemEventModel
      Returns:
      the extra data of this system event
    • getGroupId

      public long getGroupId()
      Returns the group ID of this system event.
      Specified by:
      getGroupId in interface SystemEventModel
      Returns:
      the group ID of this system event
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this system event.
      Specified by:
      getMvccVersion in interface MVCCModel
      Specified by:
      getMvccVersion in interface SystemEventModel
      Returns:
      the mvcc version of this system event
    • getParentSystemEventId

      public long getParentSystemEventId()
      Returns the parent system event ID of this system event.
      Specified by:
      getParentSystemEventId in interface SystemEventModel
      Returns:
      the parent system event ID of this system event
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this system event.
      Specified by:
      getPrimaryKey in interface CTModel<SystemEvent>
      Specified by:
      getPrimaryKey in interface SystemEventModel
      Returns:
      the primary key of this system event
    • getReferrerClassName

      public String getReferrerClassName()
      Specified by:
      getReferrerClassName in interface SystemEvent
    • getReferrerClassNameId

      public long getReferrerClassNameId()
      Returns the referrer class name ID of this system event.
      Specified by:
      getReferrerClassNameId in interface SystemEventModel
      Returns:
      the referrer class name ID of this system event
    • getSystemEventId

      public long getSystemEventId()
      Returns the system event ID of this system event.
      Specified by:
      getSystemEventId in interface SystemEventModel
      Returns:
      the system event ID of this system event
    • getSystemEventSetKey

      public long getSystemEventSetKey()
      Returns the system event set key of this system event.
      Specified by:
      getSystemEventSetKey in interface SystemEventModel
      Returns:
      the system event set key of this system event
    • getType

      public int getType()
      Returns the type of this system event.
      Specified by:
      getType in interface SystemEventModel
      Returns:
      the type of this system event
    • getUserId

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

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

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

      public void persist()
      Description copied from interface: PersistedModel
      Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
      Specified by:
      persist in interface PersistedModel
    • setClassName

      public void setClassName(String className)
      Specified by:
      setClassName in interface SystemEventModel
    • setClassNameId

      public void setClassNameId(long classNameId)
      Sets the class name ID of this system event.
      Specified by:
      setClassNameId in interface SystemEventModel
      Specified by:
      setClassNameId in interface TypedModel
      Parameters:
      classNameId - the class name ID of this system event
    • setClassPK

      public void setClassPK(long classPK)
      Sets the class pk of this system event.
      Specified by:
      setClassPK in interface AttachedModel
      Specified by:
      setClassPK in interface SystemEventModel
      Parameters:
      classPK - the class pk of this system event
    • setClassUuid

      public void setClassUuid(String classUuid)
      Sets the class uuid of this system event.
      Specified by:
      setClassUuid in interface SystemEventModel
      Parameters:
      classUuid - the class uuid of this system event
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this system event.
      Specified by:
      setCompanyId in interface ShardedModel
      Specified by:
      setCompanyId in interface SystemEventModel
      Parameters:
      companyId - the company ID of this system event
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this system event.
      Specified by:
      setCreateDate in interface SystemEventModel
      Parameters:
      createDate - the create date of this system event
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this system event.
      Specified by:
      setCtCollectionId in interface CTModel<SystemEvent>
      Specified by:
      setCtCollectionId in interface SystemEventModel
      Parameters:
      ctCollectionId - the ct collection ID of this system event
    • setExtraData

      public void setExtraData(String extraData)
      Sets the extra data of this system event.
      Specified by:
      setExtraData in interface SystemEventModel
      Parameters:
      extraData - the extra data of this system event
    • setGroupId

      public void setGroupId(long groupId)
      Sets the group ID of this system event.
      Specified by:
      setGroupId in interface SystemEventModel
      Parameters:
      groupId - the group ID of this system event
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this system event.
      Specified by:
      setMvccVersion in interface MVCCModel
      Specified by:
      setMvccVersion in interface SystemEventModel
      Parameters:
      mvccVersion - the mvcc version of this system event
    • setParentSystemEventId

      public void setParentSystemEventId(long parentSystemEventId)
      Sets the parent system event ID of this system event.
      Specified by:
      setParentSystemEventId in interface SystemEventModel
      Parameters:
      parentSystemEventId - the parent system event ID of this system event
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this system event.
      Specified by:
      setPrimaryKey in interface CTModel<SystemEvent>
      Specified by:
      setPrimaryKey in interface SystemEventModel
      Parameters:
      primaryKey - the primary key of this system event
    • setReferrerClassName

      public void setReferrerClassName(String referrerClassName)
      Specified by:
      setReferrerClassName in interface SystemEvent
    • setReferrerClassNameId

      public void setReferrerClassNameId(long referrerClassNameId)
      Sets the referrer class name ID of this system event.
      Specified by:
      setReferrerClassNameId in interface SystemEventModel
      Parameters:
      referrerClassNameId - the referrer class name ID of this system event
    • setSystemEventId

      public void setSystemEventId(long systemEventId)
      Sets the system event ID of this system event.
      Specified by:
      setSystemEventId in interface SystemEventModel
      Parameters:
      systemEventId - the system event ID of this system event
    • setSystemEventSetKey

      public void setSystemEventSetKey(long systemEventSetKey)
      Sets the system event set key of this system event.
      Specified by:
      setSystemEventSetKey in interface SystemEventModel
      Parameters:
      systemEventSetKey - the system event set key of this system event
    • setType

      public void setType(int type)
      Sets the type of this system event.
      Specified by:
      setType in interface SystemEventModel
      Parameters:
      type - the type of this system event
    • setUserId

      public void setUserId(long userId)
      Sets the user ID of this system event.
      Specified by:
      setUserId in interface SystemEventModel
      Parameters:
      userId - the user ID of this system event
    • setUserName

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

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

      public String toXmlString()
      Specified by:
      toXmlString in interface SystemEventModel
    • getAttributeGetterFunctions

      public Map<String,Function<SystemEvent,Object>> getAttributeGetterFunctions()
      Specified by:
      getAttributeGetterFunctions in interface BaseModel<SystemEvent>
    • getAttributeSetterBiConsumers

      public Map<String,BiConsumer<SystemEvent,Object>> getAttributeSetterBiConsumers()
      Specified by:
      getAttributeSetterBiConsumers in interface BaseModel<SystemEvent>
    • wrap

      protected SystemEventWrapper wrap(SystemEvent systemEvent)
      Specified by:
      wrap in class BaseModelWrapper<SystemEvent>