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