org.wso2.carbon.device.mgt.mobile.dao
Interface MobileDeviceDAO

All Known Implementing Classes:
MobileDeviceDAOImpl

public interface MobileDeviceDAO

This class represents the key operations associated with persisting mobile-device related information.


Method Summary
 boolean addMobileDevice(MobileDevice mobileDevice)
           
 boolean deleteMobileDevice(String deviceId)
           
 List<MobileDevice> getAllMobileDevices()
           
 MobileDevice getMobileDevice(String deviceId)
           
 boolean updateMobileDevice(MobileDevice mobileDevice)
           
 

Method Detail

getMobileDevice

MobileDevice getMobileDevice(String deviceId)
                             throws MobileDeviceManagementDAOException
Throws:
MobileDeviceManagementDAOException

addMobileDevice

boolean addMobileDevice(MobileDevice mobileDevice)
                        throws MobileDeviceManagementDAOException
Throws:
MobileDeviceManagementDAOException

updateMobileDevice

boolean updateMobileDevice(MobileDevice mobileDevice)
                           throws MobileDeviceManagementDAOException
Throws:
MobileDeviceManagementDAOException

deleteMobileDevice

boolean deleteMobileDevice(String deviceId)
                           throws MobileDeviceManagementDAOException
Throws:
MobileDeviceManagementDAOException

getAllMobileDevices

List<MobileDevice> getAllMobileDevices()
                                       throws MobileDeviceManagementDAOException
Throws:
MobileDeviceManagementDAOException


Copyright © 2015 WSO2. All rights reserved.