Package com.liferay.portal.kernel.model
Class UserNotificationEventWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<UserNotificationEvent>
com.liferay.portal.kernel.model.UserNotificationEventWrapper
- All Implemented Interfaces:
BaseModel<UserNotificationEvent>
,ClassedModel
,ModelWrapper<UserNotificationEvent>
,MVCCModel
,PersistedModel
,ShardedModel
,UserNotificationEvent
,UserNotificationEventModel
,Serializable
,Cloneable
,Comparable<UserNotificationEvent>
public class UserNotificationEventWrapper
extends BaseModelWrapper<UserNotificationEvent>
implements ModelWrapper<UserNotificationEvent>, UserNotificationEvent
This class is a wrapper for UserNotificationEvent
.
- 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.UserNotificationEvent
USER_NOTIFICATION_EVENT_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the action required of this user notification event.boolean
Returns the archived of this user notification event.long
Returns the company ID of this user notification event.long
Returns the deliver by of this user notification event.boolean
Returns the delivered of this user notification event.int
Returns the delivery type of this user notification event.long
Returns the mvcc version of this user notification event.Returns the payload of this user notification event.long
Returns the primary key of this user notification event.long
Returns the timestamp of this user notification event.getType()
Returns the type of this user notification event.long
Returns the user ID of this user notification event.long
Returns the user notification event ID of this user notification event.Returns the user uuid of this user notification event.getUuid()
Returns the uuid of this user notification event.boolean
Returnstrue
if this user notification event is action required.boolean
Returnstrue
if this user notification event is archived.boolean
Returnstrue
if this user notification event is delivered.void
persist()
Updates this model instance in the database or adds it if it does not yet exist.void
setActionRequired
(boolean actionRequired) Sets whether this user notification event is action required.void
setArchived
(boolean archived) Sets whether this user notification event is archived.void
setCompanyId
(long companyId) Sets the company ID of this user notification event.void
setDeliverBy
(long deliverBy) Sets the deliver by of this user notification event.void
setDelivered
(boolean delivered) Sets whether this user notification event is delivered.void
setDeliveryType
(int deliveryType) Sets the delivery type of this user notification event.void
setModelAttributes
(Map<String, Object> attributes) void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this user notification event.void
setPayload
(String payload) Sets the payload of this user notification event.void
setPrimaryKey
(long primaryKey) Sets the primary key of this user notification event.void
setTimestamp
(long timestamp) Sets the timestamp of this user notification event.void
Sets the type of this user notification event.void
setUserId
(long userId) Sets the user ID of this user notification event.void
setUserNotificationEventId
(long userNotificationEventId) Sets the user notification event ID of this user notification event.void
setUserUuid
(String userUuid) Sets the user uuid of this user notification event.void
Sets the uuid of this user notification event.protected UserNotificationEventWrapper
wrap
(UserNotificationEvent userNotificationEvent) 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
-
UserNotificationEventWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<UserNotificationEvent>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<UserNotificationEvent>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<UserNotificationEvent>
- Specified by:
cloneWithOriginalValues
in interfaceUserNotificationEventModel
-
getActionRequired
public boolean getActionRequired()Returns the action required of this user notification event.- Specified by:
getActionRequired
in interfaceUserNotificationEventModel
- Returns:
- the action required of this user notification event
-
getArchived
public boolean getArchived()Returns the archived of this user notification event.- Specified by:
getArchived
in interfaceUserNotificationEventModel
- Returns:
- the archived of this user notification event
-
getCompanyId
public long getCompanyId()Returns the company ID of this user notification event.- Specified by:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in interfaceUserNotificationEventModel
- Returns:
- the company ID of this user notification event
-
getDeliverBy
public long getDeliverBy()Returns the deliver by of this user notification event.- Specified by:
getDeliverBy
in interfaceUserNotificationEventModel
- Returns:
- the deliver by of this user notification event
-
getDelivered
public boolean getDelivered()Returns the delivered of this user notification event.- Specified by:
getDelivered
in interfaceUserNotificationEventModel
- Returns:
- the delivered of this user notification event
-
getDeliveryType
public int getDeliveryType()Returns the delivery type of this user notification event.- Specified by:
getDeliveryType
in interfaceUserNotificationEventModel
- Returns:
- the delivery type of this user notification event
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this user notification event.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Specified by:
getMvccVersion
in interfaceUserNotificationEventModel
- Returns:
- the mvcc version of this user notification event
-
getPayload
Returns the payload of this user notification event.- Specified by:
getPayload
in interfaceUserNotificationEventModel
- Returns:
- the payload of this user notification event
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this user notification event.- Specified by:
getPrimaryKey
in interfaceUserNotificationEventModel
- Returns:
- the primary key of this user notification event
-
getTimestamp
public long getTimestamp()Returns the timestamp of this user notification event.- Specified by:
getTimestamp
in interfaceUserNotificationEventModel
- Returns:
- the timestamp of this user notification event
-
getType
Returns the type of this user notification event.- Specified by:
getType
in interfaceUserNotificationEventModel
- Returns:
- the type of this user notification event
-
getUserId
public long getUserId()Returns the user ID of this user notification event.- Specified by:
getUserId
in interfaceUserNotificationEventModel
- Returns:
- the user ID of this user notification event
-
getUserNotificationEventId
public long getUserNotificationEventId()Returns the user notification event ID of this user notification event.- Specified by:
getUserNotificationEventId
in interfaceUserNotificationEventModel
- Returns:
- the user notification event ID of this user notification event
-
getUserUuid
Returns the user uuid of this user notification event.- Specified by:
getUserUuid
in interfaceUserNotificationEventModel
- Returns:
- the user uuid of this user notification event
-
getUuid
Returns the uuid of this user notification event.- Specified by:
getUuid
in interfaceUserNotificationEventModel
- Returns:
- the uuid of this user notification event
-
isActionRequired
public boolean isActionRequired()Returnstrue
if this user notification event is action required.- Specified by:
isActionRequired
in interfaceUserNotificationEventModel
- Returns:
true
if this user notification event is action required;false
otherwise
-
isArchived
public boolean isArchived()Returnstrue
if this user notification event is archived.- Specified by:
isArchived
in interfaceUserNotificationEventModel
- Returns:
true
if this user notification event is archived;false
otherwise
-
isDelivered
public boolean isDelivered()Returnstrue
if this user notification event is delivered.- Specified by:
isDelivered
in interfaceUserNotificationEventModel
- Returns:
true
if this user notification event is delivered;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
-
setActionRequired
public void setActionRequired(boolean actionRequired) Sets whether this user notification event is action required.- Specified by:
setActionRequired
in interfaceUserNotificationEventModel
- Parameters:
actionRequired
- the action required of this user notification event
-
setArchived
public void setArchived(boolean archived) Sets whether this user notification event is archived.- Specified by:
setArchived
in interfaceUserNotificationEventModel
- Parameters:
archived
- the archived of this user notification event
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this user notification event.- Specified by:
setCompanyId
in interfaceShardedModel
- Specified by:
setCompanyId
in interfaceUserNotificationEventModel
- Parameters:
companyId
- the company ID of this user notification event
-
setDeliverBy
public void setDeliverBy(long deliverBy) Sets the deliver by of this user notification event.- Specified by:
setDeliverBy
in interfaceUserNotificationEventModel
- Parameters:
deliverBy
- the deliver by of this user notification event
-
setDelivered
public void setDelivered(boolean delivered) Sets whether this user notification event is delivered.- Specified by:
setDelivered
in interfaceUserNotificationEventModel
- Parameters:
delivered
- the delivered of this user notification event
-
setDeliveryType
public void setDeliveryType(int deliveryType) Sets the delivery type of this user notification event.- Specified by:
setDeliveryType
in interfaceUserNotificationEventModel
- Parameters:
deliveryType
- the delivery type of this user notification event
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this user notification event.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Specified by:
setMvccVersion
in interfaceUserNotificationEventModel
- Parameters:
mvccVersion
- the mvcc version of this user notification event
-
setPayload
Sets the payload of this user notification event.- Specified by:
setPayload
in interfaceUserNotificationEventModel
- Parameters:
payload
- the payload of this user notification event
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this user notification event.- Specified by:
setPrimaryKey
in interfaceUserNotificationEventModel
- Parameters:
primaryKey
- the primary key of this user notification event
-
setTimestamp
public void setTimestamp(long timestamp) Sets the timestamp of this user notification event.- Specified by:
setTimestamp
in interfaceUserNotificationEventModel
- Parameters:
timestamp
- the timestamp of this user notification event
-
setType
Sets the type of this user notification event.- Specified by:
setType
in interfaceUserNotificationEventModel
- Parameters:
type
- the type of this user notification event
-
setUserId
public void setUserId(long userId) Sets the user ID of this user notification event.- Specified by:
setUserId
in interfaceUserNotificationEventModel
- Parameters:
userId
- the user ID of this user notification event
-
setUserNotificationEventId
public void setUserNotificationEventId(long userNotificationEventId) Sets the user notification event ID of this user notification event.- Specified by:
setUserNotificationEventId
in interfaceUserNotificationEventModel
- Parameters:
userNotificationEventId
- the user notification event ID of this user notification event
-
setUserUuid
Sets the user uuid of this user notification event.- Specified by:
setUserUuid
in interfaceUserNotificationEventModel
- Parameters:
userUuid
- the user uuid of this user notification event
-
setUuid
Sets the uuid of this user notification event.- Specified by:
setUuid
in interfaceUserNotificationEventModel
- Parameters:
uuid
- the uuid of this user notification event
-
toXmlString
- Specified by:
toXmlString
in interfaceUserNotificationEventModel
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<UserNotificationEvent>
-