|
|
@ -1132,7 +1132,7 @@ public class OperationManagerImpl implements OperationManager {
|
|
|
|
DeviceManagementDAOFactory.beginTransaction();
|
|
|
|
DeviceManagementDAOFactory.beginTransaction();
|
|
|
|
int tenantId = CarbonContext.getThreadLocalCarbonContext().getTenantId();
|
|
|
|
int tenantId = CarbonContext.getThreadLocalCarbonContext().getTenantId();
|
|
|
|
String user = this.getUser();
|
|
|
|
String user = this.getUser();
|
|
|
|
updateStatus = enrollmentDAO.setStatus(enrolmentId, user, status, tenantId);
|
|
|
|
updateStatus = enrollmentDAO.setStatus(enrolmentId, status, tenantId);
|
|
|
|
DeviceManagementDAOFactory.commitTransaction();
|
|
|
|
DeviceManagementDAOFactory.commitTransaction();
|
|
|
|
} catch (DeviceManagementDAOException e) {
|
|
|
|
} catch (DeviceManagementDAOException e) {
|
|
|
|
DeviceManagementDAOFactory.rollbackTransaction();
|
|
|
|
DeviceManagementDAOFactory.rollbackTransaction();
|
|
|
|