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 Stringprotected Dateprotected Stringprotected Stringprotected booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected Dateprotected StringFields 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 tobooleanWhether the device is enabled (i.e.voidsetApplicationId(String applicationId) voidsetCreationTime(Date creationTime) voidsetCreatorId(String creatorId) voidsetDeviceOS(String deviceOS) voidsetEnabled(boolean enabled) voidsetTenantId(String tenantId) voidvoidsetTokenEncoding(String tokenEncoding) voidsetUpdaterId(String updaterId) voidsetUpdateTime(Date updateTime) voidMethods inherited from class com.flowable.engage.engine.impl.persistence.entity.AbstractEngageEngineEntity
getIdPrefixMethods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
getId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdatedMethods 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:DeviceThe token of the device that should be used when sending out notifications to it. -
setToken
- Specified by:
setTokenin interfaceDeviceEntity
-
getTokenEncoding
Description copied from interface:DeviceThe type of the encoding for the device.- Specified by:
getTokenEncodingin interfaceDevice- Returns:
- the encoding of the device token
-
setTokenEncoding
- Specified by:
setTokenEncodingin interfaceDeviceEntity
-
isEnabled
public boolean isEnabled()Description copied from interface:DeviceWhether the device is enabled (i.e. can receive notifications) -
setEnabled
public void setEnabled(boolean enabled) - Specified by:
setEnabledin interfaceDeviceEntity
-
getDeviceOS
Description copied from interface:DeviceThe operating system of the device- Specified by:
getDeviceOSin interfaceDevice- Returns:
- the operating system of the device
-
setDeviceOS
- Specified by:
setDeviceOSin interfaceDeviceEntity
-
getUserId
Description copied from interface:DeviceThe id of the user that this device belongs to -
setUserId
- Specified by:
setUserIdin interfaceDeviceEntity
-
getApplicationId
Description copied from interface:DeviceThe id of the application that this device is registered for- Specified by:
getApplicationIdin interfaceDevice- Returns:
- the id of the application that the device is registered for
-
setApplicationId
- Specified by:
setApplicationIdin interfaceDeviceEntity
-
getCreatorId
Description copied from interface:DeviceThe id of the user that created the token.- Specified by:
getCreatorIdin interfaceDevice- Returns:
- the id of the creator
-
setCreatorId
- Specified by:
setCreatorIdin interfaceDeviceEntity
-
getCreationTime
Description copied from interface:DeviceThe time when the device was created- Specified by:
getCreationTimein interfaceDevice- Returns:
- the creation time of the device
-
setCreationTime
- Specified by:
setCreationTimein interfaceDeviceEntity
-
getUpdaterId
Description copied from interface:DeviceThe id of the user that last updated the device- Specified by:
getUpdaterIdin interfaceDevice- Returns:
- the id of the updater
-
setUpdaterId
- Specified by:
setUpdaterIdin interfaceDeviceEntity
-
getUpdateTime
Description copied from interface:DeviceThe time when the device was last updated- Specified by:
getUpdateTimein interfaceDevice- Returns:
- the last update time of the device
-
setUpdateTime
- Specified by:
setUpdateTimein interfaceDeviceEntity
-
getTenantId
Description copied from interface:DeviceThe tenant id of the device- Specified by:
getTenantIdin interfaceDevice- Returns:
- the id of the tenant for the device
-
setTenantId
- Specified by:
setTenantIdin interfaceDeviceEntity
-
getPersistentState
- Specified by:
getPersistentStatein interfaceEntity
-