|
||||||||||
| 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.MobileOperationPropertyDAOImpl
public class MobileOperationPropertyDAOImpl
Implementation of MobileOperationPropertyDAO.
| Constructor Summary | |
|---|---|
MobileOperationPropertyDAOImpl(DataSource dataSource)
|
|
| Method Summary | |
|---|---|
boolean |
addMobileOperationProperty(MobileOperationProperty operationProperty)
Add a new mapping to plugin operation property table. |
boolean |
deleteMobileOperationProperties(int operationId)
Deletes mobile operation properties of a given operation id from the plugin database. |
List<MobileOperationProperty> |
getAllMobileOperationPropertiesOfOperation(int operationId)
Retrieve all the mobile operation properties related to the a operation id. |
MobileOperationProperty |
getMobileOperationProperty(int operationId,
String property)
Retrieve a given mobile operation property from plugin database. |
boolean |
updateMobileOperationProperty(MobileOperationProperty operationProperty)
Update a feature in the feature table. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MobileOperationPropertyDAOImpl(DataSource dataSource)
| Method Detail |
|---|
public boolean addMobileOperationProperty(MobileOperationProperty operationProperty)
throws MobileDeviceManagementDAOException
MobileOperationPropertyDAO
addMobileOperationProperty in interface MobileOperationPropertyDAOoperationProperty - OperationProperty object that holds data related to the operation
property to be inserted.
MobileDeviceManagementDAOException
public boolean updateMobileOperationProperty(MobileOperationProperty operationProperty)
throws MobileDeviceManagementDAOException
MobileOperationPropertyDAO
updateMobileOperationProperty in interface MobileOperationPropertyDAOoperationProperty - DeviceOperation object that holds data has to be updated.
MobileDeviceManagementDAOException
public boolean deleteMobileOperationProperties(int operationId)
throws MobileDeviceManagementDAOException
MobileOperationPropertyDAO
deleteMobileOperationProperties in interface MobileOperationPropertyDAOoperationId - Operation id of the mapping to be deleted.
MobileDeviceManagementDAOException
public MobileOperationProperty getMobileOperationProperty(int operationId,
String property)
throws MobileDeviceManagementDAOException
MobileOperationPropertyDAO
getMobileOperationProperty in interface MobileOperationPropertyDAOoperationId - Operation id of the mapping to be retrieved.property - Property of the mapping to be retrieved.
MobileDeviceManagementDAOException
public List<MobileOperationProperty> getAllMobileOperationPropertiesOfOperation(int operationId)
throws MobileDeviceManagementDAOException
MobileOperationPropertyDAO
getAllMobileOperationPropertiesOfOperation in interface MobileOperationPropertyDAOoperationId - Operation id of the mapping to be retrieved.
MobileDeviceManagementDAOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||