@ProviderType public class AnnouncementsDeliveryWrapper extends Object implements AnnouncementsDelivery, ModelWrapper<AnnouncementsDelivery>
This class is a wrapper for AnnouncementsDelivery.
AnnouncementsDelivery,
Serialized FormDELIVERY_ID_ACCESSOR| Constructor and Description |
|---|
AnnouncementsDeliveryWrapper(AnnouncementsDelivery announcementsDelivery) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(AnnouncementsDelivery announcementsDelivery) |
boolean |
equals(Object obj) |
long |
getCompanyId()
Returns the company ID of this announcements delivery.
|
long |
getDeliveryId()
Returns the delivery ID of this announcements delivery.
|
boolean |
getEmail()
Returns the email of this announcements delivery.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getPrimaryKey()
Returns the primary key of this announcements delivery.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
boolean |
getSms()
Returns the sms of this announcements delivery.
|
String |
getType()
Returns the type of this announcements delivery.
|
long |
getUserId()
Returns the user ID of this announcements delivery.
|
String |
getUserUuid()
Returns the user uuid of this announcements delivery.
|
boolean |
getWebsite()
Returns the website of this announcements delivery.
|
AnnouncementsDelivery |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEmail()
Returns
true if this announcements delivery is email. |
boolean |
isEntityCacheEnabled()
Returns
true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns
true if this model's finder cache is enabled. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
boolean |
isSms()
Returns
true if this announcements delivery is sms. |
boolean |
isWebsite()
Returns
true 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 |
resetOriginalValues()
Reset all original fields to current values.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setCompanyId(long companyId)
Sets the company 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 |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this announcements delivery.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setSms(boolean sms)
Sets whether this announcements delivery is sms.
|
void |
setType(String type)
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.
|
CacheModel<AnnouncementsDelivery> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
AnnouncementsDelivery |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
String |
toString() |
AnnouncementsDelivery |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
public AnnouncementsDeliveryWrapper(AnnouncementsDelivery announcementsDelivery)
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<AnnouncementsDelivery>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<AnnouncementsDelivery>public AnnouncementsDelivery toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface AnnouncementsDeliveryModeltoEscapedModel in interface BaseModel<AnnouncementsDelivery>AutoEscapeBeanHandlerpublic AnnouncementsDelivery toUnescapedModel()
toUnescapedModel in interface AnnouncementsDeliveryModeltoUnescapedModel in interface BaseModel<AnnouncementsDelivery>public boolean getEmail()
getEmail in interface AnnouncementsDeliveryModelpublic boolean getSms()
getSms in interface AnnouncementsDeliveryModelpublic boolean getWebsite()
getWebsite in interface AnnouncementsDeliveryModelpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface AnnouncementsDeliveryModelisCachedModel in interface BaseModel<AnnouncementsDelivery>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEmail()
true if this announcements delivery is email.isEmail in interface AnnouncementsDeliveryModeltrue if this announcements delivery is email; false otherwisepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface AnnouncementsDeliveryModelisEscapedModel in interface BaseModel<AnnouncementsDelivery>true if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface AnnouncementsDeliveryModelisNew in interface BaseModel<AnnouncementsDelivery>true if this model instance does not yet exist in
the database; false otherwisepublic boolean isSms()
true if this announcements delivery is sms.isSms in interface AnnouncementsDeliveryModeltrue if this announcements delivery is sms; false otherwisepublic boolean isWebsite()
true if this announcements delivery is website.isWebsite in interface AnnouncementsDeliveryModeltrue if this announcements delivery is website; false otherwisepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface AnnouncementsDeliveryModelgetExpandoBridge in interface BaseModel<AnnouncementsDelivery>getExpandoBridge in interface ClassedModelpublic CacheModel<AnnouncementsDelivery> toCacheModel()
BaseModeltoCacheModel in interface AnnouncementsDeliveryModeltoCacheModel in interface BaseModel<AnnouncementsDelivery>public int compareTo(AnnouncementsDelivery announcementsDelivery)
compareTo in interface AnnouncementsDeliveryModelcompareTo in interface Comparable<AnnouncementsDelivery>public int hashCode()
hashCode in interface AnnouncementsDeliveryModelhashCode in class Objectpublic Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface AnnouncementsDeliveryModelgetPrimaryKeyObj in interface BaseModel<AnnouncementsDelivery>getPrimaryKeyObj in interface ClassedModelpublic Object clone()
BaseModelclone in interface AnnouncementsDeliveryModelclone in interface BaseModel<AnnouncementsDelivery>clone in class Objectpublic String getType()
getType in interface AnnouncementsDeliveryModelpublic String getUserUuid()
getUserUuid in interface AnnouncementsDeliveryModelpublic String toString()
toString in interface AnnouncementsDeliveryModeltoString in class Objectpublic String toXmlString()
BaseModeltoXmlString in interface AnnouncementsDeliveryModeltoXmlString in interface BaseModel<AnnouncementsDelivery>public long getCompanyId()
getCompanyId in interface AnnouncementsDeliveryModelgetCompanyId in interface ShardedModelpublic long getDeliveryId()
getDeliveryId in interface AnnouncementsDeliveryModelpublic long getPrimaryKey()
getPrimaryKey in interface AnnouncementsDeliveryModelpublic long getUserId()
getUserId in interface AnnouncementsDeliveryModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface AnnouncementsDeliveryModelsetCachedModel in interface BaseModel<AnnouncementsDelivery>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setCompanyId(long companyId)
setCompanyId in interface AnnouncementsDeliveryModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this announcements deliverypublic void setDeliveryId(long deliveryId)
setDeliveryId in interface AnnouncementsDeliveryModeldeliveryId - the delivery ID of this announcements deliverypublic void setEmail(boolean email)
setEmail in interface AnnouncementsDeliveryModelemail - the email of this announcements deliverypublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface AnnouncementsDeliveryModelsetExpandoBridgeAttributes in interface BaseModel<AnnouncementsDelivery>public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface AnnouncementsDeliveryModelsetExpandoBridgeAttributes in interface BaseModel<AnnouncementsDelivery>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface AnnouncementsDeliveryModelsetExpandoBridgeAttributes in interface BaseModel<AnnouncementsDelivery>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setNew(boolean n)
BaseModelsetNew in interface AnnouncementsDeliveryModelsetNew in interface BaseModel<AnnouncementsDelivery>n - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface AnnouncementsDeliveryModelprimaryKey - the primary key of this announcements deliverypublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface AnnouncementsDeliveryModelsetPrimaryKeyObj in interface BaseModel<AnnouncementsDelivery>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instancepublic void setSms(boolean sms)
setSms in interface AnnouncementsDeliveryModelsms - the sms of this announcements deliverypublic void setType(String type)
setType in interface AnnouncementsDeliveryModeltype - the type of this announcements deliverypublic void setUserId(long userId)
setUserId in interface AnnouncementsDeliveryModeluserId - the user ID of this announcements deliverypublic void setUserUuid(String userUuid)
setUserUuid in interface AnnouncementsDeliveryModeluserUuid - the user uuid of this announcements deliverypublic void setWebsite(boolean website)
setWebsite in interface AnnouncementsDeliveryModelwebsite - the website of this announcements deliverypublic AnnouncementsDelivery getWrappedModel()
getWrappedModel in interface ModelWrapper<AnnouncementsDelivery>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<AnnouncementsDelivery>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.isFinderCacheEnabled in interface BaseModel<AnnouncementsDelivery>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<AnnouncementsDelivery>