public class UserNotificationDeliveryWrapper extends BaseModelWrapper<UserNotificationDelivery> implements ModelWrapper<UserNotificationDelivery>, UserNotificationDelivery
This class is a wrapper for UserNotificationDelivery
.
UserNotificationDelivery
,
Serialized Formmodel
USER_NOTIFICATION_DELIVERY_ID_ACCESSOR
Constructor and Description |
---|
UserNotificationDeliveryWrapper(UserNotificationDelivery userNotificationDelivery) |
Modifier and Type | Method and Description |
---|---|
UserNotificationDelivery |
cloneWithOriginalValues() |
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.
|
Map<String,Object> |
getModelAttributes() |
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.
|
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.
|
boolean |
isDeliver()
Returns
true if this user notification delivery is deliver. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
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 |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this user notification delivery.
|
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 |
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.
|
protected UserNotificationDeliveryWrapper |
wrap(UserNotificationDelivery userNotificationDelivery) |
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, toXmlString
getWrappedModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
public UserNotificationDeliveryWrapper(UserNotificationDelivery userNotificationDelivery)
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<UserNotificationDelivery>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<UserNotificationDelivery>
public UserNotificationDelivery cloneWithOriginalValues()
cloneWithOriginalValues
in interface BaseModel<UserNotificationDelivery>
cloneWithOriginalValues
in interface UserNotificationDeliveryModel
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 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 long getUserId()
getUserId
in interface UserNotificationDeliveryModel
public long getUserNotificationDeliveryId()
getUserNotificationDeliveryId
in interface UserNotificationDeliveryModel
public String getUserUuid()
getUserUuid
in interface UserNotificationDeliveryModel
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 void persist()
PersistedModel
persist
in interface PersistedModel
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 setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface UserNotificationDeliveryModel
mvccVersion
- the mvcc version of this user notification deliverypublic 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 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 deliveryprotected UserNotificationDeliveryWrapper wrap(UserNotificationDelivery userNotificationDelivery)
wrap
in class BaseModelWrapper<UserNotificationDelivery>