net.sourceforge.apphere.dao
Interface DeviceDAO
- All Known Subinterfaces:
- TestImplMBean
- All Known Implementing Classes:
- TestDeviceDAO, TestImpl
- public interface DeviceDAO
- Author:
- Dewi Roberts
Chimera - Institute for Socio-Technical Innovation and Research
University of Essex
addDevice
public int addDevice(DeviceValue deviceVal)
throws AppHereException
- Throws:
AppHereException
updateDevice
public void updateDevice(DeviceValue deviceVal)
throws AppHereException
- Throws:
AppHereException
removeDevice
public void removeDevice(int userId,
int deviceId)
throws AppHereException
- Throws:
AppHereException
getDevice
public Device getDevice(int userId,
int deviceId)
throws AppHereException
- Throws:
AppHereException
getDevices
public java.util.List getDevices(int userId)
throws AppHereException
- Throws:
AppHereException
getDevice
public Device getDevice(java.net.InetAddress ip)
throws AppHereException
- Throws:
AppHereException