public class DeviceServiceImpl extends org.flowable.common.engine.impl.service.CommonEngineServiceImpl<EngageEngineConfiguration> implements DeviceService
| Constructor and Description | 
|---|
| DeviceServiceImpl(EngageEngineConfiguration configuration) | 
| Modifier and Type | Method and Description | 
|---|---|
| DeviceQuery | createDeviceQuery() | 
| DeviceRegistration | createDeviceRegistration() | 
| void | disableDevice(String deviceId)Disables the device with the given id. | 
| Device | enableDevice(String id,
            String userId,
            String tenantId)Enable the device and update the user and tenant assignment. | 
| Device | registerDevice(DeviceRegistrationImpl deviceRegistration) | 
| void | removeDevice(String deviceId) | 
getCommandExecutor, setCommandExecutorpublic DeviceServiceImpl(EngageEngineConfiguration configuration)
public DeviceRegistration createDeviceRegistration()
createDeviceRegistration in interface DeviceServicepublic DeviceQuery createDeviceQuery()
createDeviceQuery in interface DeviceServicepublic void removeDevice(String deviceId)
removeDevice in interface DeviceServicepublic void disableDevice(String deviceId)
DeviceServicedisableDevice in interface DeviceServicedeviceId - the id of the devicepublic Device enableDevice(String id, String userId, String tenantId)
DeviceServiceuserId or tenantId then the device user and tenant assignment won't be changed.enableDevice in interface DeviceServiceid - 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 assignedpublic Device registerDevice(DeviceRegistrationImpl deviceRegistration)
Copyright © 2019. All rights reserved.