Class DeviceEntityImpl
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntity
com.flowable.engage.engine.impl.persistence.entity.AbstractEngageEngineEntity
com.flowable.engage.engine.impl.persistence.entity.DeviceEntityImpl
- All Implemented Interfaces:
Device
,DeviceEntity
,HasRevision
,Entity
- Author:
- Filip Hrisafov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected Date
protected String
protected String
protected boolean
protected String
protected String
protected String
protected String
protected Date
protected String
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe id of the application that this device is registered forThe time when the device was createdThe id of the user that created the token.The operating system of the deviceThe tenant id of the devicegetToken()
The token of the device that should be used when sending out notifications to it.The type of the encoding for the device.The id of the user that last updated the deviceThe time when the device was last updatedThe id of the user that this device belongs toboolean
Whether the device is enabled (i.e.void
setApplicationId
(String applicationId) void
setCreationTime
(Date creationTime) void
setCreatorId
(String creatorId) void
setDeviceOS
(String deviceOS) void
setEnabled
(boolean enabled) void
setTenantId
(String tenantId) void
void
setTokenEncoding
(String tokenEncoding) void
setUpdaterId
(String updaterId) void
setUpdateTime
(Date updateTime) void
Methods inherited from class com.flowable.engage.engine.impl.persistence.entity.AbstractEngageEngineEntity
getIdPrefix
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
getId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdated
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
Methods inherited from interface org.flowable.common.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevision
-
Field Details
-
token
-
tokenEncoding
-
enabled
protected boolean enabled -
deviceOS
-
userId
-
applicationId
-
creatorId
-
creationTime
-
updaterId
-
updateTime
-
tenantId
-
-
Constructor Details
-
DeviceEntityImpl
public DeviceEntityImpl()
-
-
Method Details
-
getToken
Description copied from interface:Device
The token of the device that should be used when sending out notifications to it. -
setToken
- Specified by:
setToken
in interfaceDeviceEntity
-
getTokenEncoding
Description copied from interface:Device
The type of the encoding for the device.- Specified by:
getTokenEncoding
in interfaceDevice
- Returns:
- the encoding of the device token
-
setTokenEncoding
- Specified by:
setTokenEncoding
in interfaceDeviceEntity
-
isEnabled
public boolean isEnabled()Description copied from interface:Device
Whether the device is enabled (i.e. can receive notifications) -
setEnabled
public void setEnabled(boolean enabled) - Specified by:
setEnabled
in interfaceDeviceEntity
-
getDeviceOS
Description copied from interface:Device
The operating system of the device- Specified by:
getDeviceOS
in interfaceDevice
- Returns:
- the operating system of the device
-
setDeviceOS
- Specified by:
setDeviceOS
in interfaceDeviceEntity
-
getUserId
Description copied from interface:Device
The id of the user that this device belongs to -
setUserId
- Specified by:
setUserId
in interfaceDeviceEntity
-
getApplicationId
Description copied from interface:Device
The id of the application that this device is registered for- Specified by:
getApplicationId
in interfaceDevice
- Returns:
- the id of the application that the device is registered for
-
setApplicationId
- Specified by:
setApplicationId
in interfaceDeviceEntity
-
getCreatorId
Description copied from interface:Device
The id of the user that created the token.- Specified by:
getCreatorId
in interfaceDevice
- Returns:
- the id of the creator
-
setCreatorId
- Specified by:
setCreatorId
in interfaceDeviceEntity
-
getCreationTime
Description copied from interface:Device
The time when the device was created- Specified by:
getCreationTime
in interfaceDevice
- Returns:
- the creation time of the device
-
setCreationTime
- Specified by:
setCreationTime
in interfaceDeviceEntity
-
getUpdaterId
Description copied from interface:Device
The id of the user that last updated the device- Specified by:
getUpdaterId
in interfaceDevice
- Returns:
- the id of the updater
-
setUpdaterId
- Specified by:
setUpdaterId
in interfaceDeviceEntity
-
getUpdateTime
Description copied from interface:Device
The time when the device was last updated- Specified by:
getUpdateTime
in interfaceDevice
- Returns:
- the last update time of the device
-
setUpdateTime
- Specified by:
setUpdateTime
in interfaceDeviceEntity
-
getTenantId
Description copied from interface:Device
The tenant id of the device- Specified by:
getTenantId
in interfaceDevice
- Returns:
- the id of the tenant for the device
-
setTenantId
- Specified by:
setTenantId
in interfaceDeviceEntity
-
getPersistentState
- Specified by:
getPersistentState
in interfaceEntity
-