Class DeviceServiceImpl
java.lang.Object
org.flowable.common.engine.impl.service.CommonServiceImpl<C>
org.flowable.common.engine.impl.service.CommonEngineServiceImpl<EngageEngineConfiguration>
com.flowable.engage.engine.impl.notification.push.DeviceServiceImpl
- All Implemented Interfaces:
DeviceService
public class DeviceServiceImpl
extends CommonEngineServiceImpl<EngageEngineConfiguration>
implements DeviceService
- Author:
- Filip Hrisafov
-
Field Summary
Fields inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
commandExecutorFields inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
configuration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddisableDevice(String deviceId) Disables the device with the given id.enableDevice(String id, String userId, String tenantId) Enable the device and update the user and tenant assignment.registerDevice(DeviceRegistrationImpl deviceRegistration) voidremoveDevice(String deviceId) Methods inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
getCommandExecutor, setCommandExecutorMethods inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
getConfiguration
-
Constructor Details
-
DeviceServiceImpl
-
-
Method Details
-
createDeviceRegistration
- Specified by:
createDeviceRegistrationin interfaceDeviceService
-
createDeviceQuery
- Specified by:
createDeviceQueryin interfaceDeviceService
-
removeDevice
- Specified by:
removeDevicein interfaceDeviceService
-
disableDevice
Description copied from interface:DeviceServiceDisables the device with the given id. If no device exists with the given id, nothing is done- Specified by:
disableDevicein interfaceDeviceService- Parameters:
deviceId- the id of the device
-
enableDevice
Description copied from interface:DeviceServiceEnable the device and update the user and tenant assignment. IfuserIdortenantIdthen the device user and tenant assignment won't be changed.- Specified by:
enableDevicein interfaceDeviceService- Parameters:
id- the id of the deviceuserId- the id of the user to which it should be assignedtenantId- the id of the tenant to which it should be assigned- Returns:
- the updated device
-
registerDevice
-