public interface MobileFeatureDAO
Modifier and Type | Method and Description |
---|---|
boolean |
addFeature(MobileFeature mobileFeature)
Adds a new MobileFeature to Mobile-Feature table.
|
boolean |
addFeatures(List<MobileFeature> mobileFeatures)
Adda a list of MobileFeatures to Mobile-Feature table.
|
boolean |
deleteFeatureByCode(String mblFeatureCode)
Deletes a MobileFeature from Mobile-Feature table when the feature code is given.
|
boolean |
deleteFeatureById(int mblFeatureId)
Deletes a MobileFeature from Mobile-Feature table when the feature id is given.
|
List<MobileFeature> |
getAllFeatures()
Retrieve all the MobileFeatures from Mobile-Feature table.
|
MobileFeature |
getFeatureByCode(String mblFeatureCode)
Retrieves a given MobileFeature from Mobile-Feature table when the feature code is given.
|
List<MobileFeature> |
getFeatureByDeviceType(String deviceType)
Retrieves all MobileFeatures of a MobileDevice type from Mobile-Feature table.
|
MobileFeature |
getFeatureById(int mblFeatureId)
Retrieves a given MobileFeature from Mobile-Feature table when the feature id is given.
|
boolean |
updateFeature(MobileFeature mobileFeature)
Updates a MobileFeature in Mobile-Feature table.
|
boolean addFeature(MobileFeature mobileFeature) throws MobileDeviceManagementDAOException
mobileFeature
- MobileFeature object that holds data related to the feature to be inserted.MobileDeviceManagementDAOException
boolean addFeatures(List<MobileFeature> mobileFeatures) throws MobileDeviceManagementDAOException
mobileFeatures
- List of MobileFeature objects.MobileDeviceManagementDAOException
boolean updateFeature(MobileFeature mobileFeature) throws MobileDeviceManagementDAOException
mobileFeature
- MobileFeature object that holds data has to be updated.MobileDeviceManagementDAOException
boolean deleteFeatureById(int mblFeatureId) throws MobileDeviceManagementDAOException
mblFeatureId
- MobileFeature id of the MobileFeature to be deleted.MobileDeviceManagementDAOException
boolean deleteFeatureByCode(String mblFeatureCode) throws MobileDeviceManagementDAOException
mblFeatureCode
- MobileFeature code of the feature to be deleted.MobileDeviceManagementDAOException
MobileFeature getFeatureById(int mblFeatureId) throws MobileDeviceManagementDAOException
mblFeatureId
- Feature id of the feature to be retrieved.MobileDeviceManagementDAOException
MobileFeature getFeatureByCode(String mblFeatureCode) throws MobileDeviceManagementDAOException
mblFeatureCode
- Feature code of the feature to be retrieved.MobileDeviceManagementDAOException
List<MobileFeature> getFeatureByDeviceType(String deviceType) throws MobileDeviceManagementDAOException
deviceType
- MobileDevice type of the MobileFeatures to be retrievedMobileDeviceManagementDAOException
List<MobileFeature> getAllFeatures() throws MobileDeviceManagementDAOException
MobileDeviceManagementDAOException
Copyright © 2017 WSO2. All rights reserved.