32#ifdef _QX_ENABLE_QT_NETWORK
47#include <QtCore/qdatastream.h>
50#include <QtCore/qjsonvalue.h>
75template <>
struct QxConvert_ToJson<
qx::service::IxService >;
76template <> struct QxConvert_FromJson< qx::service::IxService >;
108 QString m_sServiceName;
109 QString m_sServiceMethodName;
113 std::shared_ptr<QxTransaction> m_pTransaction;
121 QString getServiceName() const {
return m_sServiceName; }
136 bool isValid()
const {
return m_bMessageReturn.getValue(); }
139 virtual void registerClass()
const { qDebug(
"[QxOrm] qx::service::IxService : %s",
"need to override 'registerClass()' method");
qAssert(
false); }
Common interface for all parameters transfered by QxService module of QxOrm library.
QX_DLL_EXPORT QDataStream & operator<<(QDataStream &stream, const qx::service::IxService &t) QX_USED
QX_DLL_EXPORT QDataStream & operator>>(QDataStream &stream, qx::service::IxService &t) QX_USED
qx_bool : QxOrm library boolean type with code and description message when an error occured
qx::cvt : namespace to provide global functions to convert any kind of objects to/from QString and QV...
#define QX_REGISTER_INTERNAL_HELPER_HPP(dllImportExport, className, version)
qx_bool : boolean type with code and description message when an error occured
qx::service::IxService : common interface for all services defined with QxService module of QxOrm lib...
virtual void onAfterProcess()
QString getServiceMethodName() const
void setServiceMethodName(const QString &s)
virtual void registerClass() const
virtual void onBeforeProcess()
IxParameter_ptr getInputParameter_BaseClass() const
void setServiceName(const QString &s)
void setMessageReturn(const qx_bool &b)
bool isValidWithOutput() const
void setOutputParameter(IxParameter_ptr p)
void setInputParameter(IxParameter_ptr p)
void setMessageReturn(long l, const QString &s)
IxParameter_ptr getOutputParameter_BaseClass() const
std::shared_ptr< QxTransaction > getTransaction() const
qx_bool getMessageReturn() const
void setTransaction(const std::shared_ptr< QxTransaction > &p)
QX_DLL_EXPORT QJsonValue QxConvert_ToJson_Helper(const qx::dao::detail::IxSqlElement &t, const QString &format) QX_USED
QX_DLL_EXPORT qx_bool QxConvert_FromJson_Helper(const QJsonValue &j, qx::dao::detail::IxSqlElement &t, const QString &format) QX_USED
std::shared_ptr< IxParameter > IxParameter_ptr
std::shared_ptr< IxService > IxService_ptr
Root namespace for all QxOrm library features.