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.MobileDeviceManagementDAOException
boolean addMobileDevice(MobileDevice mobileDevice) throws MobileDeviceManagementDAOException
mobileDevice
- MobileDevice to be added.MobileDeviceManagementDAOException
boolean updateMobileDevice(MobileDevice mobileDevice) throws MobileDeviceManagementDAOException
mobileDevice
- MobileDevice to be updated.MobileDeviceManagementDAOException
boolean deleteMobileDevice(String mblDeviceId) throws MobileDeviceManagementDAOException
mblDeviceId
- Id of MobileDevice to be deleted.MobileDeviceManagementDAOException
List<MobileDevice> getAllMobileDevices() throws MobileDeviceManagementDAOException
MobileDeviceManagementDAOException
Copyright © 2017 WSO2. All rights reserved.