@ProviderType public interface UserNotificationEventModel extends BaseModel<UserNotificationEvent>, MVCCModel, ShardedModel
This interface and its corresponding implementation com.liferay.portal.model.impl.UserNotificationEventModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portal.model.impl.UserNotificationEventImpl.
UserNotificationEvent,
com.liferay.portal.model.impl.UserNotificationEventImpl,
com.liferay.portal.model.impl.UserNotificationEventModelImpl| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(UserNotificationEvent userNotificationEvent) |
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.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
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.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
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.
|
int |
hashCode() |
boolean |
isActionRequired()
Returns
true if this user notification event is action required. |
boolean |
isArchived()
Returns
true if this user notification event is archived. |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isDelivered()
Returns
true if this user notification event is delivered. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
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 |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
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 |
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 |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this user notification event.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
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 |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
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.
|
CacheModel<UserNotificationEvent> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
UserNotificationEvent |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
String |
toString() |
UserNotificationEvent |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributesgetModelClass, getModelClassNamelong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this user notification eventlong getMvccVersion()
getMvccVersion in interface MVCCModelvoid setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this user notification event@AutoEscape String getUuid()
void setUuid(String uuid)
uuid - the uuid of this user notification eventlong getUserNotificationEventId()
void setUserNotificationEventId(long userNotificationEventId)
userNotificationEventId - the user notification event ID of this user notification eventlong getCompanyId()
getCompanyId in interface ShardedModelvoid setCompanyId(long companyId)
setCompanyId in interface ShardedModelcompanyId - the company ID of this user notification eventlong getUserId()
void setUserId(long userId)
userId - the user ID of this user notification eventString getUserUuid()
void setUserUuid(String userUuid)
userUuid - the user uuid of this user notification event@AutoEscape String getType()
void setType(String type)
type - the type of this user notification eventlong getTimestamp()
void setTimestamp(long timestamp)
timestamp - the timestamp of this user notification eventint getDeliveryType()
void setDeliveryType(int deliveryType)
deliveryType - the delivery type of this user notification eventlong getDeliverBy()
void setDeliverBy(long deliverBy)
deliverBy - the deliver by of this user notification eventboolean getDelivered()
boolean isDelivered()
true if this user notification event is delivered.true if this user notification event is delivered; false otherwisevoid setDelivered(boolean delivered)
delivered - the delivered of this user notification event@AutoEscape String getPayload()
void setPayload(String payload)
payload - the payload of this user notification eventboolean getActionRequired()
boolean isActionRequired()
true if this user notification event is action required.true if this user notification event is action required; false otherwisevoid setActionRequired(boolean actionRequired)
actionRequired - the action required of this user notification eventboolean getArchived()
boolean isArchived()
true if this user notification event is archived.true if this user notification event is archived; false otherwisevoid setArchived(boolean archived)
archived - the archived of this user notification eventboolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<UserNotificationEvent>true if this model instance does not yet exist in
the database; false otherwisevoid setNew(boolean n)
BaseModelsetNew in interface BaseModel<UserNotificationEvent>n - whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<UserNotificationEvent>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<UserNotificationEvent>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<UserNotificationEvent>true if this model instance is escaped;
false otherwiseSerializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<UserNotificationEvent>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<UserNotificationEvent>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<UserNotificationEvent>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<UserNotificationEvent>void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<UserNotificationEvent>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<UserNotificationEvent>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()Object clone()
BaseModelclone in interface BaseModel<UserNotificationEvent>int compareTo(UserNotificationEvent userNotificationEvent)
compareTo in interface Comparable<UserNotificationEvent>CacheModel<UserNotificationEvent> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<UserNotificationEvent>UserNotificationEvent toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<UserNotificationEvent>AutoEscapeBeanHandlerUserNotificationEvent toUnescapedModel()
toUnescapedModel in interface BaseModel<UserNotificationEvent>String toXmlString()
BaseModeltoXmlString in interface BaseModel<UserNotificationEvent>