|
||||||||||
| 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 mblDeviceOperationMapping)
Adds a new mobile device operation mapping to the table. |
boolean |
deleteMobileDeviceOperationMapping(String mblDeviceId,
int operationId)
Delete a given MobileDeviceOperationMapping from MobileDeviceOperationMapping table. |
List<MobileDeviceOperationMapping> |
getAllMobileDeviceOperationMappingsOfDevice(String mblDeviceId)
Retrieves all the of MobileDeviceOperationMappings relevant to a given mobile device. |
List<MobileDeviceOperationMapping> |
getAllPendingOperationMappingsOfMobileDevice(String mblDeviceId)
Retrieves all the pending MobileDeviceOperationMappings of a mobile device. |
MobileDeviceOperationMapping |
getMobileDeviceOperationMapping(String mblDeviceId,
int operationId)
Retrieves a given MobileDeviceOperationMapping object from the MobileDeviceOperationMapping table. |
boolean |
updateMobileDeviceOperationMapping(MobileDeviceOperationMapping mblDeviceOperation)
Updates a MobileDeviceOperationMapping in MobileDeviceOperationMapping table. |
boolean |
updateMobileDeviceOperationMappingToCompleted(String mblDeviceId,
int operationId)
Updates a MobileDeviceOperationMapping to completed state in MobileDeviceOperationMapping table. |
boolean |
updateMobileDeviceOperationMappingToInProgress(String mblDeviceId,
int operationId)
Updates a MobileDeviceOperationMapping to In-Progress state in MobileDeviceOperationMapping table. |
| 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 mblDeviceOperationMapping)
throws MobileDeviceManagementDAOException
MobileDeviceOperationMappingDAO
addMobileDeviceOperationMapping in interface MobileDeviceOperationMappingDAOmblDeviceOperationMapping - MobileDeviceOperationMapping object that holds data related
to the MobileDeviceOperationMapping to be inserted.
MobileDeviceManagementDAOException
public boolean updateMobileDeviceOperationMapping(MobileDeviceOperationMapping mblDeviceOperation)
throws MobileDeviceManagementDAOException
MobileDeviceOperationMappingDAO
updateMobileDeviceOperationMapping in interface MobileDeviceOperationMappingDAOmblDeviceOperation - MobileDeviceOperationMapping object that holds data has to be updated.
MobileDeviceManagementDAOException
public boolean updateMobileDeviceOperationMappingToInProgress(String mblDeviceId,
int operationId)
throws MobileDeviceManagementDAOException
MobileDeviceOperationMappingDAO
updateMobileDeviceOperationMappingToInProgress in interface MobileDeviceOperationMappingDAOmblDeviceId - MobileDevice id of the mappings to be updated.operationId - Operation id of the mapping to be updated.
MobileDeviceManagementDAOException
public boolean updateMobileDeviceOperationMappingToCompleted(String mblDeviceId,
int operationId)
throws MobileDeviceManagementDAOException
MobileDeviceOperationMappingDAO
updateMobileDeviceOperationMappingToCompleted in interface MobileDeviceOperationMappingDAOmblDeviceId - MobileDevice id of the mappings to be updated.operationId - Operation id of the mapping to be updated.
MobileDeviceManagementDAOException
public boolean deleteMobileDeviceOperationMapping(String mblDeviceId,
int operationId)
throws MobileDeviceManagementDAOException
MobileDeviceOperationMappingDAO
deleteMobileDeviceOperationMapping in interface MobileDeviceOperationMappingDAOmblDeviceId - MobileDevice id of the mappings to be deleted.operationId - Operation id of the mapping to be deleted.
MobileDeviceManagementDAOException
public MobileDeviceOperationMapping getMobileDeviceOperationMapping(String mblDeviceId,
int operationId)
throws MobileDeviceManagementDAOException
MobileDeviceOperationMappingDAO
getMobileDeviceOperationMapping in interface MobileDeviceOperationMappingDAOmblDeviceId - Device id of the mapping to be retrieved.operationId - Operation id of the mapping to be retrieved.
MobileDeviceManagementDAOException
public List<MobileDeviceOperationMapping> getAllMobileDeviceOperationMappingsOfDevice(String mblDeviceId)
throws MobileDeviceManagementDAOException
MobileDeviceOperationMappingDAO
getAllMobileDeviceOperationMappingsOfDevice in interface MobileDeviceOperationMappingDAOmblDeviceId - MobileDevice id of the mappings to be retrieved.
MobileDeviceManagementDAOException
public List<MobileDeviceOperationMapping> getAllPendingOperationMappingsOfMobileDevice(String mblDeviceId)
throws MobileDeviceManagementDAOException
MobileDeviceOperationMappingDAO
getAllPendingOperationMappingsOfMobileDevice in interface MobileDeviceOperationMappingDAOmblDeviceId - MobileDevice id of the mappings to be retrieved.
MobileDeviceManagementDAOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||