public class UserNotificationEventWrapper extends BaseModelWrapper<UserNotificationEvent> implements ModelWrapper<UserNotificationEvent>, UserNotificationEvent
This class is a wrapper for UserNotificationEvent
.
UserNotificationEvent
,
Serialized Formmodel
USER_NOTIFICATION_EVENT_ID_ACCESSOR
Constructor and Description |
---|
UserNotificationEventWrapper(UserNotificationEvent userNotificationEvent) |
Modifier and Type | Method and Description |
---|---|
UserNotificationEvent |
cloneWithOriginalValues() |
boolean |
getActionRequired()
Returns the action required of this user notification event.
|
boolean |
getArchived()
Returns the archived of this user notification event.
|
long |
getCompanyId()
Returns the company ID of this user notification event.
|
long |
getDeliverBy()
Returns the deliver by of this user notification event.
|
boolean |
getDelivered()
Returns the delivered of this user notification event.
|
int |
getDeliveryType()
Returns the delivery type of this user notification event.
|
Map<String,Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this user notification event.
|
String |
getPayload()
Returns the payload of this user notification event.
|
long |
getPrimaryKey()
Returns the primary key of this user notification event.
|
long |
getTimestamp()
Returns the timestamp of this user notification event.
|
String |
getType()
Returns the type of this user notification event.
|
long |
getUserId()
Returns the user ID of this user notification event.
|
long |
getUserNotificationEventId()
Returns the user notification event ID of this user notification event.
|
String |
getUserUuid()
Returns the user uuid of this user notification event.
|
String |
getUuid()
Returns the uuid of this user notification event.
|
boolean |
isActionRequired()
Returns
true if this user notification event is action required. |
boolean |
isArchived()
Returns
true if this user notification event is archived. |
boolean |
isDelivered()
Returns
true 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 |
setType(String type)
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 |
setUuid(String uuid)
Sets the uuid of this user notification event.
|
protected UserNotificationEventWrapper |
wrap(UserNotificationEvent userNotificationEvent) |
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 UserNotificationEventWrapper(UserNotificationEvent userNotificationEvent)
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<UserNotificationEvent>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<UserNotificationEvent>
public UserNotificationEvent cloneWithOriginalValues()
cloneWithOriginalValues
in interface BaseModel<UserNotificationEvent>
cloneWithOriginalValues
in interface UserNotificationEventModel
public boolean getActionRequired()
getActionRequired
in interface UserNotificationEventModel
public boolean getArchived()
getArchived
in interface UserNotificationEventModel
public long getCompanyId()
getCompanyId
in interface ShardedModel
getCompanyId
in interface UserNotificationEventModel
public long getDeliverBy()
getDeliverBy
in interface UserNotificationEventModel
public boolean getDelivered()
getDelivered
in interface UserNotificationEventModel
public int getDeliveryType()
getDeliveryType
in interface UserNotificationEventModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface UserNotificationEventModel
public String getPayload()
getPayload
in interface UserNotificationEventModel
public long getPrimaryKey()
getPrimaryKey
in interface UserNotificationEventModel
public long getTimestamp()
getTimestamp
in interface UserNotificationEventModel
public String getType()
getType
in interface UserNotificationEventModel
public long getUserId()
getUserId
in interface UserNotificationEventModel
public long getUserNotificationEventId()
getUserNotificationEventId
in interface UserNotificationEventModel
public String getUserUuid()
getUserUuid
in interface UserNotificationEventModel
public String getUuid()
getUuid
in interface UserNotificationEventModel
public boolean isActionRequired()
true
if this user notification event is action required.isActionRequired
in interface UserNotificationEventModel
true
if this user notification event is action required; false
otherwisepublic boolean isArchived()
true
if this user notification event is archived.isArchived
in interface UserNotificationEventModel
true
if this user notification event is archived; false
otherwisepublic boolean isDelivered()
true
if this user notification event is delivered.isDelivered
in interface UserNotificationEventModel
true
if this user notification event is delivered; false
otherwisepublic void persist()
PersistedModel
persist
in interface PersistedModel
public void setActionRequired(boolean actionRequired)
setActionRequired
in interface UserNotificationEventModel
actionRequired
- the action required of this user notification eventpublic void setArchived(boolean archived)
setArchived
in interface UserNotificationEventModel
archived
- the archived of this user notification eventpublic void setCompanyId(long companyId)
setCompanyId
in interface ShardedModel
setCompanyId
in interface UserNotificationEventModel
companyId
- the company ID of this user notification eventpublic void setDeliverBy(long deliverBy)
setDeliverBy
in interface UserNotificationEventModel
deliverBy
- the deliver by of this user notification eventpublic void setDelivered(boolean delivered)
setDelivered
in interface UserNotificationEventModel
delivered
- the delivered of this user notification eventpublic void setDeliveryType(int deliveryType)
setDeliveryType
in interface UserNotificationEventModel
deliveryType
- the delivery type of this user notification eventpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface UserNotificationEventModel
mvccVersion
- the mvcc version of this user notification eventpublic void setPayload(String payload)
setPayload
in interface UserNotificationEventModel
payload
- the payload of this user notification eventpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface UserNotificationEventModel
primaryKey
- the primary key of this user notification eventpublic void setTimestamp(long timestamp)
setTimestamp
in interface UserNotificationEventModel
timestamp
- the timestamp of this user notification eventpublic void setType(String type)
setType
in interface UserNotificationEventModel
type
- the type of this user notification eventpublic void setUserId(long userId)
setUserId
in interface UserNotificationEventModel
userId
- the user ID of this user notification eventpublic void setUserNotificationEventId(long userNotificationEventId)
setUserNotificationEventId
in interface UserNotificationEventModel
userNotificationEventId
- the user notification event ID of this user notification eventpublic void setUserUuid(String userUuid)
setUserUuid
in interface UserNotificationEventModel
userUuid
- the user uuid of this user notification eventpublic void setUuid(String uuid)
setUuid
in interface UserNotificationEventModel
uuid
- the uuid of this user notification eventprotected UserNotificationEventWrapper wrap(UserNotificationEvent userNotificationEvent)
wrap
in class BaseModelWrapper<UserNotificationEvent>