@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 ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<UserNotificationDelivery>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<UserNotificationDelivery>
public Object clone()
BaseModel
clone
in interface BaseModel<UserNotificationDelivery>
clone
in interface UserNotificationDeliveryModel
clone
in class Object
public int compareTo(UserNotificationDelivery userNotificationDelivery)
compareTo
in interface UserNotificationDeliveryModel
compareTo
in interface Comparable<UserNotificationDelivery>
public String getClassName()
getClassName
in interface TypedModel
getClassName
in interface UserNotificationDeliveryModel
public long getClassNameId()
getClassNameId
in interface TypedModel
getClassNameId
in interface UserNotificationDeliveryModel
public long getCompanyId()
getCompanyId
in interface ShardedModel
getCompanyId
in interface UserNotificationDeliveryModel
public boolean getDeliver()
getDeliver
in interface UserNotificationDeliveryModel
public int getDeliveryType()
getDeliveryType
in interface UserNotificationDeliveryModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<UserNotificationDelivery>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface UserNotificationDeliveryModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface UserNotificationDeliveryModel
public int getNotificationType()
getNotificationType
in interface UserNotificationDeliveryModel
public String getPortletId()
getPortletId
in interface UserNotificationDeliveryModel
public long getPrimaryKey()
getPrimaryKey
in interface UserNotificationDeliveryModel
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<UserNotificationDelivery>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface UserNotificationDeliveryModel
public long getUserId()
getUserId
in interface UserNotificationDeliveryModel
public long getUserNotificationDeliveryId()
getUserNotificationDeliveryId
in interface UserNotificationDeliveryModel
public String getUserUuid()
getUserUuid
in interface UserNotificationDeliveryModel
public int hashCode()
hashCode
in interface UserNotificationDeliveryModel
hashCode
in class Object
public boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BaseModel<UserNotificationDelivery>
isCachedModel
in interface UserNotificationDeliveryModel
true
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 UserNotificationDeliveryModel
true
if this user notification delivery is deliver; false
otherwisepublic boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface BaseModel<UserNotificationDelivery>
isEscapedModel
in interface UserNotificationDeliveryModel
true
if this model instance is escaped;
false
otherwisepublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.isNew
in interface BaseModel<UserNotificationDelivery>
isNew
in interface UserNotificationDeliveryModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void persist()
PersistedModel
persist
in interface PersistedModel
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<UserNotificationDelivery>
setCachedModel
in interface UserNotificationDeliveryModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public void setClassName(String className)
setClassName
in interface UserNotificationDeliveryModel
public void setClassNameId(long classNameId)
setClassNameId
in interface TypedModel
setClassNameId
in interface UserNotificationDeliveryModel
classNameId
- the class name ID of this user notification deliverypublic void setCompanyId(long companyId)
setCompanyId
in interface ShardedModel
setCompanyId
in interface UserNotificationDeliveryModel
companyId
- the company ID of this user notification deliverypublic void setDeliver(boolean deliver)
setDeliver
in interface UserNotificationDeliveryModel
deliver
- the deliver of this user notification deliverypublic void setDeliveryType(int deliveryType)
setDeliveryType
in interface UserNotificationDeliveryModel
deliveryType
- the delivery type of this user notification deliverypublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<UserNotificationDelivery>
setExpandoBridgeAttributes
in interface UserNotificationDeliveryModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<UserNotificationDelivery>
setExpandoBridgeAttributes
in interface UserNotificationDeliveryModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<UserNotificationDelivery>
setExpandoBridgeAttributes
in interface UserNotificationDeliveryModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
public void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface UserNotificationDeliveryModel
mvccVersion
- the mvcc version of this user notification deliverypublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<UserNotificationDelivery>
setNew
in interface UserNotificationDeliveryModel
n
- whether this model instance does not yet exist in the databasepublic void setNotificationType(int notificationType)
setNotificationType
in interface UserNotificationDeliveryModel
notificationType
- the notification type of this user notification deliverypublic void setPortletId(String portletId)
setPortletId
in interface UserNotificationDeliveryModel
portletId
- the portlet ID of this user notification deliverypublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface UserNotificationDeliveryModel
primaryKey
- the primary key of this user notification deliverypublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<UserNotificationDelivery>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface UserNotificationDeliveryModel
primaryKeyObj
- the primary key of this model instancepublic void setUserId(long userId)
setUserId
in interface UserNotificationDeliveryModel
userId
- the user ID of this user notification deliverypublic void setUserNotificationDeliveryId(long userNotificationDeliveryId)
setUserNotificationDeliveryId
in interface UserNotificationDeliveryModel
userNotificationDeliveryId
- the user notification delivery ID of this user notification deliverypublic void setUserUuid(String userUuid)
setUserUuid
in interface UserNotificationDeliveryModel
userUuid
- the user uuid of this user notification deliverypublic CacheModel<UserNotificationDelivery> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<UserNotificationDelivery>
toCacheModel
in interface UserNotificationDeliveryModel
public UserNotificationDelivery toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<UserNotificationDelivery>
toEscapedModel
in interface UserNotificationDeliveryModel
AutoEscapeBeanHandler
public String toString()
toString
in interface UserNotificationDeliveryModel
toString
in class Object
public UserNotificationDelivery toUnescapedModel()
toUnescapedModel
in interface BaseModel<UserNotificationDelivery>
toUnescapedModel
in interface UserNotificationDeliveryModel
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<UserNotificationDelivery>
toXmlString
in interface UserNotificationDeliveryModel
public boolean equals(Object obj)
equals
in class Object
public UserNotificationDelivery getWrappedModel()
getWrappedModel
in interface ModelWrapper<UserNotificationDelivery>
public boolean isEntityCacheEnabled()
BaseModel
true
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()
BaseModel
true
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()
BaseModel
resetOriginalValues
in interface BaseModel<UserNotificationDelivery>