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.MobileDeviceManagementDAOExceptionboolean addFeatures(List<MobileFeature> mobileFeatures) throws MobileDeviceManagementDAOException
mobileFeatures - List of MobileFeature objects.MobileDeviceManagementDAOExceptionboolean updateFeature(MobileFeature mobileFeature) throws MobileDeviceManagementDAOException
mobileFeature - MobileFeature object that holds data has to be updated.MobileDeviceManagementDAOExceptionboolean deleteFeatureById(int mblFeatureId)
throws MobileDeviceManagementDAOException
mblFeatureId - MobileFeature id of the MobileFeature to be deleted.MobileDeviceManagementDAOExceptionboolean deleteFeatureByCode(String mblFeatureCode) throws MobileDeviceManagementDAOException
mblFeatureCode - MobileFeature code of the feature to be deleted.MobileDeviceManagementDAOExceptionMobileFeature getFeatureById(int mblFeatureId) throws MobileDeviceManagementDAOException
mblFeatureId - Feature id of the feature to be retrieved.MobileDeviceManagementDAOExceptionMobileFeature getFeatureByCode(String mblFeatureCode) throws MobileDeviceManagementDAOException
mblFeatureCode - Feature code of the feature to be retrieved.MobileDeviceManagementDAOExceptionList<MobileFeature> getFeatureByDeviceType(String deviceType) throws MobileDeviceManagementDAOException
deviceType - MobileDevice type of the MobileFeatures to be retrievedMobileDeviceManagementDAOExceptionList<MobileFeature> getAllFeatures() throws MobileDeviceManagementDAOException
MobileDeviceManagementDAOExceptionCopyright © 2017 WSO2. All rights reserved.