Class PushNotificationsDeviceWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<PushNotificationsDevice>
com.liferay.push.notifications.model.PushNotificationsDeviceWrapper
All Implemented Interfaces:
com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ModelWrapper<PushNotificationsDevice>, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, PushNotificationsDevice, PushNotificationsDeviceModel, Serializable, Cloneable, Comparable<PushNotificationsDevice>

public class PushNotificationsDeviceWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<PushNotificationsDevice> implements com.liferay.portal.kernel.model.ModelWrapper<PushNotificationsDevice>, PushNotificationsDevice

This class is a wrapper for PushNotificationsDevice.

See Also:
Generated:
  • Field Summary

    Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    model

    Fields inherited from interface com.liferay.push.notifications.model.PushNotificationsDevice

    PUSH_NOTIFICATIONS_DEVICE_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    long
    Returns the company ID of this push notifications device.
    Returns the create date of this push notifications device.
     
    Returns the platform of this push notifications device.
    long
    Returns the primary key of this push notifications device.
    long
    Returns the push notifications device ID of this push notifications device.
    Returns the token of this push notifications device.
    long
    Returns the user ID of this push notifications device.
    Returns the user uuid of this push notifications device.
    void
     
    void
    setCompanyId(long companyId)
    Sets the company ID of this push notifications device.
    void
    setCreateDate(Date createDate)
    Sets the create date of this push notifications device.
    void
     
    void
    setPlatform(String platform)
    Sets the platform of this push notifications device.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this push notifications device.
    void
    setPushNotificationsDeviceId(long pushNotificationsDeviceId)
    Sets the push notifications device ID of this push notifications device.
    void
    Sets the token of this push notifications device.
    void
    setUserId(long userId)
    Sets the user ID of this push notifications device.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this push notifications device.
     
    wrap(PushNotificationsDevice pushNotificationsDevice)
     

    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, toUnescapedModel

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods 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, toUnescapedModel

    Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel

    getModelClass, getModelClassName

    Methods inherited from interface java.lang.Comparable

    compareTo

    Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper

    getWrappedModel
  • Constructor Details

    • PushNotificationsDeviceWrapper

      public PushNotificationsDeviceWrapper(PushNotificationsDevice pushNotificationsDevice)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
    • cloneWithOriginalValues

      public PushNotificationsDevice cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
      Specified by:
      cloneWithOriginalValues in interface PushNotificationsDeviceModel
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this push notifications device.
      Specified by:
      getCompanyId in interface PushNotificationsDeviceModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this push notifications device
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this push notifications device.
      Specified by:
      getCreateDate in interface PushNotificationsDeviceModel
      Returns:
      the create date of this push notifications device
    • getPlatform

      public String getPlatform()
      Returns the platform of this push notifications device.
      Specified by:
      getPlatform in interface PushNotificationsDeviceModel
      Returns:
      the platform of this push notifications device
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this push notifications device.
      Specified by:
      getPrimaryKey in interface PushNotificationsDeviceModel
      Returns:
      the primary key of this push notifications device
    • getPushNotificationsDeviceId

      public long getPushNotificationsDeviceId()
      Returns the push notifications device ID of this push notifications device.
      Specified by:
      getPushNotificationsDeviceId in interface PushNotificationsDeviceModel
      Returns:
      the push notifications device ID of this push notifications device
    • getToken

      public String getToken()
      Returns the token of this push notifications device.
      Specified by:
      getToken in interface PushNotificationsDeviceModel
      Returns:
      the token of this push notifications device
    • getUserId

      public long getUserId()
      Returns the user ID of this push notifications device.
      Specified by:
      getUserId in interface PushNotificationsDeviceModel
      Returns:
      the user ID of this push notifications device
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this push notifications device.
      Specified by:
      getUserUuid in interface PushNotificationsDeviceModel
      Returns:
      the user uuid of this push notifications device
    • persist

      public void persist()
      Specified by:
      persist in interface com.liferay.portal.kernel.model.PersistedModel
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this push notifications device.
      Specified by:
      setCompanyId in interface PushNotificationsDeviceModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this push notifications device
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this push notifications device.
      Specified by:
      setCreateDate in interface PushNotificationsDeviceModel
      Parameters:
      createDate - the create date of this push notifications device
    • setPlatform

      public void setPlatform(String platform)
      Sets the platform of this push notifications device.
      Specified by:
      setPlatform in interface PushNotificationsDeviceModel
      Parameters:
      platform - the platform of this push notifications device
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this push notifications device.
      Specified by:
      setPrimaryKey in interface PushNotificationsDeviceModel
      Parameters:
      primaryKey - the primary key of this push notifications device
    • setPushNotificationsDeviceId

      public void setPushNotificationsDeviceId(long pushNotificationsDeviceId)
      Sets the push notifications device ID of this push notifications device.
      Specified by:
      setPushNotificationsDeviceId in interface PushNotificationsDeviceModel
      Parameters:
      pushNotificationsDeviceId - the push notifications device ID of this push notifications device
    • setToken

      public void setToken(String token)
      Sets the token of this push notifications device.
      Specified by:
      setToken in interface PushNotificationsDeviceModel
      Parameters:
      token - the token of this push notifications device
    • setUserId

      public void setUserId(long userId)
      Sets the user ID of this push notifications device.
      Specified by:
      setUserId in interface PushNotificationsDeviceModel
      Parameters:
      userId - the user ID of this push notifications device
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this push notifications device.
      Specified by:
      setUserUuid in interface PushNotificationsDeviceModel
      Parameters:
      userUuid - the user uuid of this push notifications device
    • toXmlString

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

      protected PushNotificationsDeviceWrapper wrap(PushNotificationsDevice pushNotificationsDevice)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<PushNotificationsDevice>