20#ifndef ORES_QT_DATASET_CONTROLLER_HPP
21#define ORES_QT_DATASET_CONTROLLER_HPP
25#include <boost/uuid/uuid.hpp>
26#include "ores.qt/EntityController.hpp"
27#include "ores.qt/ClientManager.hpp"
28#include "ores.logging/make_logger.hpp"
29#include "ores.dq.api/domain/dataset.hpp"
33class DatasetMdiWindow;
34class DetachableMdiSubWindow;
35class ChangeReasonCache;
37class DatasetController final :
public EntityController {
41 inline static std::string_view logger_name =
42 "ores.qt.dataset_controller";
44 [[nodiscard]]
static auto& lg() {
46 static auto instance = make_logger(logger_name);
52 QMainWindow* mainWindow,
54 ClientManager* clientManager,
55 ChangeReasonCache* changeReasonCache,
56 const QString& username,
57 QObject* parent =
nullptr);
59 void showListWindow()
override;
60 void closeAllWindows()
override;
61 void reloadListWindow()
override;
64 void statusMessage(
const QString& message);
65 void errorMessage(
const QString& error);
68 EntityListMdiWindow* listWindow()
const override;
72 void onAddNewRequested();
73 void onShowHistory(
const boost::uuids::uuid&
id);
80 void showHistoryWindow(
const boost::uuids::uuid&
id);
82 ChangeReasonCache* changeReasonCache_{
nullptr};
83 DatasetMdiWindow* listWindow_;
84 DetachableMdiSubWindow* listMdiSubWindow_;
Implements logging infrastructure for ORE Studio.
Definition boost_severity.hpp:28
Qt-based graphical user interface for ORE Studio.
Definition AccountController.hpp:32
Represents a data quality dataset with lineage tracking.
Definition dataset.hpp:37