Interface AnnouncementsEntryModel

All Superinterfaces:
AttachedModel, AuditedModel, BaseModel<AnnouncementsEntry>, ClassedModel, Cloneable, Comparable<AnnouncementsEntry>, CTModel<AnnouncementsEntry>, MVCCModel, Serializable, ShardedModel, StagedAuditedModel, StagedModel, TypedModel
All Known Subinterfaces:
AnnouncementsEntry
All Known Implementing Classes:
AnnouncementsEntryWrapper

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

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

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

    • getPrimaryKey

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

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

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

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

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

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

      @AutoEscape String getUuid()
      Returns the uuid of this announcements entry.
      Specified by:
      getUuid in interface StagedModel
      Returns:
      the uuid of this announcements entry
    • setUuid

      void setUuid(String uuid)
      Sets the uuid of this announcements entry.
      Specified by:
      setUuid in interface StagedModel
      Parameters:
      uuid - the uuid of this announcements entry
    • getEntryId

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

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

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

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

      long getUserId()
      Returns the user ID of this announcements entry.
      Specified by:
      getUserId in interface AuditedModel
      Returns:
      the user ID of this announcements entry
    • setUserId

      void setUserId(long userId)
      Sets the user ID of this announcements entry.
      Specified by:
      setUserId in interface AuditedModel
      Parameters:
      userId - the user ID of this announcements entry
    • getUserUuid

      String getUserUuid()
      Returns the user uuid of this announcements entry.
      Specified by:
      getUserUuid in interface AuditedModel
      Returns:
      the user uuid of this announcements entry
    • setUserUuid

      void setUserUuid(String userUuid)
      Sets the user uuid of this announcements entry.
      Specified by:
      setUserUuid in interface AuditedModel
      Parameters:
      userUuid - the user uuid of this announcements entry
    • getUserName

      @AutoEscape String getUserName()
      Returns the user name of this announcements entry.
      Specified by:
      getUserName in interface AuditedModel
      Returns:
      the user name of this announcements entry
    • setUserName

      void setUserName(String userName)
      Sets the user name of this announcements entry.
      Specified by:
      setUserName in interface AuditedModel
      Parameters:
      userName - the user name of this announcements entry
    • getCreateDate

      Date getCreateDate()
      Returns the create date of this announcements entry.
      Specified by:
      getCreateDate in interface AuditedModel
      Specified by:
      getCreateDate in interface StagedModel
      Returns:
      the create date of this announcements entry
    • setCreateDate

      void setCreateDate(Date createDate)
      Sets the create date of this announcements entry.
      Specified by:
      setCreateDate in interface AuditedModel
      Specified by:
      setCreateDate in interface StagedModel
      Parameters:
      createDate - the create date of this announcements entry
    • getModifiedDate

      Date getModifiedDate()
      Returns the modified date of this announcements entry.
      Specified by:
      getModifiedDate in interface AuditedModel
      Specified by:
      getModifiedDate in interface StagedModel
      Returns:
      the modified date of this announcements entry
    • setModifiedDate

      void setModifiedDate(Date modifiedDate)
      Sets the modified date of this announcements entry.
      Specified by:
      setModifiedDate in interface AuditedModel
      Specified by:
      setModifiedDate in interface StagedModel
      Parameters:
      modifiedDate - the modified date of this announcements entry
    • getClassName

      String getClassName()
      Returns the fully qualified class name of this announcements entry.
      Specified by:
      getClassName in interface TypedModel
      Returns:
      the fully qualified class name of this announcements entry
    • setClassName

      void setClassName(String className)
    • getClassNameId

      long getClassNameId()
      Returns the class name ID of this announcements entry.
      Specified by:
      getClassNameId in interface TypedModel
      Returns:
      the class name ID of this announcements entry
    • setClassNameId

      void setClassNameId(long classNameId)
      Sets the class name ID of this announcements entry.
      Specified by:
      setClassNameId in interface TypedModel
      Parameters:
      classNameId - the class name ID of this announcements entry
    • getClassPK

      long getClassPK()
      Returns the class pk of this announcements entry.
      Specified by:
      getClassPK in interface AttachedModel
      Returns:
      the class pk of this announcements entry
    • setClassPK

      void setClassPK(long classPK)
      Sets the class pk of this announcements entry.
      Specified by:
      setClassPK in interface AttachedModel
      Parameters:
      classPK - the class pk of this announcements entry
    • getTitle

      @AutoEscape String getTitle()
      Returns the title of this announcements entry.
      Returns:
      the title of this announcements entry
    • setTitle

      void setTitle(String title)
      Sets the title of this announcements entry.
      Parameters:
      title - the title of this announcements entry
    • getContent

      @AutoEscape String getContent()
      Returns the content of this announcements entry.
      Returns:
      the content of this announcements entry
    • setContent

      void setContent(String content)
      Sets the content of this announcements entry.
      Parameters:
      content - the content of this announcements entry
    • getUrl

      Returns the url of this announcements entry.
      Returns:
      the url of this announcements entry
    • setUrl

      void setUrl(String url)
      Sets the url of this announcements entry.
      Parameters:
      url - the url of this announcements entry
    • getType

      @AutoEscape String getType()
      Returns the type of this announcements entry.
      Returns:
      the type of this announcements entry
    • setType

      void setType(String type)
      Sets the type of this announcements entry.
      Parameters:
      type - the type of this announcements entry
    • getDisplayDate

      Date getDisplayDate()
      Returns the display date of this announcements entry.
      Returns:
      the display date of this announcements entry
    • setDisplayDate

      void setDisplayDate(Date displayDate)
      Sets the display date of this announcements entry.
      Parameters:
      displayDate - the display date of this announcements entry
    • getExpirationDate

      Date getExpirationDate()
      Returns the expiration date of this announcements entry.
      Returns:
      the expiration date of this announcements entry
    • setExpirationDate

      void setExpirationDate(Date expirationDate)
      Sets the expiration date of this announcements entry.
      Parameters:
      expirationDate - the expiration date of this announcements entry
    • getPriority

      int getPriority()
      Returns the priority of this announcements entry.
      Returns:
      the priority of this announcements entry
    • setPriority

      void setPriority(int priority)
      Sets the priority of this announcements entry.
      Parameters:
      priority - the priority of this announcements entry
    • getAlert

      boolean getAlert()
      Returns the alert of this announcements entry.
      Returns:
      the alert of this announcements entry
    • isAlert

      boolean isAlert()
      Returns true if this announcements entry is alert.
      Returns:
      true if this announcements entry is alert; false otherwise
    • setAlert

      void setAlert(boolean alert)
      Sets whether this announcements entry is alert.
      Parameters:
      alert - the alert of this announcements entry
    • cloneWithOriginalValues

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

      default String toXmlString()