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
modelFields inherited from interface com.liferay.portal.kernel.model.UserNotificationEvent
USER_NOTIFICATION_EVENT_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the action required of this user notification event.booleanReturns the archived of this user notification event.longReturns the company ID of this user notification event.longReturns the deliver by of this user notification event.booleanReturns the delivered of this user notification event.intReturns the delivery type of this user notification event.longReturns the mvcc version of this user notification event.Returns the payload of this user notification event.longReturns the primary key of this user notification event.longReturns the timestamp of this user notification event.getType()Returns the type of this user notification event.longReturns the user ID of this user notification event.longReturns 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.booleanReturnstrueif this user notification event is action required.booleanReturnstrueif this user notification event is archived.booleanReturnstrueif this user notification event is delivered.voidpersist()Updates this model instance in the database or adds it if it does not yet exist.voidsetActionRequired(boolean actionRequired) Sets whether this user notification event is action required.voidsetArchived(boolean archived) Sets whether this user notification event is archived.voidsetCompanyId(long companyId) Sets the company ID of this user notification event.voidsetDeliverBy(long deliverBy) Sets the deliver by of this user notification event.voidsetDelivered(boolean delivered) Sets whether this user notification event is delivered.voidsetDeliveryType(int deliveryType) Sets the delivery type of this user notification event.voidsetModelAttributes(Map<String, Object> attributes) voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this user notification event.voidsetPayload(String payload) Sets the payload of this user notification event.voidsetPrimaryKey(long primaryKey) Sets the primary key of this user notification event.voidsetTimestamp(long timestamp) Sets the timestamp of this user notification event.voidSets the type of this user notification event.voidsetUserId(long userId) Sets the user ID of this user notification event.voidsetUserNotificationEventId(long userNotificationEventId) Sets the user notification event ID of this user notification event.voidsetUserUuid(String userUuid) Sets the user uuid of this user notification event.voidSets the uuid of this user notification event.protected UserNotificationEventWrapperwrap(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, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
UserNotificationEventWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<UserNotificationEvent>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<UserNotificationEvent>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<UserNotificationEvent>- Specified by:
cloneWithOriginalValuesin interfaceUserNotificationEventModel
-
getActionRequired
public boolean getActionRequired()Returns the action required of this user notification event.- Specified by:
getActionRequiredin interfaceUserNotificationEventModel- Returns:
- the action required of this user notification event
-
getArchived
public boolean getArchived()Returns the archived of this user notification event.- Specified by:
getArchivedin interfaceUserNotificationEventModel- Returns:
- the archived of this user notification event
-
getCompanyId
public long getCompanyId()Returns the company ID of this user notification event.- Specified by:
getCompanyIdin interfaceShardedModel- Specified by:
getCompanyIdin 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:
getDeliverByin interfaceUserNotificationEventModel- Returns:
- the deliver by of this user notification event
-
getDelivered
public boolean getDelivered()Returns the delivered of this user notification event.- Specified by:
getDeliveredin interfaceUserNotificationEventModel- Returns:
- the delivered of this user notification event
-
getDeliveryType
public int getDeliveryType()Returns the delivery type of this user notification event.- Specified by:
getDeliveryTypein 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:
getMvccVersionin interfaceMVCCModel- Specified by:
getMvccVersionin interfaceUserNotificationEventModel- Returns:
- the mvcc version of this user notification event
-
getPayload
Returns the payload of this user notification event.- Specified by:
getPayloadin interfaceUserNotificationEventModel- Returns:
- the payload of this user notification event
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this user notification event.- Specified by:
getPrimaryKeyin interfaceUserNotificationEventModel- Returns:
- the primary key of this user notification event
-
getTimestamp
public long getTimestamp()Returns the timestamp of this user notification event.- Specified by:
getTimestampin interfaceUserNotificationEventModel- Returns:
- the timestamp of this user notification event
-
getType
Returns the type of this user notification event.- Specified by:
getTypein interfaceUserNotificationEventModel- Returns:
- the type of this user notification event
-
getUserId
public long getUserId()Returns the user ID of this user notification event.- Specified by:
getUserIdin 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:
getUserNotificationEventIdin interfaceUserNotificationEventModel- Returns:
- the user notification event ID of this user notification event
-
getUserUuid
Returns the user uuid of this user notification event.- Specified by:
getUserUuidin interfaceUserNotificationEventModel- Returns:
- the user uuid of this user notification event
-
getUuid
Returns the uuid of this user notification event.- Specified by:
getUuidin interfaceUserNotificationEventModel- Returns:
- the uuid of this user notification event
-
isActionRequired
public boolean isActionRequired()Returnstrueif this user notification event is action required.- Specified by:
isActionRequiredin interfaceUserNotificationEventModel- Returns:
trueif this user notification event is action required;falseotherwise
-
isArchived
public boolean isArchived()Returnstrueif this user notification event is archived.- Specified by:
isArchivedin interfaceUserNotificationEventModel- Returns:
trueif this user notification event is archived;falseotherwise
-
isDelivered
public boolean isDelivered()Returnstrueif this user notification event is delivered.- Specified by:
isDeliveredin interfaceUserNotificationEventModel- Returns:
trueif this user notification event is delivered;falseotherwise
-
persist
public void persist()Description copied from interface:PersistedModelUpdates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persistin interfacePersistedModel
-
setActionRequired
public void setActionRequired(boolean actionRequired) Sets whether this user notification event is action required.- Specified by:
setActionRequiredin 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:
setArchivedin 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:
setCompanyIdin interfaceShardedModel- Specified by:
setCompanyIdin 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:
setDeliverByin 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:
setDeliveredin 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:
setDeliveryTypein 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:
setMvccVersionin interfaceMVCCModel- Specified by:
setMvccVersionin interfaceUserNotificationEventModel- Parameters:
mvccVersion- the mvcc version of this user notification event
-
setPayload
Sets the payload of this user notification event.- Specified by:
setPayloadin 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:
setPrimaryKeyin 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:
setTimestampin interfaceUserNotificationEventModel- Parameters:
timestamp- the timestamp of this user notification event
-
setType
Sets the type of this user notification event.- Specified by:
setTypein 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:
setUserIdin 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:
setUserNotificationEventIdin 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:
setUserUuidin interfaceUserNotificationEventModel- Parameters:
userUuid- the user uuid of this user notification event
-
setUuid
Sets the uuid of this user notification event.- Specified by:
setUuidin interfaceUserNotificationEventModel- Parameters:
uuid- the uuid of this user notification event
-
toXmlString
- Specified by:
toXmlStringin interfaceUserNotificationEventModel
-
wrap
- Specified by:
wrapin classBaseModelWrapper<UserNotificationEvent>
-