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}
  • Constructor Details

    • UserNotificationEventWrapper

      public UserNotificationEventWrapper(UserNotificationEvent userNotificationEvent)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface BaseModel<UserNotificationEvent>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface BaseModel<UserNotificationEvent>
    • cloneWithOriginalValues

      public UserNotificationEvent cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface BaseModel<UserNotificationEvent>
      Specified by:
      cloneWithOriginalValues in interface UserNotificationEventModel
    • getActionRequired

      public boolean getActionRequired()
      Returns the action required of this user notification event.
      Specified by:
      getActionRequired in interface UserNotificationEventModel
      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 interface UserNotificationEventModel
      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 interface ShardedModel
      Specified by:
      getCompanyId in interface UserNotificationEventModel
      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 interface UserNotificationEventModel
      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 interface UserNotificationEventModel
      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 interface UserNotificationEventModel
      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 interface MVCCModel
      Specified by:
      getMvccVersion in interface UserNotificationEventModel
      Returns:
      the mvcc version of this user notification event
    • getPayload

      public String getPayload()
      Returns the payload of this user notification event.
      Specified by:
      getPayload in interface UserNotificationEventModel
      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 interface UserNotificationEventModel
      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 interface UserNotificationEventModel
      Returns:
      the timestamp of this user notification event
    • getType

      public String getType()
      Returns the type of this user notification event.
      Specified by:
      getType in interface UserNotificationEventModel
      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 interface UserNotificationEventModel
      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 interface UserNotificationEventModel
      Returns:
      the user notification event ID of this user notification event
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this user notification event.
      Specified by:
      getUserUuid in interface UserNotificationEventModel
      Returns:
      the user uuid of this user notification event
    • getUuid

      public String getUuid()
      Returns the uuid of this user notification event.
      Specified by:
      getUuid in interface UserNotificationEventModel
      Returns:
      the uuid of this user notification event
    • isActionRequired

      public boolean isActionRequired()
      Returns true if this user notification event is action required.
      Specified by:
      isActionRequired in interface UserNotificationEventModel
      Returns:
      true if this user notification event is action required; false otherwise
    • isArchived

      public boolean isArchived()
      Returns true if this user notification event is archived.
      Specified by:
      isArchived in interface UserNotificationEventModel
      Returns:
      true if this user notification event is archived; false otherwise
    • isDelivered

      public boolean isDelivered()
      Returns true if this user notification event is delivered.
      Specified by:
      isDelivered in interface UserNotificationEventModel
      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 interface PersistedModel
    • setActionRequired

      public void setActionRequired(boolean actionRequired)
      Sets whether this user notification event is action required.
      Specified by:
      setActionRequired in interface UserNotificationEventModel
      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 interface UserNotificationEventModel
      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 interface ShardedModel
      Specified by:
      setCompanyId in interface UserNotificationEventModel
      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 interface UserNotificationEventModel
      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 interface UserNotificationEventModel
      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 interface UserNotificationEventModel
      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 interface MVCCModel
      Specified by:
      setMvccVersion in interface UserNotificationEventModel
      Parameters:
      mvccVersion - the mvcc version of this user notification event
    • setPayload

      public void setPayload(String payload)
      Sets the payload of this user notification event.
      Specified by:
      setPayload in interface UserNotificationEventModel
      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 interface UserNotificationEventModel
      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 interface UserNotificationEventModel
      Parameters:
      timestamp - the timestamp of this user notification event
    • setType

      public void setType(String type)
      Sets the type of this user notification event.
      Specified by:
      setType in interface UserNotificationEventModel
      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 interface UserNotificationEventModel
      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 interface UserNotificationEventModel
      Parameters:
      userNotificationEventId - the user notification event ID of this user notification event
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this user notification event.
      Specified by:
      setUserUuid in interface UserNotificationEventModel
      Parameters:
      userUuid - the user uuid of this user notification event
    • setUuid

      public void setUuid(String uuid)
      Sets the uuid of this user notification event.
      Specified by:
      setUuid in interface UserNotificationEventModel
      Parameters:
      uuid - the uuid of this user notification event
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface UserNotificationEventModel
    • wrap

      protected UserNotificationEventWrapper wrap(UserNotificationEvent userNotificationEvent)
      Specified by:
      wrap in class BaseModelWrapper<UserNotificationEvent>