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
model
Fields inherited from interface com.liferay.announcements.kernel.model.AnnouncementsDelivery
DELIVERY_ID_ACCESSOR
-
Constructor Summary
Constructors -
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
persist()
Updates this model instance in the database or adds it if it does not yet exist.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
setModelAttributes
(Map<String, Object> attributes) 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.protected AnnouncementsDeliveryWrapper
wrap
(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, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
AnnouncementsDeliveryWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<AnnouncementsDelivery>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<AnnouncementsDelivery>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceAnnouncementsDeliveryModel
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<AnnouncementsDelivery>
-
getCompanyId
public long getCompanyId()Returns the company ID of this announcements delivery.- Specified by:
getCompanyId
in interfaceAnnouncementsDeliveryModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Returns:
- the company ID of this announcements delivery
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this announcements delivery.- Specified by:
getCtCollectionId
in interfaceAnnouncementsDeliveryModel
- Specified by:
getCtCollectionId
in 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:
getDeliveryId
in interfaceAnnouncementsDeliveryModel
- Returns:
- the delivery ID of this announcements delivery
-
getEmail
public boolean getEmail()Returns the email of this announcements delivery.- Specified by:
getEmail
in interfaceAnnouncementsDeliveryModel
- Returns:
- the email of this announcements delivery
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this announcements delivery.- Specified by:
getMvccVersion
in interfaceAnnouncementsDeliveryModel
- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this announcements delivery
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this announcements delivery.- Specified by:
getPrimaryKey
in interfaceAnnouncementsDeliveryModel
- Specified by:
getPrimaryKey
in interfaceCTModel<AnnouncementsDelivery>
- Returns:
- the primary key of this announcements delivery
-
getSms
public boolean getSms()Returns the sms of this announcements delivery.- Specified by:
getSms
in interfaceAnnouncementsDeliveryModel
- Returns:
- the sms of this announcements delivery
-
getType
Returns the type of this announcements delivery.- Specified by:
getType
in interfaceAnnouncementsDeliveryModel
- Returns:
- the type of this announcements delivery
-
getUserId
public long getUserId()Returns the user ID of this announcements delivery.- Specified by:
getUserId
in interfaceAnnouncementsDeliveryModel
- Returns:
- the user ID of this announcements delivery
-
getUserUuid
Returns the user uuid of this announcements delivery.- Specified by:
getUserUuid
in interfaceAnnouncementsDeliveryModel
- Returns:
- the user uuid of this announcements delivery
-
getWebsite
public boolean getWebsite()Returns the website of this announcements delivery.- Specified by:
getWebsite
in interfaceAnnouncementsDeliveryModel
- Returns:
- the website of this announcements delivery
-
isEmail
public boolean isEmail()Returnstrue
if this announcements delivery is email.- Specified by:
isEmail
in interfaceAnnouncementsDeliveryModel
- Returns:
true
if this announcements delivery is email;false
otherwise
-
isSms
public boolean isSms()Returnstrue
if this announcements delivery is sms.- Specified by:
isSms
in interfaceAnnouncementsDeliveryModel
- Returns:
true
if this announcements delivery is sms;false
otherwise
-
isWebsite
public boolean isWebsite()Returnstrue
if this announcements delivery is website.- Specified by:
isWebsite
in interfaceAnnouncementsDeliveryModel
- Returns:
true
if this announcements delivery is website;false
otherwise
-
persist
public void persist()Description copied from interface:PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persist
in interfacePersistedModel
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this announcements delivery.- Specified by:
setCompanyId
in interfaceAnnouncementsDeliveryModel
- Specified by:
setCompanyId
in 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:
setCtCollectionId
in interfaceAnnouncementsDeliveryModel
- Specified by:
setCtCollectionId
in 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:
setDeliveryId
in 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:
setEmail
in 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:
setMvccVersion
in interfaceAnnouncementsDeliveryModel
- Specified by:
setMvccVersion
in 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:
setPrimaryKey
in interfaceAnnouncementsDeliveryModel
- Specified by:
setPrimaryKey
in 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:
setSms
in interfaceAnnouncementsDeliveryModel
- Parameters:
sms
- the sms of this announcements delivery
-
setType
Sets the type of this announcements delivery.- Specified by:
setType
in 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:
setUserId
in interfaceAnnouncementsDeliveryModel
- Parameters:
userId
- the user ID of this announcements delivery
-
setUserUuid
Sets the user uuid of this announcements delivery.- Specified by:
setUserUuid
in 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:
setWebsite
in interfaceAnnouncementsDeliveryModel
- Parameters:
website
- the website of this announcements delivery
-
toXmlString
- Specified by:
toXmlString
in interfaceAnnouncementsDeliveryModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfaceBaseModel<AnnouncementsDelivery>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfaceBaseModel<AnnouncementsDelivery>
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<AnnouncementsDelivery>
-