|
||||||||||
| 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.MobileDeviceOperationMappingDAOImpl
public class MobileDeviceOperationMappingDAOImpl
Implementation of MobileDeviceOperationMappingDAO.
| Constructor Summary | |
|---|---|
MobileDeviceOperationMappingDAOImpl(DataSource dataSource)
|
|
| Method Summary | |
|---|---|
boolean |
addMobileDeviceOperationMapping(MobileDeviceOperationMapping deviceOperation)
Add a new mobile device operation mapping to the table. |
boolean |
deleteMobileDeviceOperationMapping(String deviceId,
int operationId)
Delete a given mobile device operation mapping from table. |
List<MobileDeviceOperationMapping> |
getAllMobileDeviceOperationNappingsOfDevice(String deviceId)
Retrieves all the of mobile device operation mappings relavent to the given mobile device. |
List<MobileDeviceOperationMapping> |
getAllPendingOperationMappingsOfMobileDevice(String deviceId)
Retrieves all the pending device operation mappings of a mobiel device. |
MobileDeviceOperationMapping |
getMobileDeviceOperationMapping(String deviceId,
int operationId)
Retrieves a given mobile device operation from the plugin database. |
boolean |
updateMobileDeviceOperationMapping(MobileDeviceOperationMapping deviceOperation)
Updates a mobile device operation mapping. |
boolean |
updateMobileDeviceOperationMappingToCompleted(String deviceId,
int operationId)
Updates a mobile device operation mapping to completed state. |
boolean |
updateMobileDeviceOperationMappingToInProgress(String deviceId,
int operationId)
Updates a mobile device operation mapping to In-Progress state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MobileDeviceOperationMappingDAOImpl(DataSource dataSource)
| Method Detail |
|---|
public boolean addMobileDeviceOperationMapping(MobileDeviceOperationMapping deviceOperation)
throws MobileDeviceManagementDAOException
MobileDeviceOperationMappingDAO
addMobileDeviceOperationMapping in interface MobileDeviceOperationMappingDAOdeviceOperation - MobileDeviceOperation object that holds data related to the MobileDeviceOperation
to be inserted.
MobileDeviceManagementDAOException
public boolean updateMobileDeviceOperationMapping(MobileDeviceOperationMapping deviceOperation)
throws MobileDeviceManagementDAOException
MobileDeviceOperationMappingDAO
updateMobileDeviceOperationMapping in interface MobileDeviceOperationMappingDAOdeviceOperation - MobileDeviceOperation object that holds data has to be updated.
MobileDeviceManagementDAOException
public boolean updateMobileDeviceOperationMappingToInProgress(String deviceId,
int operationId)
throws MobileDeviceManagementDAOException
MobileDeviceOperationMappingDAO
updateMobileDeviceOperationMappingToInProgress in interface MobileDeviceOperationMappingDAOdeviceId - Device id of the mapping to be deleted.operationId - Operation id of the mapping to be deleted.
MobileDeviceManagementDAOException
public boolean updateMobileDeviceOperationMappingToCompleted(String deviceId,
int operationId)
throws MobileDeviceManagementDAOException
MobileDeviceOperationMappingDAO
updateMobileDeviceOperationMappingToCompleted in interface MobileDeviceOperationMappingDAOdeviceId - Device id of the mapping to be deleted.operationId - Operation id of the mapping to be deleted.
MobileDeviceManagementDAOException
public boolean deleteMobileDeviceOperationMapping(String deviceId,
int operationId)
throws MobileDeviceManagementDAOException
MobileDeviceOperationMappingDAO
deleteMobileDeviceOperationMapping in interface MobileDeviceOperationMappingDAOdeviceId - Device id of the mapping to be deleted.operationId - Operation id of the mapping to be deleted.
MobileDeviceManagementDAOException
public MobileDeviceOperationMapping getMobileDeviceOperationMapping(String deviceId,
int operationId)
throws MobileDeviceManagementDAOException
MobileDeviceOperationMappingDAO
getMobileDeviceOperationMapping in interface MobileDeviceOperationMappingDAOdeviceId - Device id of the mapping to be retrieved.operationId - Operation id of the mapping to be retrieved.
MobileDeviceManagementDAOException
public List<MobileDeviceOperationMapping> getAllMobileDeviceOperationNappingsOfDevice(String deviceId)
throws MobileDeviceManagementDAOException
MobileDeviceOperationMappingDAO
getAllMobileDeviceOperationNappingsOfDevice in interface MobileDeviceOperationMappingDAOMobileDeviceManagementDAOException
public List<MobileDeviceOperationMapping> getAllPendingOperationMappingsOfMobileDevice(String deviceId)
throws MobileDeviceManagementDAOException
MobileDeviceOperationMappingDAO
getAllPendingOperationMappingsOfMobileDevice in interface MobileDeviceOperationMappingDAOMobileDeviceManagementDAOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||