|
||||||||||
| 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.MobileOperationDAOImpl
public class MobileOperationDAOImpl
Implementation of MobileOperationDAO.
| Constructor Summary | |
|---|---|
MobileOperationDAOImpl(DataSource dataSource)
|
|
| Method Summary | |
|---|---|
int |
addMobileOperation(MobileOperation operation)
Add a new Mobile operation to plugin operation table. |
boolean |
deleteMobileOperation(int operationId)
Delete a given Mobile operation from plugin database. |
MobileOperation |
getMobileOperation(int operationId)
Retrieve a given Mobile operation from plugin database. |
boolean |
updateMobileOperation(MobileOperation operation)
Update a Mobile operation in the operation table. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MobileOperationDAOImpl(DataSource dataSource)
| Method Detail |
|---|
public int addMobileOperation(MobileOperation operation)
throws MobileDeviceManagementDAOException
MobileOperationDAO
addMobileOperation in interface MobileOperationDAOoperation - Operation object that holds data related to the operation to be inserted.
MobileDeviceManagementDAOException
public boolean updateMobileOperation(MobileOperation operation)
throws MobileDeviceManagementDAOException
MobileOperationDAO
updateMobileOperation in interface MobileOperationDAOoperation - Operation object that holds data has to be updated.
MobileDeviceManagementDAOException
public boolean deleteMobileOperation(int operationId)
throws MobileDeviceManagementDAOException
MobileOperationDAO
deleteMobileOperation in interface MobileOperationDAOoperationId - Operation code of the operation to be deleted.
MobileDeviceManagementDAOException
public MobileOperation getMobileOperation(int operationId)
throws MobileDeviceManagementDAOException
MobileOperationDAO
getMobileOperation in interface MobileOperationDAOoperationId - Operation id of the operation to be retrieved.
MobileDeviceManagementDAOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||