/** * @RDE_HEADER@ * PDM Custom functions (extends pdmm_dtc_impl.cpp/.h) * $Id$ * $HeadURL$ * $Author$ * Created by Hanna E. Rathje, ESZS, 2025-06-30 */ #pragma once #include #include #include //------------------------------------------------------------------------------------------------------------- namespace OperatorManagement { namespace Interface { class DtcImplCustom final : public Interface::DtcImpl { Q_OBJECT public: explicit DtcImplCustom(const std::shared_ptr &ddsConnector); // custom procs, body must be implemented by user QVector getOperatorsByOperatorRight(int operatorRight) override; QVector operatorForExerciseParty(int exerciseId, int partyId) override; QVector getNotificationRecipents (const int exerciseId, const int partyId, const int operatorRight, const int notificationType) override; bool isAdlerAllowedParty(int exerciseId, int partyId, int operatorId) override; private: bool sendAdlerNotification(const QString &jsonStr, const int exerciseId, const int partyId, const int notificationType); }; } // Interface } // namespace OperatorManagement