public interface MobileDeviceDAO
| 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.
|
MobileDevice getMobileDevice(String mblDeviceId) throws MobileDeviceManagementDAOException
mblDeviceId - Id of the Mobile-Device.MobileDeviceManagementDAOExceptionboolean addMobileDevice(MobileDevice mobileDevice) throws MobileDeviceManagementDAOException
mobileDevice - MobileDevice to be added.MobileDeviceManagementDAOExceptionboolean updateMobileDevice(MobileDevice mobileDevice) throws MobileDeviceManagementDAOException
mobileDevice - MobileDevice to be updated.MobileDeviceManagementDAOExceptionboolean deleteMobileDevice(String mblDeviceId) throws MobileDeviceManagementDAOException
mblDeviceId - Id of MobileDevice to be deleted.MobileDeviceManagementDAOExceptionList<MobileDevice> getAllMobileDevices() throws MobileDeviceManagementDAOException
MobileDeviceManagementDAOExceptionCopyright © 2017 WSO2. All rights reserved.