@ProviderType public class PushNotificationsDeviceWrapper extends java.lang.Object implements PushNotificationsDevice, com.liferay.portal.kernel.model.ModelWrapper<PushNotificationsDevice>
This class is a wrapper for PushNotificationsDevice
.
PushNotificationsDevice
,
Serialized FormPUSH_NOTIFICATIONS_DEVICE_ID_ACCESSOR
Constructor and Description |
---|
PushNotificationsDeviceWrapper(PushNotificationsDevice pushNotificationsDevice) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
compareTo(PushNotificationsDevice pushNotificationsDevice) |
boolean |
equals(java.lang.Object obj) |
long |
getCompanyId()
Returns the company ID of this push notifications device.
|
java.util.Date |
getCreateDate()
Returns the create date of this push notifications device.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.lang.String |
getPlatform()
Returns the platform of this push notifications device.
|
long |
getPrimaryKey()
Returns the primary key of this push notifications device.
|
java.io.Serializable |
getPrimaryKeyObj() |
long |
getPushNotificationsDeviceId()
Returns the push notifications device ID of this push notifications device.
|
java.lang.String |
getToken()
Returns the token of this push notifications device.
|
long |
getUserId()
Returns the user ID of this push notifications device.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this push notifications device.
|
PushNotificationsDevice |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isFinderCacheEnabled() |
boolean |
isNew() |
void |
persist() |
void |
resetOriginalValues() |
void |
setCachedModel(boolean cachedModel) |
void |
setCompanyId(long companyId)
Sets the company ID of this push notifications device.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this push notifications device.
|
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setNew(boolean n) |
void |
setPlatform(java.lang.String platform)
Sets the platform of this push notifications device.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this push notifications device.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setPushNotificationsDeviceId(long pushNotificationsDeviceId)
Sets the push notifications device ID of this push notifications device.
|
void |
setToken(java.lang.String token)
Sets the token of this push notifications device.
|
void |
setUserId(long userId)
Sets the user ID of this push notifications device.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this push notifications device.
|
com.liferay.portal.kernel.model.CacheModel<PushNotificationsDevice> |
toCacheModel() |
PushNotificationsDevice |
toEscapedModel() |
java.lang.String |
toString() |
PushNotificationsDevice |
toUnescapedModel() |
java.lang.String |
toXmlString() |
public PushNotificationsDeviceWrapper(PushNotificationsDevice pushNotificationsDevice)
public java.lang.Class<?> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
public java.lang.String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
public PushNotificationsDevice toEscapedModel()
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
toEscapedModel
in interface PushNotificationsDeviceModel
public PushNotificationsDevice toUnescapedModel()
toUnescapedModel
in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
toUnescapedModel
in interface PushNotificationsDeviceModel
public boolean isCachedModel()
isCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
isCachedModel
in interface PushNotificationsDeviceModel
public boolean isEscapedModel()
isEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
isEscapedModel
in interface PushNotificationsDeviceModel
public boolean isNew()
isNew
in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
isNew
in interface PushNotificationsDeviceModel
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
getExpandoBridge
in interface PushNotificationsDeviceModel
public com.liferay.portal.kernel.model.CacheModel<PushNotificationsDevice> toCacheModel()
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
toCacheModel
in interface PushNotificationsDeviceModel
public int compareTo(PushNotificationsDevice pushNotificationsDevice)
compareTo
in interface PushNotificationsDeviceModel
compareTo
in interface java.lang.Comparable<PushNotificationsDevice>
public int hashCode()
hashCode
in interface PushNotificationsDeviceModel
hashCode
in class java.lang.Object
public java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
getPrimaryKeyObj
in interface PushNotificationsDeviceModel
public java.lang.Object clone()
clone
in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
clone
in interface PushNotificationsDeviceModel
clone
in class java.lang.Object
public java.lang.String getPlatform()
getPlatform
in interface PushNotificationsDeviceModel
public java.lang.String getToken()
getToken
in interface PushNotificationsDeviceModel
public java.lang.String getUserUuid()
getUserUuid
in interface PushNotificationsDeviceModel
public java.lang.String toString()
toString
in interface PushNotificationsDeviceModel
toString
in class java.lang.Object
public java.lang.String toXmlString()
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
toXmlString
in interface PushNotificationsDeviceModel
public java.util.Date getCreateDate()
getCreateDate
in interface PushNotificationsDeviceModel
public long getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface PushNotificationsDeviceModel
public long getPrimaryKey()
getPrimaryKey
in interface PushNotificationsDeviceModel
public long getPushNotificationsDeviceId()
getPushNotificationsDeviceId
in interface PushNotificationsDeviceModel
public long getUserId()
getUserId
in interface PushNotificationsDeviceModel
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setCachedModel(boolean cachedModel)
setCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
setCachedModel
in interface PushNotificationsDeviceModel
public void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface PushNotificationsDeviceModel
companyId
- the company ID of this push notifications devicepublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface PushNotificationsDeviceModel
createDate
- the create date of this push notifications devicepublic void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
setExpandoBridgeAttributes
in interface PushNotificationsDeviceModel
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
setExpandoBridgeAttributes
in interface PushNotificationsDeviceModel
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
setExpandoBridgeAttributes
in interface PushNotificationsDeviceModel
public void setNew(boolean n)
setNew
in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
setNew
in interface PushNotificationsDeviceModel
public void setPlatform(java.lang.String platform)
setPlatform
in interface PushNotificationsDeviceModel
platform
- the platform of this push notifications devicepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface PushNotificationsDeviceModel
primaryKey
- the primary key of this push notifications devicepublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
setPrimaryKeyObj
in interface PushNotificationsDeviceModel
public void setPushNotificationsDeviceId(long pushNotificationsDeviceId)
setPushNotificationsDeviceId
in interface PushNotificationsDeviceModel
pushNotificationsDeviceId
- the push notifications device ID of this push notifications devicepublic void setToken(java.lang.String token)
setToken
in interface PushNotificationsDeviceModel
token
- the token of this push notifications devicepublic void setUserId(long userId)
setUserId
in interface PushNotificationsDeviceModel
userId
- the user ID of this push notifications devicepublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface PushNotificationsDeviceModel
userUuid
- the user uuid of this push notifications devicepublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public PushNotificationsDevice getWrappedModel()
getWrappedModel
in interface com.liferay.portal.kernel.model.ModelWrapper<PushNotificationsDevice>
public boolean isEntityCacheEnabled()
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
public boolean isFinderCacheEnabled()
isFinderCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
public void resetOriginalValues()
resetOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>