@ProviderType public class UserNotificationDeliveryWrapper extends Object implements UserNotificationDelivery, ModelWrapper<UserNotificationDelivery>
This class is a wrapper for UserNotificationDelivery.
UserNotificationDelivery,
Serialized FormUSER_NOTIFICATION_DELIVERY_ID_ACCESSOR| Constructor and Description |
|---|
UserNotificationDeliveryWrapper(UserNotificationDelivery userNotificationDelivery) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(UserNotificationDelivery userNotificationDelivery) |
boolean |
equals(Object obj) |
String |
getClassName()
Returns the fully qualified class name of this user notification delivery.
|
long |
getClassNameId()
Returns the class name ID of this user notification delivery.
|
long |
getCompanyId()
Returns the company ID of this user notification delivery.
|
boolean |
getDeliver()
Returns the deliver of this user notification delivery.
|
int |
getDeliveryType()
Returns the delivery type of this user notification delivery.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getMvccVersion()
Returns the mvcc version of this user notification delivery.
|
int |
getNotificationType()
Returns the notification type of this user notification delivery.
|
String |
getPortletId()
Returns the portlet ID of this user notification delivery.
|
long |
getPrimaryKey()
Returns the primary key of this user notification delivery.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getUserId()
Returns the user ID of this user notification delivery.
|
long |
getUserNotificationDeliveryId()
Returns the user notification delivery ID of this user notification delivery.
|
String |
getUserUuid()
Returns the user uuid of this user notification delivery.
|
UserNotificationDelivery |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isDeliver()
Returns
true if this user notification delivery is deliver. |
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. |
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 |
setClassName(String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this user notification delivery.
|
void |
setCompanyId(long companyId)
Sets the company ID of this user notification delivery.
|
void |
setDeliver(boolean deliver)
Sets whether this user notification delivery is deliver.
|
void |
setDeliveryType(int deliveryType)
Sets the delivery type of this user notification delivery.
|
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 |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this user notification delivery.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setNotificationType(int notificationType)
Sets the notification type of this user notification delivery.
|
void |
setPortletId(String portletId)
Sets the portlet ID of this user notification delivery.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this user notification delivery.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setUserId(long userId)
Sets the user ID of this user notification delivery.
|
void |
setUserNotificationDeliveryId(long userNotificationDeliveryId)
Sets the user notification delivery ID of this user notification delivery.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this user notification delivery.
|
CacheModel<UserNotificationDelivery> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
UserNotificationDelivery |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
String |
toString() |
UserNotificationDelivery |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
public UserNotificationDeliveryWrapper(UserNotificationDelivery userNotificationDelivery)
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<UserNotificationDelivery>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<UserNotificationDelivery>public CacheModel<UserNotificationDelivery> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<UserNotificationDelivery>toCacheModel in interface UserNotificationDeliveryModelpublic UserNotificationDelivery toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<UserNotificationDelivery>toEscapedModel in interface UserNotificationDeliveryModelAutoEscapeBeanHandlerpublic UserNotificationDelivery toUnescapedModel()
toUnescapedModel in interface BaseModel<UserNotificationDelivery>toUnescapedModel in interface UserNotificationDeliveryModelpublic boolean getDeliver()
getDeliver in interface UserNotificationDeliveryModelpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<UserNotificationDelivery>isCachedModel in interface UserNotificationDeliveryModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isDeliver()
true if this user notification delivery is deliver.isDeliver in interface UserNotificationDeliveryModeltrue if this user notification delivery is deliver; false otherwisepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<UserNotificationDelivery>isEscapedModel in interface UserNotificationDeliveryModeltrue 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 BaseModel<UserNotificationDelivery>isNew in interface UserNotificationDeliveryModeltrue if this model instance does not yet exist in
the database; false otherwisepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<UserNotificationDelivery>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface UserNotificationDeliveryModelpublic int compareTo(UserNotificationDelivery userNotificationDelivery)
compareTo in interface UserNotificationDeliveryModelcompareTo in interface Comparable<UserNotificationDelivery>public int getDeliveryType()
getDeliveryType in interface UserNotificationDeliveryModelpublic int getNotificationType()
getNotificationType in interface UserNotificationDeliveryModelpublic int hashCode()
hashCode in interface UserNotificationDeliveryModelhashCode in class Objectpublic Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<UserNotificationDelivery>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface UserNotificationDeliveryModelpublic Object clone()
BaseModelclone in interface BaseModel<UserNotificationDelivery>clone in interface UserNotificationDeliveryModelclone in class Objectpublic String getClassName()
getClassName in interface TypedModelgetClassName in interface UserNotificationDeliveryModelpublic String getPortletId()
getPortletId in interface UserNotificationDeliveryModelpublic String getUserUuid()
getUserUuid in interface UserNotificationDeliveryModelpublic String toString()
toString in interface UserNotificationDeliveryModeltoString in class Objectpublic String toXmlString()
BaseModeltoXmlString in interface BaseModel<UserNotificationDelivery>toXmlString in interface UserNotificationDeliveryModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface UserNotificationDeliveryModelpublic long getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface UserNotificationDeliveryModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface UserNotificationDeliveryModelpublic long getPrimaryKey()
getPrimaryKey in interface UserNotificationDeliveryModelpublic long getUserId()
getUserId in interface UserNotificationDeliveryModelpublic long getUserNotificationDeliveryId()
getUserNotificationDeliveryId in interface UserNotificationDeliveryModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<UserNotificationDelivery>setCachedModel in interface UserNotificationDeliveryModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setClassName(String className)
setClassName in interface UserNotificationDeliveryModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TypedModelsetClassNameId in interface UserNotificationDeliveryModelclassNameId - the class name ID of this user notification deliverypublic void setCompanyId(long companyId)
setCompanyId in interface ShardedModelsetCompanyId in interface UserNotificationDeliveryModelcompanyId - the company ID of this user notification deliverypublic void setDeliver(boolean deliver)
setDeliver in interface UserNotificationDeliveryModeldeliver - the deliver of this user notification deliverypublic void setDeliveryType(int deliveryType)
setDeliveryType in interface UserNotificationDeliveryModeldeliveryType - the delivery type of this user notification deliverypublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<UserNotificationDelivery>setExpandoBridgeAttributes in interface UserNotificationDeliveryModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<UserNotificationDelivery>setExpandoBridgeAttributes in interface UserNotificationDeliveryModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<UserNotificationDelivery>setExpandoBridgeAttributes in interface UserNotificationDeliveryModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface UserNotificationDeliveryModelmvccVersion - the mvcc version of this user notification deliverypublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<UserNotificationDelivery>setNew in interface UserNotificationDeliveryModeln - whether this model instance does not yet exist in the databasepublic void setNotificationType(int notificationType)
setNotificationType in interface UserNotificationDeliveryModelnotificationType - the notification type of this user notification deliverypublic void setPortletId(String portletId)
setPortletId in interface UserNotificationDeliveryModelportletId - the portlet ID of this user notification deliverypublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface UserNotificationDeliveryModelprimaryKey - the primary key of this user notification deliverypublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<UserNotificationDelivery>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface UserNotificationDeliveryModelprimaryKeyObj - the primary key of this model instancepublic void setUserId(long userId)
setUserId in interface UserNotificationDeliveryModeluserId - the user ID of this user notification deliverypublic void setUserNotificationDeliveryId(long userNotificationDeliveryId)
setUserNotificationDeliveryId in interface UserNotificationDeliveryModeluserNotificationDeliveryId - the user notification delivery ID of this user notification deliverypublic void setUserUuid(String userUuid)
setUserUuid in interface UserNotificationDeliveryModeluserUuid - the user uuid of this user notification deliverypublic UserNotificationDelivery getWrappedModel()
getWrappedModel in interface ModelWrapper<UserNotificationDelivery>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<UserNotificationDelivery>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<UserNotificationDelivery>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<UserNotificationDelivery>