Class AnnouncementsDeliveryWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<AnnouncementsDelivery>
com.liferay.announcements.kernel.model.AnnouncementsDeliveryWrapper
- All Implemented Interfaces:
AnnouncementsDelivery,AnnouncementsDeliveryModel,BaseModel<AnnouncementsDelivery>,CTModel<AnnouncementsDelivery>,ClassedModel,ModelWrapper<AnnouncementsDelivery>,MVCCModel,PersistedModel,ShardedModel,Serializable,Cloneable,Comparable<AnnouncementsDelivery>
public class AnnouncementsDeliveryWrapper
extends BaseModelWrapper<AnnouncementsDelivery>
implements AnnouncementsDelivery, ModelWrapper<AnnouncementsDelivery>
This class is a wrapper for AnnouncementsDelivery.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.announcements.kernel.model.AnnouncementsDelivery
DELIVERY_ID_ACCESSOR -
Constructor Summary
Constructors -
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.voidpersist()Updates this model instance in the database or adds it if it does not yet exist.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.voidsetModelAttributes(Map<String, Object> attributes) 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.protected AnnouncementsDeliveryWrapperwrap(AnnouncementsDelivery announcementsDelivery) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
AnnouncementsDeliveryWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<AnnouncementsDelivery>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<AnnouncementsDelivery>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceAnnouncementsDeliveryModel- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<AnnouncementsDelivery>
-
getCompanyId
public long getCompanyId()Returns the company ID of this announcements delivery.- Specified by:
getCompanyIdin interfaceAnnouncementsDeliveryModel- Specified by:
getCompanyIdin interfaceShardedModel- Returns:
- the company ID of this announcements delivery
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this announcements delivery.- Specified by:
getCtCollectionIdin interfaceAnnouncementsDeliveryModel- Specified by:
getCtCollectionIdin interfaceCTModel<AnnouncementsDelivery>- Returns:
- the ct collection ID of this announcements delivery
-
getDeliveryId
public long getDeliveryId()Returns the delivery ID of this announcements delivery.- Specified by:
getDeliveryIdin interfaceAnnouncementsDeliveryModel- Returns:
- the delivery ID of this announcements delivery
-
getEmail
public boolean getEmail()Returns the email of this announcements delivery.- Specified by:
getEmailin interfaceAnnouncementsDeliveryModel- Returns:
- the email of this announcements delivery
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this announcements delivery.- Specified by:
getMvccVersionin interfaceAnnouncementsDeliveryModel- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this announcements delivery
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this announcements delivery.- Specified by:
getPrimaryKeyin interfaceAnnouncementsDeliveryModel- Specified by:
getPrimaryKeyin interfaceCTModel<AnnouncementsDelivery>- Returns:
- the primary key of this announcements delivery
-
getSms
public boolean getSms()Returns the sms of this announcements delivery.- Specified by:
getSmsin interfaceAnnouncementsDeliveryModel- Returns:
- the sms of this announcements delivery
-
getType
Returns the type of this announcements delivery.- Specified by:
getTypein interfaceAnnouncementsDeliveryModel- Returns:
- the type of this announcements delivery
-
getUserId
public long getUserId()Returns the user ID of this announcements delivery.- Specified by:
getUserIdin interfaceAnnouncementsDeliveryModel- Returns:
- the user ID of this announcements delivery
-
getUserUuid
Returns the user uuid of this announcements delivery.- Specified by:
getUserUuidin interfaceAnnouncementsDeliveryModel- Returns:
- the user uuid of this announcements delivery
-
getWebsite
public boolean getWebsite()Returns the website of this announcements delivery.- Specified by:
getWebsitein interfaceAnnouncementsDeliveryModel- Returns:
- the website of this announcements delivery
-
isEmail
public boolean isEmail()Returnstrueif this announcements delivery is email.- Specified by:
isEmailin interfaceAnnouncementsDeliveryModel- Returns:
trueif this announcements delivery is email;falseotherwise
-
isSms
public boolean isSms()Returnstrueif this announcements delivery is sms.- Specified by:
isSmsin interfaceAnnouncementsDeliveryModel- Returns:
trueif this announcements delivery is sms;falseotherwise
-
isWebsite
public boolean isWebsite()Returnstrueif this announcements delivery is website.- Specified by:
isWebsitein interfaceAnnouncementsDeliveryModel- Returns:
trueif this announcements delivery is website;falseotherwise
-
persist
public void persist()Description copied from interface:PersistedModelUpdates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persistin interfacePersistedModel
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this announcements delivery.- Specified by:
setCompanyIdin interfaceAnnouncementsDeliveryModel- Specified by:
setCompanyIdin interfaceShardedModel- Parameters:
companyId- the company ID of this announcements delivery
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this announcements delivery.- Specified by:
setCtCollectionIdin interfaceAnnouncementsDeliveryModel- Specified by:
setCtCollectionIdin interfaceCTModel<AnnouncementsDelivery>- Parameters:
ctCollectionId- the ct collection ID of this announcements delivery
-
setDeliveryId
public void setDeliveryId(long deliveryId) Sets the delivery ID of this announcements delivery.- Specified by:
setDeliveryIdin interfaceAnnouncementsDeliveryModel- Parameters:
deliveryId- the delivery ID of this announcements delivery
-
setEmail
public void setEmail(boolean email) Sets whether this announcements delivery is email.- Specified by:
setEmailin interfaceAnnouncementsDeliveryModel- Parameters:
email- the email of this announcements delivery
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this announcements delivery.- Specified by:
setMvccVersionin interfaceAnnouncementsDeliveryModel- Specified by:
setMvccVersionin interfaceMVCCModel- Parameters:
mvccVersion- the mvcc version of this announcements delivery
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this announcements delivery.- Specified by:
setPrimaryKeyin interfaceAnnouncementsDeliveryModel- Specified by:
setPrimaryKeyin interfaceCTModel<AnnouncementsDelivery>- Parameters:
primaryKey- the primary key of this announcements delivery
-
setSms
public void setSms(boolean sms) Sets whether this announcements delivery is sms.- Specified by:
setSmsin interfaceAnnouncementsDeliveryModel- Parameters:
sms- the sms of this announcements delivery
-
setType
Sets the type of this announcements delivery.- Specified by:
setTypein interfaceAnnouncementsDeliveryModel- Parameters:
type- the type of this announcements delivery
-
setUserId
public void setUserId(long userId) Sets the user ID of this announcements delivery.- Specified by:
setUserIdin interfaceAnnouncementsDeliveryModel- Parameters:
userId- the user ID of this announcements delivery
-
setUserUuid
Sets the user uuid of this announcements delivery.- Specified by:
setUserUuidin interfaceAnnouncementsDeliveryModel- Parameters:
userUuid- the user uuid of this announcements delivery
-
setWebsite
public void setWebsite(boolean website) Sets whether this announcements delivery is website.- Specified by:
setWebsitein interfaceAnnouncementsDeliveryModel- Parameters:
website- the website of this announcements delivery
-
toXmlString
- Specified by:
toXmlStringin interfaceAnnouncementsDeliveryModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfaceBaseModel<AnnouncementsDelivery>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfaceBaseModel<AnnouncementsDelivery>
-
wrap
- Specified by:
wrapin classBaseModelWrapper<AnnouncementsDelivery>
-