|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wso2.carbon.device.mgt.mobile.dao.impl.MobileFeatureDAOImpl
public class MobileFeatureDAOImpl
Implementation of MobileFeatureDAO.
| Constructor Summary | |
|---|---|
MobileFeatureDAOImpl(DataSource dataSource)
|
|
| Method Summary | |
|---|---|
int |
addMobileFeature(MobileFeature mobileFeature)
Adds a new MobileFeature to Mobile-Feature table. |
boolean |
deleteMobileFeatureByCode(String mblFeatureCode)
Deletes a MobileFeature from Mobile-Feature table when the feature code is given. |
boolean |
deleteMobileFeatureById(int mblFeatureId)
Deletes a MobileFeature from Mobile-Feature table when the feature id is given. |
List<MobileFeature> |
getAllMobileFeatures()
Retrieve all the MobileFeatures from Mobile-Feature table. |
MobileFeature |
getMobileFeatureByCode(String mblFeatureCode)
Retrieves a given MobileFeature from Mobile-Feature table when the feature code is given. |
List<MobileFeature> |
getMobileFeatureByDeviceType(String deviceType)
Retrieves all MobileFeatures of a MobileDevice type from Mobile-Feature table. |
MobileFeature |
getMobileFeatureById(int mblFeatureId)
Retrieves a given MobileFeature from Mobile-Feature table when the feature id is given. |
boolean |
updateMobileFeature(MobileFeature mobileFeature)
Updates a MobileFeature in Mobile-Feature table. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MobileFeatureDAOImpl(DataSource dataSource)
| Method Detail |
|---|
public int addMobileFeature(MobileFeature mobileFeature)
throws MobileDeviceManagementDAOException
MobileFeatureDAO
addMobileFeature in interface MobileFeatureDAOmobileFeature - MobileFeature object that holds data related to the feature to be inserted.
MobileDeviceManagementDAOException
public boolean updateMobileFeature(MobileFeature mobileFeature)
throws MobileDeviceManagementDAOException
MobileFeatureDAO
updateMobileFeature in interface MobileFeatureDAOmobileFeature - MobileFeature object that holds data has to be updated.
MobileDeviceManagementDAOException
public boolean deleteMobileFeatureByCode(String mblFeatureCode)
throws MobileDeviceManagementDAOException
MobileFeatureDAO
deleteMobileFeatureByCode in interface MobileFeatureDAOmblFeatureCode - MobileFeature code of the feature to be deleted.
MobileDeviceManagementDAOException
public boolean deleteMobileFeatureById(int mblFeatureId)
throws MobileDeviceManagementDAOException
MobileFeatureDAO
deleteMobileFeatureById in interface MobileFeatureDAOmblFeatureId - MobileFeature id of the MobileFeature to be deleted.
MobileDeviceManagementDAOException
public MobileFeature getMobileFeatureByCode(String mblFeatureCode)
throws MobileDeviceManagementDAOException
MobileFeatureDAO
getMobileFeatureByCode in interface MobileFeatureDAOmblFeatureCode - Feature code of the feature to be retrieved.
MobileDeviceManagementDAOException
public MobileFeature getMobileFeatureById(int mblFeatureId)
throws MobileDeviceManagementDAOException
MobileFeatureDAO
getMobileFeatureById in interface MobileFeatureDAOmblFeatureId - Feature id of the feature to be retrieved.
MobileDeviceManagementDAOException
public List<MobileFeature> getAllMobileFeatures()
throws MobileDeviceManagementDAOException
MobileFeatureDAO
getAllMobileFeatures in interface MobileFeatureDAOMobileDeviceManagementDAOException
public List<MobileFeature> getMobileFeatureByDeviceType(String deviceType)
throws MobileDeviceManagementDAOException
MobileFeatureDAO
getMobileFeatureByDeviceType in interface MobileFeatureDAOdeviceType - MobileDevice type of the MobileFeatures to be retrieved
MobileDeviceManagementDAOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||