Interface AnnouncementsDeliveryModel

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

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

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

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

    • getPrimaryKey

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

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

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

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

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

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

      long getDeliveryId()
      Returns the delivery ID of this announcements delivery.
      Returns:
      the delivery ID of this announcements delivery
    • setDeliveryId

      void setDeliveryId(long deliveryId)
      Sets the delivery ID of this announcements delivery.
      Parameters:
      deliveryId - the delivery ID of this announcements delivery
    • getCompanyId

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

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

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

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

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

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

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

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

      boolean getEmail()
      Returns the email of this announcements delivery.
      Returns:
      the email of this announcements delivery
    • isEmail

      boolean isEmail()
      Returns true if this announcements delivery is email.
      Returns:
      true if this announcements delivery is email; false otherwise
    • setEmail

      void setEmail(boolean email)
      Sets whether this announcements delivery is email.
      Parameters:
      email - the email of this announcements delivery
    • getSms

      boolean getSms()
      Returns the sms of this announcements delivery.
      Returns:
      the sms of this announcements delivery
    • isSms

      boolean isSms()
      Returns true if this announcements delivery is sms.
      Returns:
      true if this announcements delivery is sms; false otherwise
    • setSms

      void setSms(boolean sms)
      Sets whether this announcements delivery is sms.
      Parameters:
      sms - the sms of this announcements delivery
    • getWebsite

      boolean getWebsite()
      Returns the website of this announcements delivery.
      Returns:
      the website of this announcements delivery
    • isWebsite

      boolean isWebsite()
      Returns true if this announcements delivery is website.
      Returns:
      true if this announcements delivery is website; false otherwise
    • setWebsite

      void setWebsite(boolean website)
      Sets whether this announcements delivery is website.
      Parameters:
      website - the website of this announcements delivery
    • cloneWithOriginalValues

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

      default String toXmlString()