org.wso2.carbon.device.mgt.mobile.dao.impl
Class MobileDeviceDAOImpl
java.lang.Object
org.wso2.carbon.device.mgt.mobile.dao.impl.MobileDeviceDAOImpl
- All Implemented Interfaces:
- MobileDeviceDAO
public class MobileDeviceDAOImpl
- extends Object
- implements MobileDeviceDAO
Implementation of MobileDeviceDAO.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MobileDeviceDAOImpl
public MobileDeviceDAOImpl(DataSource dataSource)
getMobileDevice
public MobileDevice getMobileDevice(String deviceId)
throws MobileDeviceManagementDAOException
- Specified by:
getMobileDevice in interface MobileDeviceDAO
- Throws:
MobileDeviceManagementDAOException
addMobileDevice
public boolean addMobileDevice(MobileDevice mobileDevice)
throws MobileDeviceManagementDAOException
- Specified by:
addMobileDevice in interface MobileDeviceDAO
- Throws:
MobileDeviceManagementDAOException
updateMobileDevice
public boolean updateMobileDevice(MobileDevice mobileDevice)
throws MobileDeviceManagementDAOException
- Specified by:
updateMobileDevice in interface MobileDeviceDAO
- Throws:
MobileDeviceManagementDAOException
deleteMobileDevice
public boolean deleteMobileDevice(String deviceId)
throws MobileDeviceManagementDAOException
- Specified by:
deleteMobileDevice in interface MobileDeviceDAO
- Throws:
MobileDeviceManagementDAOException
getAllMobileDevices
public List<MobileDevice> getAllMobileDevices()
throws MobileDeviceManagementDAOException
- Specified by:
getAllMobileDevices in interface MobileDeviceDAO
- Throws:
MobileDeviceManagementDAOException
Copyright © 2015 WSO2. All rights reserved.