net.sourceforge.apphere.dao.mbeanclient
Class TestDeviceDAO
java.lang.Object
net.sourceforge.apphere.dao.mbeanclient.TestDeviceDAO
- All Implemented Interfaces:
- DeviceDAO
- public class TestDeviceDAO
- extends java.lang.Object
- implements DeviceDAO
- Author:
- Dewi Roberts
Chimera - Institute for Socio-Technical Innovation and Research
University of Essex
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestDeviceDAO
public TestDeviceDAO()
getDevice
public Device getDevice(int userId,
int deviceId)
throws AppHereException
- Specified by:
getDevice
in interface DeviceDAO
- Throws:
AppHereException
addDevice
public int addDevice(DeviceValue newDev)
throws AppHereException
- Specified by:
addDevice
in interface DeviceDAO
- Throws:
AppHereException
updateDevice
public void updateDevice(DeviceValue device)
throws AppHereException
- Specified by:
updateDevice
in interface DeviceDAO
- Throws:
AppHereException
removeDevice
public void removeDevice(int userId,
int deviceId)
throws AppHereException
- Specified by:
removeDevice
in interface DeviceDAO
- Throws:
AppHereException
getDevices
public java.util.List getDevices(int userId)
throws AppHereException
- Specified by:
getDevices
in interface DeviceDAO
- Throws:
AppHereException
getDevice
public Device getDevice(java.net.InetAddress ip)
throws AppHereException
- Specified by:
getDevice
in interface DeviceDAO
- Throws:
AppHereException