public class DeviceServiceImpl extends Object implements DeviceService
| Constructor and Description |
|---|
DeviceServiceImpl(org.exoplatform.container.xml.InitParams initParams,
DeviceDao deviceDao) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteDevice(Device device) |
void |
deleteDevicesWithExpiredToken() |
Device |
getDeviceById(Long deviceId) |
Device |
getDeviceByToken(String token) |
List<Device> |
getDevicesByUser(String username) |
void |
saveDevice(Device device) |
public DeviceServiceImpl(org.exoplatform.container.xml.InitParams initParams,
DeviceDao deviceDao)
public void saveDevice(Device device)
saveDevice in interface DeviceServicepublic void deleteDevice(Device device)
deleteDevice in interface DeviceServicepublic Device getDeviceById(Long deviceId)
getDeviceById in interface DeviceServicepublic List<Device> getDevicesByUser(String username)
getDevicesByUser in interface DeviceServicepublic Device getDeviceByToken(String token)
getDeviceByToken in interface DeviceServicepublic void deleteDevicesWithExpiredToken()
deleteDevicesWithExpiredToken in interface DeviceServiceCopyright © 2003–2020 eXo Platform SAS. All rights reserved.