|
|
@ -26,6 +26,8 @@ import org.wso2.carbon.device.mgt.common.DeviceManagementException;
|
|
|
|
import org.wso2.carbon.device.mgt.common.operation.mgt.Operation;
|
|
|
|
import org.wso2.carbon.device.mgt.common.operation.mgt.Operation;
|
|
|
|
import org.wso2.carbon.device.mgt.common.operation.mgt.OperationManagementException;
|
|
|
|
import org.wso2.carbon.device.mgt.common.operation.mgt.OperationManagementException;
|
|
|
|
import org.wso2.carbon.device.mgt.common.operation.mgt.OperationManager;
|
|
|
|
import org.wso2.carbon.device.mgt.common.operation.mgt.OperationManager;
|
|
|
|
|
|
|
|
import org.wso2.carbon.device.mgt.core.dto.operation.mgt.*;
|
|
|
|
|
|
|
|
import org.wso2.carbon.device.mgt.core.dto.operation.mgt.PolicyOperation;
|
|
|
|
import org.wso2.carbon.device.mgt.core.operation.mgt.dao.OperationDAO;
|
|
|
|
import org.wso2.carbon.device.mgt.core.operation.mgt.dao.OperationDAO;
|
|
|
|
import org.wso2.carbon.device.mgt.core.operation.mgt.dao.OperationManagementDAOException;
|
|
|
|
import org.wso2.carbon.device.mgt.core.operation.mgt.dao.OperationManagementDAOException;
|
|
|
|
import org.wso2.carbon.device.mgt.core.operation.mgt.dao.OperationManagementDAOFactory;
|
|
|
|
import org.wso2.carbon.device.mgt.core.operation.mgt.dao.OperationManagementDAOFactory;
|
|
|
@ -483,6 +485,8 @@ public class OperationManagerImpl implements OperationManager {
|
|
|
|
return profileOperationDAO;
|
|
|
|
return profileOperationDAO;
|
|
|
|
} else if (operation instanceof ConfigOperation) {
|
|
|
|
} else if (operation instanceof ConfigOperation) {
|
|
|
|
return configOperationDAO;
|
|
|
|
return configOperationDAO;
|
|
|
|
|
|
|
|
} else if (operation instanceof org.wso2.carbon.device.mgt.core.operation.mgt.PolicyOperation){
|
|
|
|
|
|
|
|
return policyOperationDAO;
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
return operationDAO;
|
|
|
|
return operationDAO;
|
|
|
|
}
|
|
|
|
}
|
|
|
|