public class RaspberrypiDeviceDAO extends Object
| Constructor and Description |
|---|
RaspberrypiDeviceDAO() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addDevice(org.wso2.carbon.device.mgt.common.Device device) |
boolean |
deleteDevice(String iotDeviceId) |
List<org.wso2.carbon.device.mgt.common.Device> |
getAllDevices() |
org.wso2.carbon.device.mgt.common.Device |
getDevice(String iotDeviceId) |
boolean |
updateDevice(org.wso2.carbon.device.mgt.common.Device device) |
public org.wso2.carbon.device.mgt.common.Device getDevice(String iotDeviceId) throws RaspberrypiDeviceMgtPluginException
public boolean addDevice(org.wso2.carbon.device.mgt.common.Device device)
throws RaspberrypiDeviceMgtPluginException
public boolean updateDevice(org.wso2.carbon.device.mgt.common.Device device)
throws RaspberrypiDeviceMgtPluginException
public boolean deleteDevice(String iotDeviceId) throws RaspberrypiDeviceMgtPluginException
public List<org.wso2.carbon.device.mgt.common.Device> getAllDevices() throws RaspberrypiDeviceMgtPluginException
Copyright © 2016 WSO2. All rights reserved.