Class AnnouncementsDeliveryModelImpl

Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
com.liferay.portlet.announcements.model.impl.AnnouncementsDeliveryModelImpl
All Implemented Interfaces:
com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel, com.liferay.portal.kernel.model.BaseModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>, com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, Serializable, Cloneable, Comparable<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
Direct Known Subclasses:
AnnouncementsDeliveryBaseImpl

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

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

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

  • Constructor Details

    • AnnouncementsDeliveryModelImpl

      public AnnouncementsDeliveryModelImpl()
  • Method Details

    • getPrimaryKey

      public long getPrimaryKey()
      Specified by:
      getPrimaryKey in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Specified by:
      setPrimaryKey in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
    • getPrimaryKeyObj

      public Serializable getPrimaryKeyObj()
      Specified by:
      getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
      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.announcements.kernel.model.AnnouncementsDelivery>
      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.announcements.kernel.model.AnnouncementsDelivery>
      Overrides:
      getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
    • setModelAttributes

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

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

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

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

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

      @JSON public long getCtCollectionId()
      Specified by:
      getCtCollectionId in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Specified by:
      setCtCollectionId in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
    • getDeliveryId

      @JSON public long getDeliveryId()
      Specified by:
      getDeliveryId in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
    • setDeliveryId

      public void setDeliveryId(long deliveryId)
      Specified by:
      setDeliveryId in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
    • getCompanyId

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

      public void setCompanyId(long companyId)
      Specified by:
      setCompanyId in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
    • 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.announcements.kernel.model.AnnouncementsDeliveryModel
    • setUserId

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

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

      public void setUserUuid(String userUuid)
      Specified by:
      setUserUuid in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
    • 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.announcements.kernel.model.AnnouncementsDeliveryModel
    • setType

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

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

      @JSON public boolean getEmail()
      Specified by:
      getEmail in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
    • isEmail

      @JSON public boolean isEmail()
      Specified by:
      isEmail in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
    • setEmail

      public void setEmail(boolean email)
      Specified by:
      setEmail in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
    • getSms

      @JSON public boolean getSms()
      Specified by:
      getSms in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
    • isSms

      @JSON public boolean isSms()
      Specified by:
      isSms in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
    • setSms

      public void setSms(boolean sms)
      Specified by:
      setSms in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
    • getWebsite

      @JSON public boolean getWebsite()
      Specified by:
      getWebsite in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
    • isWebsite

      @JSON public boolean isWebsite()
      Specified by:
      isWebsite in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
    • setWebsite

      public void setWebsite(boolean website)
      Specified by:
      setWebsite in interface com.liferay.announcements.kernel.model.AnnouncementsDeliveryModel
    • 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.announcements.kernel.model.AnnouncementsDelivery>
      Specified by:
      getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModel
      Overrides:
      getExpandoBridge in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
    • setExpandoBridgeAttributes

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

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

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

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

      public int compareTo(com.liferay.announcements.kernel.model.AnnouncementsDelivery announcementsDelivery)
      Specified by:
      compareTo in interface Comparable<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
    • 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.announcements.kernel.model.AnnouncementsDelivery>
    • 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.announcements.kernel.model.AnnouncementsDelivery>
    • resetOriginalValues

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

      public com.liferay.portal.kernel.model.CacheModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery> toCacheModel()
      Specified by:
      toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
      Overrides:
      toCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.announcements.kernel.model.AnnouncementsDelivery>
    • 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)