@ProviderType public class UserNotificationDeliveryWrapper extends java.lang.Object implements UserNotificationDelivery, ModelWrapper<UserNotificationDelivery>
This class is a wrapper for UserNotificationDelivery.
UserNotificationDelivery,
Serialized Form| Constructor and Description |
|---|
UserNotificationDeliveryWrapper(UserNotificationDelivery userNotificationDelivery) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(UserNotificationDelivery userNotificationDelivery) |
boolean |
equals(java.lang.Object obj) |
java.lang.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.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
int |
getNotificationType()
Returns the notification type of this user notification delivery.
|
java.lang.String |
getPortletId()
Returns the portlet ID of this user notification delivery.
|
long |
getPrimaryKey()
Returns the primary key of this user notification delivery.
|
java.io.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.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this user notification delivery.
|
UserNotificationDelivery |
getWrappedModel() |
UserNotificationDelivery |
getWrappedUserNotificationDelivery()
Deprecated.
As of 6.1.0, replaced by
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 |
isEscapedModel()
Returns
true if this model instance is escaped. |
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(java.lang.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(java.util.Map<java.lang.String,java.lang.Object> attributes) |
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(java.lang.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(java.io.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(java.lang.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. |
java.lang.String |
toString() |
UserNotificationDelivery |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
public UserNotificationDeliveryWrapper(UserNotificationDelivery userNotificationDelivery)
public java.lang.Class<?> getModelClass()
getModelClass in interface ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<UserNotificationDelivery>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<UserNotificationDelivery>public long getPrimaryKey()
getPrimaryKey in interface UserNotificationDeliveryModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface UserNotificationDeliveryModelprimaryKey - the primary key of this user notification deliverypublic long getUserNotificationDeliveryId()
getUserNotificationDeliveryId in interface UserNotificationDeliveryModelpublic void setUserNotificationDeliveryId(long userNotificationDeliveryId)
setUserNotificationDeliveryId in interface UserNotificationDeliveryModeluserNotificationDeliveryId - the user notification delivery ID of this user notification deliverypublic long getCompanyId()
getCompanyId in interface UserNotificationDeliveryModelpublic void setCompanyId(long companyId)
setCompanyId in interface UserNotificationDeliveryModelcompanyId - the company ID of this user notification deliverypublic long getUserId()
getUserId in interface UserNotificationDeliveryModelpublic void setUserId(long userId)
setUserId in interface UserNotificationDeliveryModeluserId - the user ID of this user notification deliverypublic java.lang.String getUserUuid()
throws SystemException
getUserUuid in interface UserNotificationDeliveryModelSystemException - if a system exception occurredpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface UserNotificationDeliveryModeluserUuid - the user uuid of this user notification deliverypublic java.lang.String getPortletId()
getPortletId in interface UserNotificationDeliveryModelpublic void setPortletId(java.lang.String portletId)
setPortletId in interface UserNotificationDeliveryModelportletId - the portlet ID of this user notification deliverypublic java.lang.String getClassName()
getClassName in interface TypedModelgetClassName in interface UserNotificationDeliveryModelpublic void setClassName(java.lang.String className)
setClassName in interface UserNotificationDeliveryModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface UserNotificationDeliveryModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TypedModelsetClassNameId in interface UserNotificationDeliveryModelclassNameId - the class name ID of this user notification deliverypublic int getNotificationType()
getNotificationType in interface UserNotificationDeliveryModelpublic void setNotificationType(int notificationType)
setNotificationType in interface UserNotificationDeliveryModelnotificationType - the notification type of this user notification deliverypublic int getDeliveryType()
getDeliveryType in interface UserNotificationDeliveryModelpublic void setDeliveryType(int deliveryType)
setDeliveryType in interface UserNotificationDeliveryModeldeliveryType - the delivery type of this user notification deliverypublic boolean getDeliver()
getDeliver in interface UserNotificationDeliveryModelpublic boolean isDeliver()
true if this user notification delivery is deliver.isDeliver in interface UserNotificationDeliveryModeltrue if this user notification delivery is deliver; false otherwisepublic void setDeliver(boolean deliver)
setDeliver in interface UserNotificationDeliveryModeldeliver - the deliver of this user notification deliverypublic 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 void setNew(boolean n)
BaseModelsetNew in interface BaseModel<UserNotificationDelivery>setNew in interface UserNotificationDeliveryModeln - whether this model instance does not yet exist in the databasepublic 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 void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<UserNotificationDelivery>setCachedModel in interface UserNotificationDeliveryModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic 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 java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<UserNotificationDelivery>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface UserNotificationDeliveryModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<UserNotificationDelivery>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface UserNotificationDeliveryModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<UserNotificationDelivery>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface UserNotificationDeliveryModelpublic 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 java.lang.Object clone()
BaseModelclone in interface BaseModel<UserNotificationDelivery>clone in interface UserNotificationDeliveryModelclone in class java.lang.Objectpublic int compareTo(UserNotificationDelivery userNotificationDelivery)
compareTo in interface UserNotificationDeliveryModelcompareTo in interface java.lang.Comparable<UserNotificationDelivery>public int hashCode()
hashCode in interface UserNotificationDeliveryModelhashCode in class java.lang.Objectpublic 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 java.lang.String toString()
toString in interface UserNotificationDeliveryModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<UserNotificationDelivery>toXmlString in interface UserNotificationDeliveryModelpublic void persist()
throws SystemException
PersistedModelpersist in interface PersistedModelSystemException - if a system exception occurredpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic UserNotificationDelivery getWrappedUserNotificationDelivery()
getWrappedModel()public UserNotificationDelivery getWrappedModel()
getWrappedModel in interface ModelWrapper<UserNotificationDelivery>public void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<UserNotificationDelivery>