Interface AnnouncementsFlagModel

All Superinterfaces:
BaseModel<AnnouncementsFlag>, ClassedModel, Cloneable, Comparable<AnnouncementsFlag>, CTModel<AnnouncementsFlag>, MVCCModel, Serializable, ShardedModel
All Known Subinterfaces:
AnnouncementsFlag
All Known Implementing Classes:
AnnouncementsFlagWrapper

@ProviderType public interface AnnouncementsFlagModel extends BaseModel<AnnouncementsFlag>, CTModel<AnnouncementsFlag>, MVCCModel, ShardedModel
The base model interface for the AnnouncementsFlag service. Represents a row in the "AnnouncementsFlag" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation com.liferay.portlet.announcements.model.impl.AnnouncementsFlagModelImpl 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.portlet.announcements.model.impl.AnnouncementsFlagImpl.

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

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this announcements flag.
      Specified by:
      getPrimaryKey in interface CTModel<AnnouncementsFlag>
      Returns:
      the primary key of this announcements flag
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this announcements flag.
      Specified by:
      setPrimaryKey in interface CTModel<AnnouncementsFlag>
      Parameters:
      primaryKey - the primary key of this announcements flag
    • getMvccVersion

      long getMvccVersion()
      Returns the mvcc version of this announcements flag.
      Specified by:
      getMvccVersion in interface MVCCModel
      Returns:
      the mvcc version of this announcements flag
    • setMvccVersion

      void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this announcements flag.
      Specified by:
      setMvccVersion in interface MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this announcements flag
    • getCtCollectionId

      long getCtCollectionId()
      Returns the ct collection ID of this announcements flag.
      Specified by:
      getCtCollectionId in interface CTModel<AnnouncementsFlag>
      Returns:
      the ct collection ID of this announcements flag
    • setCtCollectionId

      void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this announcements flag.
      Specified by:
      setCtCollectionId in interface CTModel<AnnouncementsFlag>
      Parameters:
      ctCollectionId - the ct collection ID of this announcements flag
    • getFlagId

      long getFlagId()
      Returns the flag ID of this announcements flag.
      Returns:
      the flag ID of this announcements flag
    • setFlagId

      void setFlagId(long flagId)
      Sets the flag ID of this announcements flag.
      Parameters:
      flagId - the flag ID of this announcements flag
    • getCompanyId

      long getCompanyId()
      Returns the company ID of this announcements flag.
      Specified by:
      getCompanyId in interface ShardedModel
      Returns:
      the company ID of this announcements flag
    • setCompanyId

      void setCompanyId(long companyId)
      Sets the company ID of this announcements flag.
      Specified by:
      setCompanyId in interface ShardedModel
      Parameters:
      companyId - the company ID of this announcements flag
    • getUserId

      long getUserId()
      Returns the user ID of this announcements flag.
      Returns:
      the user ID of this announcements flag
    • setUserId

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

      String getUserUuid()
      Returns the user uuid of this announcements flag.
      Returns:
      the user uuid of this announcements flag
    • setUserUuid

      void setUserUuid(String userUuid)
      Sets the user uuid of this announcements flag.
      Parameters:
      userUuid - the user uuid of this announcements flag
    • getCreateDate

      Date getCreateDate()
      Returns the create date of this announcements flag.
      Returns:
      the create date of this announcements flag
    • setCreateDate

      void setCreateDate(Date createDate)
      Sets the create date of this announcements flag.
      Parameters:
      createDate - the create date of this announcements flag
    • getEntryId

      long getEntryId()
      Returns the entry ID of this announcements flag.
      Returns:
      the entry ID of this announcements flag
    • setEntryId

      void setEntryId(long entryId)
      Sets the entry ID of this announcements flag.
      Parameters:
      entryId - the entry ID of this announcements flag
    • getValue

      int getValue()
      Returns the value of this announcements flag.
      Returns:
      the value of this announcements flag
    • setValue

      void setValue(int value)
      Sets the value of this announcements flag.
      Parameters:
      value - the value of this announcements flag
    • cloneWithOriginalValues

      AnnouncementsFlag cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface BaseModel<AnnouncementsFlag>
    • toXmlString

      default String toXmlString()