Add device list method and chgange getDevice by Id method return type to device

This commit is contained in:
manoj 2014-12-12 20:00:57 +05:30
parent f16c1b47e2
commit aa2448dd0a

View File

@ -33,6 +33,8 @@ public interface DeviceDAO {
void deleteDevice(Long deviceId) throws DeviceManagementDAOException;
List<Device> getDeviceByDeviceId(Long deviceId) throws DeviceManagementDAOException;
Device getDeviceByDeviceId(Long deviceId) throws DeviceManagementDAOException;
List<Device> getDevices() throws DeviceManagementDAOException;
}