Package com.liferay.portal.kernel.model
Interface UserNotificationEventModel
- All Superinterfaces:
BaseModel<UserNotificationEvent>
,ClassedModel
,Cloneable
,Comparable<UserNotificationEvent>
,MVCCModel
,Serializable
,ShardedModel
- All Known Subinterfaces:
UserNotificationEvent
- All Known Implementing Classes:
UserNotificationEventWrapper
@ProviderType
public interface UserNotificationEventModel
extends BaseModel<UserNotificationEvent>, MVCCModel, ShardedModel
The base model interface for the UserNotificationEvent service. Represents a row in the "UserNotificationEvent" database table, with each column mapped to a property of this class.
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
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
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
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
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.default String
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, 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
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this user notification event.- Returns:
- the primary key of this user notification event
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this user notification event.- Parameters:
primaryKey
- the primary key of this user notification event
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this user notification event.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this user notification event
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this user notification event.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this user notification event
-
getUuid
Returns the uuid of this user notification event.- Returns:
- the uuid of this user notification event
-
setUuid
Sets the uuid of this user notification event.- Parameters:
uuid
- the uuid of this user notification event
-
getUserNotificationEventId
long getUserNotificationEventId()Returns the user notification event ID of this user notification event.- Returns:
- the user notification event ID of this user notification event
-
setUserNotificationEventId
void setUserNotificationEventId(long userNotificationEventId) Sets the user notification event ID of this user notification event.- Parameters:
userNotificationEventId
- the user notification event ID of this user notification event
-
getCompanyId
long getCompanyId()Returns the company ID of this user notification event.- Specified by:
getCompanyId
in interfaceShardedModel
- Returns:
- the company ID of this user notification event
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this user notification event.- Specified by:
setCompanyId
in interfaceShardedModel
- Parameters:
companyId
- the company ID of this user notification event
-
getUserId
long getUserId()Returns the user ID of this user notification event.- Returns:
- the user ID of this user notification event
-
setUserId
void setUserId(long userId) Sets the user ID of this user notification event.- Parameters:
userId
- the user ID of this user notification event
-
getUserUuid
String getUserUuid()Returns the user uuid of this user notification event.- Returns:
- the user uuid of this user notification event
-
setUserUuid
Sets the user uuid of this user notification event.- Parameters:
userUuid
- the user uuid of this user notification event
-
getType
Returns the type of this user notification event.- Returns:
- the type of this user notification event
-
setType
Sets the type of this user notification event.- Parameters:
type
- the type of this user notification event
-
getTimestamp
long getTimestamp()Returns the timestamp of this user notification event.- Returns:
- the timestamp of this user notification event
-
setTimestamp
void setTimestamp(long timestamp) Sets the timestamp of this user notification event.- Parameters:
timestamp
- the timestamp of this user notification event
-
getDeliveryType
int getDeliveryType()Returns the delivery type of this user notification event.- Returns:
- the delivery type of this user notification event
-
setDeliveryType
void setDeliveryType(int deliveryType) Sets the delivery type of this user notification event.- Parameters:
deliveryType
- the delivery type of this user notification event
-
getDeliverBy
long getDeliverBy()Returns the deliver by of this user notification event.- Returns:
- the deliver by of this user notification event
-
setDeliverBy
void setDeliverBy(long deliverBy) Sets the deliver by of this user notification event.- Parameters:
deliverBy
- the deliver by of this user notification event
-
getDelivered
boolean getDelivered()Returns the delivered of this user notification event.- Returns:
- the delivered of this user notification event
-
isDelivered
boolean isDelivered()Returnstrue
if this user notification event is delivered.- Returns:
true
if this user notification event is delivered;false
otherwise
-
setDelivered
void setDelivered(boolean delivered) Sets whether this user notification event is delivered.- Parameters:
delivered
- the delivered of this user notification event
-
getPayload
Returns the payload of this user notification event.- Returns:
- the payload of this user notification event
-
setPayload
Sets the payload of this user notification event.- Parameters:
payload
- the payload of this user notification event
-
getActionRequired
boolean getActionRequired()Returns the action required of this user notification event.- Returns:
- the action required of this user notification event
-
isActionRequired
boolean isActionRequired()Returnstrue
if this user notification event is action required.- Returns:
true
if this user notification event is action required;false
otherwise
-
setActionRequired
void setActionRequired(boolean actionRequired) Sets whether this user notification event is action required.- Parameters:
actionRequired
- the action required of this user notification event
-
getArchived
boolean getArchived()Returns the archived of this user notification event.- Returns:
- the archived of this user notification event
-
isArchived
boolean isArchived()Returnstrue
if this user notification event is archived.- Returns:
true
if this user notification event is archived;false
otherwise
-
setArchived
void setArchived(boolean archived) Sets whether this user notification event is archived.- Parameters:
archived
- the archived of this user notification event
-
cloneWithOriginalValues
UserNotificationEvent cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<UserNotificationEvent>
-
toXmlString
-