public class AndroidDeviceDAOImpl extends Object implements MobileDeviceDAO
| Constructor and Description |
|---|
AndroidDeviceDAOImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addMobileDevice(MobileDevice mobileDevice)
Adds a new MobileDevice to the MDM database.
|
boolean |
deleteMobileDevice(String mblDeviceId)
Deletes a given MobileDevice from MDM database.
|
List<MobileDevice> |
getAllMobileDevices()
Fetches all MobileDevices from MDM database.
|
MobileDevice |
getMobileDevice(String mblDeviceId)
Fetches a MobileDevice from MDM database.
|
boolean |
updateMobileDevice(MobileDevice mobileDevice)
Updates MobileDevice information in MDM database.
|
public MobileDevice getMobileDevice(String mblDeviceId) throws MobileDeviceManagementDAOException
MobileDeviceDAOgetMobileDevice in interface MobileDeviceDAOmblDeviceId - Id of the Mobile-Device.MobileDeviceManagementDAOExceptionpublic boolean addMobileDevice(MobileDevice mobileDevice) throws MobileDeviceManagementDAOException
MobileDeviceDAOaddMobileDevice in interface MobileDeviceDAOmobileDevice - MobileDevice to be added.MobileDeviceManagementDAOExceptionpublic boolean updateMobileDevice(MobileDevice mobileDevice) throws MobileDeviceManagementDAOException
MobileDeviceDAOupdateMobileDevice in interface MobileDeviceDAOmobileDevice - MobileDevice to be updated.MobileDeviceManagementDAOExceptionpublic boolean deleteMobileDevice(String mblDeviceId) throws MobileDeviceManagementDAOException
MobileDeviceDAOdeleteMobileDevice in interface MobileDeviceDAOmblDeviceId - Id of MobileDevice to be deleted.MobileDeviceManagementDAOExceptionpublic List<MobileDevice> getAllMobileDevices() throws MobileDeviceManagementDAOException
MobileDeviceDAOgetAllMobileDevices in interface MobileDeviceDAOMobileDeviceManagementDAOExceptionCopyright © 2017 WSO2. All rights reserved.