Class UserNotificationEventModelImpl

Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
com.liferay.portal.model.impl.UserNotificationEventModelImpl
All Implemented Interfaces:
com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.UserNotificationEvent>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.UserNotificationEventModel, Serializable, Cloneable, Comparable<com.liferay.portal.kernel.model.UserNotificationEvent>
Direct Known Subclasses:
UserNotificationEventBaseImpl

@JSON(strict=true) public class UserNotificationEventModelImpl extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.UserNotificationEvent> implements com.liferay.portal.kernel.model.UserNotificationEventModel
The base model implementation for the UserNotificationEvent service. Represents a row in the "UserNotificationEvent" database table, with each column mapped to a property of this class.

This implementation and its corresponding interface UserNotificationEventModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in UserNotificationEventImpl.

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

  • Constructor Details

    • UserNotificationEventModelImpl

      public UserNotificationEventModelImpl()
  • Method Details

    • getPrimaryKey

      public long getPrimaryKey()
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.UserNotificationEventModel
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.UserNotificationEventModel
    • getPrimaryKeyObj

      public Serializable getPrimaryKeyObj()
      Specified by:
      getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.UserNotificationEvent>
      Specified by:
      getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel
    • setPrimaryKeyObj

      public void setPrimaryKeyObj(Serializable primaryKeyObj)
      Specified by:
      setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.UserNotificationEvent>
      Specified by:
      setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel
    • getModelClass

      public Class<?> getModelClass()
      Specified by:
      getModelClass in interface com.liferay.portal.kernel.model.ClassedModel
    • getModelClassName

      public String getModelClassName()
      Specified by:
      getModelClassName in interface com.liferay.portal.kernel.model.ClassedModel
    • getModelAttributes

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

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.UserNotificationEvent>
      Overrides:
      setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
    • getAttributeGetterFunctions

      public Map<String,Function<com.liferay.portal.kernel.model.UserNotificationEvent,Object>> getAttributeGetterFunctions()
      Specified by:
      getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.UserNotificationEvent>
    • getAttributeSetterBiConsumers

      public Map<String,BiConsumer<com.liferay.portal.kernel.model.UserNotificationEvent,Object>> getAttributeSetterBiConsumers()
      Specified by:
      getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.UserNotificationEvent>
    • getMvccVersion

      @JSON public long getMvccVersion()
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.UserNotificationEventModel
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.UserNotificationEventModel
    • getUuid

      @JSON public String getUuid()
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.UserNotificationEventModel
    • setUuid

      public void setUuid(String uuid)
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.UserNotificationEventModel
    • getOriginalUuid

      @Deprecated public String getOriginalUuid()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getUserNotificationEventId

      @JSON public long getUserNotificationEventId()
      Specified by:
      getUserNotificationEventId in interface com.liferay.portal.kernel.model.UserNotificationEventModel
    • setUserNotificationEventId

      public void setUserNotificationEventId(long userNotificationEventId)
      Specified by:
      setUserNotificationEventId in interface com.liferay.portal.kernel.model.UserNotificationEventModel
    • getCompanyId

      @JSON public long getCompanyId()
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.UserNotificationEventModel
    • setCompanyId

      public void setCompanyId(long companyId)
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.UserNotificationEventModel
    • getOriginalCompanyId

      @Deprecated public long getOriginalCompanyId()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getUserId

      @JSON public long getUserId()
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.UserNotificationEventModel
    • setUserId

      public void setUserId(long userId)
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.UserNotificationEventModel
    • getUserUuid

      public String getUserUuid()
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.UserNotificationEventModel
    • setUserUuid

      public void setUserUuid(String userUuid)
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.UserNotificationEventModel
    • getOriginalUserId

      @Deprecated public long getOriginalUserId()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getType

      @JSON public String getType()
      Specified by:
      getType in interface com.liferay.portal.kernel.model.UserNotificationEventModel
    • setType

      public void setType(String type)
      Specified by:
      setType in interface com.liferay.portal.kernel.model.UserNotificationEventModel
    • getOriginalType

      @Deprecated public String getOriginalType()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getTimestamp

      @JSON public long getTimestamp()
      Specified by:
      getTimestamp in interface com.liferay.portal.kernel.model.UserNotificationEventModel
    • setTimestamp

      public void setTimestamp(long timestamp)
      Specified by:
      setTimestamp in interface com.liferay.portal.kernel.model.UserNotificationEventModel
    • getOriginalTimestamp

      @Deprecated public long getOriginalTimestamp()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getDeliveryType

      @JSON public int getDeliveryType()
      Specified by:
      getDeliveryType in interface com.liferay.portal.kernel.model.UserNotificationEventModel
    • setDeliveryType

      public void setDeliveryType(int deliveryType)
      Specified by:
      setDeliveryType in interface com.liferay.portal.kernel.model.UserNotificationEventModel
    • getOriginalDeliveryType

      @Deprecated public int getOriginalDeliveryType()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getDeliverBy

      @JSON public long getDeliverBy()
      Specified by:
      getDeliverBy in interface com.liferay.portal.kernel.model.UserNotificationEventModel
    • setDeliverBy

      public void setDeliverBy(long deliverBy)
      Specified by:
      setDeliverBy in interface com.liferay.portal.kernel.model.UserNotificationEventModel
    • getDelivered

      @JSON public boolean getDelivered()
      Specified by:
      getDelivered in interface com.liferay.portal.kernel.model.UserNotificationEventModel
    • isDelivered

      @JSON public boolean isDelivered()
      Specified by:
      isDelivered in interface com.liferay.portal.kernel.model.UserNotificationEventModel
    • setDelivered

      public void setDelivered(boolean delivered)
      Specified by:
      setDelivered in interface com.liferay.portal.kernel.model.UserNotificationEventModel
    • getOriginalDelivered

      @Deprecated public boolean getOriginalDelivered()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getPayload

      @JSON public String getPayload()
      Specified by:
      getPayload in interface com.liferay.portal.kernel.model.UserNotificationEventModel
    • setPayload

      public void setPayload(String payload)
      Specified by:
      setPayload in interface com.liferay.portal.kernel.model.UserNotificationEventModel
    • getActionRequired

      @JSON public boolean getActionRequired()
      Specified by:
      getActionRequired in interface com.liferay.portal.kernel.model.UserNotificationEventModel
    • isActionRequired

      @JSON public boolean isActionRequired()
      Specified by:
      isActionRequired in interface com.liferay.portal.kernel.model.UserNotificationEventModel
    • setActionRequired

      public void setActionRequired(boolean actionRequired)
      Specified by:
      setActionRequired in interface com.liferay.portal.kernel.model.UserNotificationEventModel
    • getOriginalActionRequired

      @Deprecated public boolean getOriginalActionRequired()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getArchived

      @JSON public boolean getArchived()
      Specified by:
      getArchived in interface com.liferay.portal.kernel.model.UserNotificationEventModel
    • isArchived

      @JSON public boolean isArchived()
      Specified by:
      isArchived in interface com.liferay.portal.kernel.model.UserNotificationEventModel
    • setArchived

      public void setArchived(boolean archived)
      Specified by:
      setArchived in interface com.liferay.portal.kernel.model.UserNotificationEventModel
    • getOriginalArchived

      @Deprecated public boolean getOriginalArchived()
      Deprecated.
      As of Athanasius (7.3.x), replaced by getColumnOriginalValue(String)
    • getColumnBitmask

      public long getColumnBitmask()
    • getExpandoBridge

      public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
      Specified by:
      getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.UserNotificationEvent>
      Specified by:
      getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModel
      Overrides:
      getExpandoBridge in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
    • setExpandoBridgeAttributes

      public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
      Specified by:
      setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.UserNotificationEvent>
      Overrides:
      setExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
    • toEscapedModel

      public com.liferay.portal.kernel.model.UserNotificationEvent toEscapedModel()
      Specified by:
      toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.UserNotificationEvent>
      Overrides:
      toEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
    • clone

      public Object clone()
      Specified by:
      clone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.UserNotificationEvent>
      Specified by:
      clone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
    • cloneWithOriginalValues

      public com.liferay.portal.kernel.model.UserNotificationEvent cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.UserNotificationEvent>
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.UserNotificationEventModel
    • compareTo

      public int compareTo(com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent)
      Specified by:
      compareTo in interface Comparable<com.liferay.portal.kernel.model.UserNotificationEvent>
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • isEntityCacheEnabled

      @Deprecated public boolean isEntityCacheEnabled()
      Deprecated.
      As of Athanasius (7.3.x), with no direct replacement
      Specified by:
      isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.UserNotificationEvent>
    • isFinderCacheEnabled

      @Deprecated public boolean isFinderCacheEnabled()
      Deprecated.
      As of Athanasius (7.3.x), with no direct replacement
      Specified by:
      isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.UserNotificationEvent>
    • resetOriginalValues

      public void resetOriginalValues()
      Specified by:
      resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.UserNotificationEvent>
      Overrides:
      resetOriginalValues in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
    • toCacheModel

      public com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.UserNotificationEvent> toCacheModel()
      Specified by:
      toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.UserNotificationEvent>
      Overrides:
      toCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getColumnValue

      public <T> T getColumnValue(String columnName)
    • getColumnOriginalValue

      public <T> T getColumnOriginalValue(String columnName)
    • getColumnBitmask

      public static long getColumnBitmask(String columnName)