@Repository public class DeviceDaoImpl extends Object implements DeviceDao
| Constructor and Description |
|---|
DeviceDaoImpl() |
| Modifier and Type | Method and Description |
|---|---|
int |
countAndroidDevices() |
Long |
countDevices() |
int |
countDevicesWithoutNetworkID() |
int |
countIOSDevices() |
boolean |
doesDeviceHaveUsername(String deviceid) |
List<Device> |
findAllAndroidDevices() |
List<Device> |
findAllDevices() |
List<Device> |
findAlliOSDevices() |
Device |
findDeviceByDeviceId(String deviceid) |
Device |
findDeviceById(Long id) |
List<Device> |
findDevicesByDeviceId(String deviceid) |
List<Device> |
findDevicesById(String id) |
List<Device> |
findDevicesByRegId(String regid) |
List<Device> |
findDevicesByUsername(String username) |
List<Device> |
findDevicesWithoutUsername() |
javax.persistence.EntityManager |
getEntityManager() |
void |
registerDevice(Device device) |
boolean |
removeDevice(Device device) |
void |
setEntityManager(javax.persistence.EntityManager entityManager) |
public DeviceDaoImpl()
public List<Device> findAllDevices()
findAllDevices in interface DeviceDaopublic List<Device> findAlliOSDevices()
findAlliOSDevices in interface DeviceDaopublic List<Device> findAllAndroidDevices()
findAllAndroidDevices in interface DeviceDaopublic List<Device> findDevicesByUsername(String username)
findDevicesByUsername in interface DeviceDaopublic boolean doesDeviceHaveUsername(String deviceid)
doesDeviceHaveUsername in interface DeviceDaopublic List<Device> findDevicesWithoutUsername()
findDevicesWithoutUsername in interface DeviceDaopublic List<Device> findDevicesById(String id)
findDevicesById in interface DeviceDaopublic List<Device> findDevicesByRegId(String regid)
findDevicesByRegId in interface DeviceDaopublic List<Device> findDevicesByDeviceId(String deviceid)
findDevicesByDeviceId in interface DeviceDaopublic Device findDeviceByDeviceId(String deviceid)
findDeviceByDeviceId in interface DeviceDaopublic Device findDeviceById(Long id)
findDeviceById in interface DeviceDaopublic boolean removeDevice(Device device)
removeDevice in interface DeviceDaopublic void registerDevice(Device device)
registerDevice in interface DeviceDaopublic Long countDevices()
countDevices in interface DeviceDaopublic int countIOSDevices()
countIOSDevices in interface DeviceDaopublic int countAndroidDevices()
countAndroidDevices in interface DeviceDaopublic int countDevicesWithoutNetworkID()
countDevicesWithoutNetworkID in interface DeviceDaopublic javax.persistence.EntityManager getEntityManager()
public void setEntityManager(javax.persistence.EntityManager entityManager)
Copyright © 2011-2013 The Kuali Foundation. All Rights Reserved.