Package com.liferay.portal.kernel.model
Class UserNotificationDeliveryWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<UserNotificationDelivery>
com.liferay.portal.kernel.model.UserNotificationDeliveryWrapper
- All Implemented Interfaces:
BaseModel<UserNotificationDelivery>
,ClassedModel
,ModelWrapper<UserNotificationDelivery>
,MVCCModel
,PersistedModel
,ShardedModel
,TypedModel
,UserNotificationDelivery
,UserNotificationDeliveryModel
,Serializable
,Cloneable
,Comparable<UserNotificationDelivery>
public class UserNotificationDeliveryWrapper
extends BaseModelWrapper<UserNotificationDelivery>
implements ModelWrapper<UserNotificationDelivery>, UserNotificationDelivery
This class is a wrapper for UserNotificationDelivery
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.portal.kernel.model.UserNotificationDelivery
USER_NOTIFICATION_DELIVERY_ID_ACCESSOR
-
Constructor Summary
ConstructorsConstructorDescriptionUserNotificationDeliveryWrapper
(UserNotificationDelivery userNotificationDelivery) -
Method Summary
Modifier and TypeMethodDescriptionReturns the fully qualified class name of this user notification delivery.long
Returns the class name ID of this user notification delivery.long
Returns the company ID of this user notification delivery.boolean
Returns the deliver of this user notification delivery.int
Returns the delivery type of this user notification delivery.long
Returns the mvcc version of this user notification delivery.int
Returns the notification type of this user notification delivery.Returns the portlet ID of this user notification delivery.long
Returns the primary key of this user notification delivery.long
Returns the user ID of this user notification delivery.long
Returns the user notification delivery ID of this user notification delivery.Returns the user uuid of this user notification delivery.boolean
Returnstrue
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) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
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
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
UserNotificationDeliveryWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<UserNotificationDelivery>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<UserNotificationDelivery>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<UserNotificationDelivery>
- Specified by:
cloneWithOriginalValues
in interfaceUserNotificationDeliveryModel
-
getClassName
Returns the fully qualified class name of this user notification delivery.- Specified by:
getClassName
in interfaceTypedModel
- Specified by:
getClassName
in interfaceUserNotificationDeliveryModel
- Returns:
- the fully qualified class name of this user notification delivery
-
getClassNameId
public long getClassNameId()Returns the class name ID of this user notification delivery.- Specified by:
getClassNameId
in interfaceTypedModel
- Specified by:
getClassNameId
in interfaceUserNotificationDeliveryModel
- Returns:
- the class name ID of this user notification delivery
-
getCompanyId
public long getCompanyId()Returns the company ID of this user notification delivery.- Specified by:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in interfaceUserNotificationDeliveryModel
- Returns:
- the company ID of this user notification delivery
-
getDeliver
public boolean getDeliver()Returns the deliver of this user notification delivery.- Specified by:
getDeliver
in interfaceUserNotificationDeliveryModel
- Returns:
- the deliver of this user notification delivery
-
getDeliveryType
public int getDeliveryType()Returns the delivery type of this user notification delivery.- Specified by:
getDeliveryType
in interfaceUserNotificationDeliveryModel
- Returns:
- the delivery type of this user notification delivery
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this user notification delivery.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Specified by:
getMvccVersion
in interfaceUserNotificationDeliveryModel
- Returns:
- the mvcc version of this user notification delivery
-
getNotificationType
public int getNotificationType()Returns the notification type of this user notification delivery.- Specified by:
getNotificationType
in interfaceUserNotificationDeliveryModel
- Returns:
- the notification type of this user notification delivery
-
getPortletId
Returns the portlet ID of this user notification delivery.- Specified by:
getPortletId
in interfaceUserNotificationDeliveryModel
- Returns:
- the portlet ID of this user notification delivery
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this user notification delivery.- Specified by:
getPrimaryKey
in interfaceUserNotificationDeliveryModel
- Returns:
- the primary key of this user notification delivery
-
getUserId
public long getUserId()Returns the user ID of this user notification delivery.- Specified by:
getUserId
in interfaceUserNotificationDeliveryModel
- Returns:
- the user ID of this user notification delivery
-
getUserNotificationDeliveryId
public long getUserNotificationDeliveryId()Returns the user notification delivery ID of this user notification delivery.- Specified by:
getUserNotificationDeliveryId
in interfaceUserNotificationDeliveryModel
- Returns:
- the user notification delivery ID of this user notification delivery
-
getUserUuid
Returns the user uuid of this user notification delivery.- Specified by:
getUserUuid
in interfaceUserNotificationDeliveryModel
- Returns:
- the user uuid of this user notification delivery
-
isDeliver
public boolean isDeliver()Returnstrue
if this user notification delivery is deliver.- Specified by:
isDeliver
in interfaceUserNotificationDeliveryModel
- Returns:
true
if this user notification delivery is deliver;false
otherwise
-
persist
public void persist()Description copied from interface:PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persist
in interfacePersistedModel
-
setClassName
- Specified by:
setClassName
in interfaceUserNotificationDeliveryModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this user notification delivery.- Specified by:
setClassNameId
in interfaceTypedModel
- Specified by:
setClassNameId
in interfaceUserNotificationDeliveryModel
- Parameters:
classNameId
- the class name ID of this user notification delivery
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this user notification delivery.- Specified by:
setCompanyId
in interfaceShardedModel
- Specified by:
setCompanyId
in interfaceUserNotificationDeliveryModel
- Parameters:
companyId
- the company ID of this user notification delivery
-
setDeliver
public void setDeliver(boolean deliver) Sets whether this user notification delivery is deliver.- Specified by:
setDeliver
in interfaceUserNotificationDeliveryModel
- Parameters:
deliver
- the deliver of this user notification delivery
-
setDeliveryType
public void setDeliveryType(int deliveryType) Sets the delivery type of this user notification delivery.- Specified by:
setDeliveryType
in interfaceUserNotificationDeliveryModel
- Parameters:
deliveryType
- the delivery type of this user notification delivery
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this user notification delivery.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Specified by:
setMvccVersion
in interfaceUserNotificationDeliveryModel
- Parameters:
mvccVersion
- the mvcc version of this user notification delivery
-
setNotificationType
public void setNotificationType(int notificationType) Sets the notification type of this user notification delivery.- Specified by:
setNotificationType
in interfaceUserNotificationDeliveryModel
- Parameters:
notificationType
- the notification type of this user notification delivery
-
setPortletId
Sets the portlet ID of this user notification delivery.- Specified by:
setPortletId
in interfaceUserNotificationDeliveryModel
- Parameters:
portletId
- the portlet ID of this user notification delivery
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this user notification delivery.- Specified by:
setPrimaryKey
in interfaceUserNotificationDeliveryModel
- Parameters:
primaryKey
- the primary key of this user notification delivery
-
setUserId
public void setUserId(long userId) Sets the user ID of this user notification delivery.- Specified by:
setUserId
in interfaceUserNotificationDeliveryModel
- Parameters:
userId
- the user ID of this user notification delivery
-
setUserNotificationDeliveryId
public void setUserNotificationDeliveryId(long userNotificationDeliveryId) Sets the user notification delivery ID of this user notification delivery.- Specified by:
setUserNotificationDeliveryId
in interfaceUserNotificationDeliveryModel
- Parameters:
userNotificationDeliveryId
- the user notification delivery ID of this user notification delivery
-
setUserUuid
Sets the user uuid of this user notification delivery.- Specified by:
setUserUuid
in interfaceUserNotificationDeliveryModel
- Parameters:
userUuid
- the user uuid of this user notification delivery
-
toXmlString
- Specified by:
toXmlString
in interfaceUserNotificationDeliveryModel
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<UserNotificationDelivery>
-