@ProviderType public interface PushNotificationsDeviceModel extends com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>, com.liferay.portal.kernel.model.ShardedModel
This interface and its corresponding implementation com.liferay.push.notifications.model.impl.PushNotificationsDeviceModelImpl
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.push.notifications.model.impl.PushNotificationsDeviceImpl
.
PushNotificationsDevice
,
com.liferay.push.notifications.model.impl.PushNotificationsDeviceImpl
,
com.liferay.push.notifications.model.impl.PushNotificationsDeviceModelImpl
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
compareTo(PushNotificationsDevice pushNotificationsDevice) |
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.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.
|
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEscapedModel() |
boolean |
isNew() |
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 |
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() |
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this push notifications devicelong getPushNotificationsDeviceId()
void setPushNotificationsDeviceId(long pushNotificationsDeviceId)
pushNotificationsDeviceId
- the push notifications device ID of this push notifications devicelong getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this push notifications devicelong getUserId()
void setUserId(long userId)
userId
- the user ID of this push notifications devicejava.lang.String getUserUuid()
void setUserUuid(java.lang.String userUuid)
userUuid
- the user uuid of this push notifications devicejava.util.Date getCreateDate()
void setCreateDate(java.util.Date createDate)
createDate
- the create date of this push notifications device@AutoEscape java.lang.String getPlatform()
void setPlatform(java.lang.String platform)
platform
- the platform of this push notifications device@AutoEscape java.lang.String getToken()
void setToken(java.lang.String token)
token
- the token of this push notifications deviceboolean isNew()
isNew
in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
void setNew(boolean n)
setNew
in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
boolean isCachedModel()
isCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
void setCachedModel(boolean cachedModel)
setCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
boolean isEscapedModel()
isEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
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
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
void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
java.lang.Object clone()
clone
in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
int compareTo(PushNotificationsDevice pushNotificationsDevice)
compareTo
in interface java.lang.Comparable<PushNotificationsDevice>
int hashCode()
hashCode
in class java.lang.Object
com.liferay.portal.kernel.model.CacheModel<PushNotificationsDevice> toCacheModel()
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
PushNotificationsDevice toEscapedModel()
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
PushNotificationsDevice toUnescapedModel()
toUnescapedModel
in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>
java.lang.String toString()
toString
in class java.lang.Object
java.lang.String toXmlString()
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<PushNotificationsDevice>