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 TypeMethodDescriptionlongReturns the company ID of this announcements delivery.longReturns the ct collection ID of this announcements delivery.longReturns the delivery ID of this announcements delivery.booleangetEmail()Returns the email of this announcements delivery.longReturns the mvcc version of this announcements delivery.longReturns the primary key of this announcements delivery.booleangetSms()Returns the sms of this announcements delivery.getType()Returns the type of this announcements delivery.longReturns the user ID of this announcements delivery.Returns the user uuid of this announcements delivery.booleanReturns the website of this announcements delivery.booleanisEmail()Returnstrueif this announcements delivery is email.booleanisSms()Returnstrueif this announcements delivery is sms.booleanReturnstrueif this announcements delivery is website.voidsetCompanyId(long companyId) Sets the company ID of this announcements delivery.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this announcements delivery.voidsetDeliveryId(long deliveryId) Sets the delivery ID of this announcements delivery.voidsetEmail(boolean email) Sets whether this announcements delivery is email.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this announcements delivery.voidsetPrimaryKey(long primaryKey) Sets the primary key of this announcements delivery.voidsetSms(boolean sms) Sets whether this announcements delivery is sms.voidSets the type of this announcements delivery.voidsetUserId(long userId) Sets the user ID of this announcements delivery.voidsetUserUuid(String userUuid) Sets the user uuid of this announcements delivery.voidsetWebsite(boolean website) Sets whether this announcements delivery is website.default StringMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this announcements delivery.- Specified by:
getPrimaryKeyin 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:
setPrimaryKeyin interfaceCTModel<AnnouncementsDelivery>- Parameters:
primaryKey- the primary key of this announcements delivery
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this announcements delivery.- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this announcements delivery
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this announcements delivery.- Specified by:
setMvccVersionin interfaceMVCCModel- Parameters:
mvccVersion- the mvcc version of this announcements delivery
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this announcements delivery.- Specified by:
getCtCollectionIdin 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:
setCtCollectionIdin 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:
getCompanyIdin interfaceShardedModel- Returns:
- the company ID of this announcements delivery
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this announcements delivery.- Specified by:
setCompanyIdin 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()Returnstrueif this announcements delivery is email.- Returns:
trueif this announcements delivery is email;falseotherwise
-
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()Returnstrueif this announcements delivery is sms.- Returns:
trueif this announcements delivery is sms;falseotherwise
-
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()Returnstrueif this announcements delivery is website.- Returns:
trueif this announcements delivery is website;falseotherwise
-
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:
cloneWithOriginalValuesin interfaceBaseModel<AnnouncementsDelivery>
-
toXmlString
-