|
||||||||||
| 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.MobileFeaturePropertyDAOImpl
public class MobileFeaturePropertyDAOImpl
Implementation of MobileFeaturePropertyDAO.
| Constructor Summary | |
|---|---|
MobileFeaturePropertyDAOImpl(DataSource dataSource)
|
|
| Method Summary | |
|---|---|
boolean |
addMobileFeatureProperty(MobileFeatureProperty mblFeatureProperty)
Add a new MobileFeatureProperty to MobileFeatureProperty table. |
boolean |
deleteMobileFeaturePropertiesOfFeature(Integer mblFeatureId)
Deletes MobileFeatureProperties of a given feature from MobileFeatureProperty table. |
boolean |
deleteMobileFeatureProperty(String property)
Deletes a given MobileFeatureProperty from MobileFeatureProperty table. |
List<MobileFeatureProperty> |
getFeaturePropertiesOfFeature(Integer mblFeatureId)
Retrieves a list of MobileFeatureProperties corresponds to a given feature id from MobileFeatureProperty table. |
MobileFeatureProperty |
getMobileFeatureProperty(String property)
Retrieves a given MobileFeatureProperty from MobileFeatureProperty table. |
boolean |
updateMobileFeatureProperty(MobileFeatureProperty mblFeatureProperty)
Updates a MobileFeatureProperty in the MobileFeatureProperty table. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MobileFeaturePropertyDAOImpl(DataSource dataSource)
| Method Detail |
|---|
public boolean addMobileFeatureProperty(MobileFeatureProperty mblFeatureProperty)
throws MobileDeviceManagementDAOException
MobileFeaturePropertyDAO
addMobileFeatureProperty in interface MobileFeaturePropertyDAOmblFeatureProperty - MobileFeatureProperty object that holds data related to the feature
property to be inserted.
MobileDeviceManagementDAOException
public boolean updateMobileFeatureProperty(MobileFeatureProperty mblFeatureProperty)
throws MobileDeviceManagementDAOException
MobileFeaturePropertyDAO
updateMobileFeatureProperty in interface MobileFeaturePropertyDAOmblFeatureProperty - MobileFeatureProperty object that holds data has to be updated.
MobileDeviceManagementDAOException
public boolean deleteMobileFeatureProperty(String property)
throws MobileDeviceManagementDAOException
MobileFeaturePropertyDAO
deleteMobileFeatureProperty in interface MobileFeaturePropertyDAOproperty - Property of the MobileFeatureProperty to be deleted.
MobileDeviceManagementDAOException
public boolean deleteMobileFeaturePropertiesOfFeature(Integer mblFeatureId)
throws MobileDeviceManagementDAOException
MobileFeaturePropertyDAO
deleteMobileFeaturePropertiesOfFeature in interface MobileFeaturePropertyDAOmblFeatureId - Feature-id of the MobileFeature corresponding properties should be deleted.
MobileDeviceManagementDAOException
public MobileFeatureProperty getMobileFeatureProperty(String property)
throws MobileDeviceManagementDAOException
MobileFeaturePropertyDAO
getMobileFeatureProperty in interface MobileFeaturePropertyDAOproperty - Property of the feature property to be retrieved.
MobileDeviceManagementDAOException
public List<MobileFeatureProperty> getFeaturePropertiesOfFeature(Integer mblFeatureId)
throws MobileDeviceManagementDAOException
MobileFeaturePropertyDAO
getFeaturePropertiesOfFeature in interface MobileFeaturePropertyDAOmblFeatureId - feature id of the MobileFeatureProperties to be retrieved.
MobileDeviceManagementDAOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||