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 Summary
Modifier and TypeMethodDescriptionlong
Returns the company ID of this announcements delivery.long
Returns the ct collection ID of this announcements delivery.long
Returns the delivery ID of this announcements delivery.boolean
getEmail()
Returns the email of this announcements delivery.long
Returns the mvcc version of this announcements delivery.long
Returns the primary key of this announcements delivery.boolean
getSms()
Returns the sms of this announcements delivery.getType()
Returns the type of this announcements delivery.long
Returns the user ID of this announcements delivery.Returns the user uuid of this announcements delivery.boolean
Returns the website of this announcements delivery.boolean
isEmail()
Returnstrue
if this announcements delivery is email.boolean
isSms()
Returnstrue
if this announcements delivery is sms.boolean
Returnstrue
if this announcements delivery is website.void
setCompanyId
(long companyId) Sets the company ID of this announcements delivery.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this announcements delivery.void
setDeliveryId
(long deliveryId) Sets the delivery ID of this announcements delivery.void
setEmail
(boolean email) Sets whether this announcements delivery is email.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this announcements delivery.void
setPrimaryKey
(long primaryKey) Sets the primary key of this announcements delivery.void
setSms
(boolean sms) Sets whether this announcements delivery is sms.void
Sets the type of this announcements delivery.void
setUserId
(long userId) Sets the user ID of this announcements delivery.void
setUserUuid
(String userUuid) Sets the user uuid of this announcements delivery.void
setWebsite
(boolean website) Sets whether this announcements delivery is website.default String
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this announcements delivery.- Specified by:
getPrimaryKey
in interfaceCTModel<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 interfaceCTModel<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 interfaceMVCCModel
- 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 interfaceMVCCModel
- 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 interfaceCTModel<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 interfaceCTModel<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 interfaceShardedModel
- 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 interfaceShardedModel
- 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
Sets the user uuid of this announcements delivery.- Parameters:
userUuid
- the user uuid of this announcements delivery
-
getType
Returns the type of this announcements delivery.- Returns:
- the type of this announcements delivery
-
setType
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()Returnstrue
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()Returnstrue
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()Returnstrue
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 interfaceBaseModel<AnnouncementsDelivery>
-
toXmlString
-