41 lines
830 B
C++
Executable File
41 lines
830 B
C++
Executable File
/**
|
|
* Exercise object
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*/
|
|
#pragma once
|
|
|
|
#include <DDS/Core/function_reply_object.h>
|
|
|
|
// Generated
|
|
#include <OperatorManagement/opm_db.h>
|
|
|
|
namespace OperatorManagement
|
|
{
|
|
class MainHandler;
|
|
|
|
class ObjectAccessControlLevel final
|
|
{
|
|
public:
|
|
explicit ObjectAccessControlLevel(MainHandler *mainHandler);
|
|
~ObjectAccessControlLevel();
|
|
|
|
Core::FunctionReplyObject createObject(const Database::OpmAccessControlLevel &data);
|
|
Core::FunctionReplyObject updateObject(const Database::OpmAccessControlLevel &data);
|
|
Core::FunctionReplyObject removeObject();
|
|
|
|
qint64 getId() const { return m_data.id; }
|
|
|
|
protected:
|
|
void onPublishData();
|
|
|
|
private:
|
|
MainHandler *m_mainHandler;
|
|
Database::OpmAccessControlLevel m_data;
|
|
|
|
NGL::INGLLogger &m_logger;
|
|
|
|
};
|
|
}
|