org.wso2.carbon.device.mgt.mobile.dao.impl
Class MobileDeviceDAOImpl

java.lang.Object
  extended by org.wso2.carbon.device.mgt.mobile.dao.impl.MobileDeviceDAOImpl
All Implemented Interfaces:
MobileDeviceDAO

public class MobileDeviceDAOImpl
extends Object
implements MobileDeviceDAO

Implementation of MobileDeviceDAO.


Constructor Summary
MobileDeviceDAOImpl(DataSource dataSource)
           
 
Method Summary
 boolean addMobileDevice(MobileDevice mobileDevice)
           
 boolean deleteMobileDevice(String deviceId)
           
 List<MobileDevice> getAllMobileDevices()
           
 MobileDevice getMobileDevice(String deviceId)
           
 boolean updateMobileDevice(MobileDevice mobileDevice)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MobileDeviceDAOImpl

public MobileDeviceDAOImpl(DataSource dataSource)
Method Detail

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.