Class AnnouncementsFlagModelImpl

Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.announcements.kernel.model.AnnouncementsFlag>
com.liferay.portlet.announcements.model.impl.AnnouncementsFlagModelImpl
All Implemented Interfaces:
com.liferay.announcements.kernel.model.AnnouncementsFlagModel, com.liferay.portal.kernel.model.BaseModel<com.liferay.announcements.kernel.model.AnnouncementsFlag>, com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.announcements.kernel.model.AnnouncementsFlag>, 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.AnnouncementsFlag>
Direct Known Subclasses:
AnnouncementsFlagBaseImpl

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

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

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

  • Constructor Details

    • AnnouncementsFlagModelImpl

      public AnnouncementsFlagModelImpl()
  • Method Details

    • getPrimaryKey

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

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

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

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

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

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

      @JSON public long getMvccVersion()
      Specified by:
      getMvccVersion in interface com.liferay.announcements.kernel.model.AnnouncementsFlagModel
      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.AnnouncementsFlagModel
      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.AnnouncementsFlagModel
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.announcements.kernel.model.AnnouncementsFlag>
    • setCtCollectionId

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

      @JSON public long getFlagId()
      Specified by:
      getFlagId in interface com.liferay.announcements.kernel.model.AnnouncementsFlagModel
    • setFlagId

      public void setFlagId(long flagId)
      Specified by:
      setFlagId in interface com.liferay.announcements.kernel.model.AnnouncementsFlagModel
    • getCompanyId

      @JSON public long getCompanyId()
      Specified by:
      getCompanyId in interface com.liferay.announcements.kernel.model.AnnouncementsFlagModel
      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.AnnouncementsFlagModel
      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.AnnouncementsFlagModel
    • setUserId

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

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

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

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

      @JSON public Date getCreateDate()
      Specified by:
      getCreateDate in interface com.liferay.announcements.kernel.model.AnnouncementsFlagModel
    • setCreateDate

      public void setCreateDate(Date createDate)
      Specified by:
      setCreateDate in interface com.liferay.announcements.kernel.model.AnnouncementsFlagModel
    • getEntryId

      @JSON public long getEntryId()
      Specified by:
      getEntryId in interface com.liferay.announcements.kernel.model.AnnouncementsFlagModel
    • setEntryId

      public void setEntryId(long entryId)
      Specified by:
      setEntryId in interface com.liferay.announcements.kernel.model.AnnouncementsFlagModel
    • getOriginalEntryId

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

      @JSON public int getValue()
      Specified by:
      getValue in interface com.liferay.announcements.kernel.model.AnnouncementsFlagModel
    • setValue

      public void setValue(int value)
      Specified by:
      setValue in interface com.liferay.announcements.kernel.model.AnnouncementsFlagModel
    • getOriginalValue

      @Deprecated public int getOriginalValue()
      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.announcements.kernel.model.AnnouncementsFlag>
      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.AnnouncementsFlag>
    • 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.AnnouncementsFlag>
      Overrides:
      setExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.announcements.kernel.model.AnnouncementsFlag>
    • toEscapedModel

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

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

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

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

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

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