MagicSmoke
$VERSION$
|
returns detailed info about a customer (excluding password) More...
#include <srcMTGetCustomer.h>
Public Member Functions | |
MTGetCustomer () | |
default constructor: generates an invalid transaction More... | |
MTGetCustomer (const MTGetCustomer &) | |
copy constructor: the two copies share their state More... | |
virtual | ~MTGetCustomer () |
deletes this instance More... | |
Q_SLOT Nullable< MOCustomer > | getcustomer () const |
MTGetCustomer & | operator= (const MTGetCustomer &) |
copy assignment: the copy shares the state of the original object More... | |
Static Public Member Functions | |
static MTGetCustomer | asyncQuery (const qint64 &acustomerid, QString iface="MagicSmoke") |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state More... | |
static MTGetCustomer | query (const qint64 &acustomerid, QString iface="MagicSmoke") |
emits the query over the network and returns the finished transaction object More... | |
Static Public Member Functions inherited from MTransaction | |
static void | setStartStopActions (const MTStartStop &start, const MTStartStop &stop) |
set actions to be executed at start/stop More... | |
Protected Member Functions | |
MTGetCustomer (const qint64 &acustomerid, QString iface) | |
generates an instance from its properties More... | |
virtual void | endQuery () |
Protected Member Functions inherited from MTransaction | |
MTransaction (QString iface=QString()) | |
internal: construct the transaction More... | |
MTransaction (const WTransaction &) | |
internal: copy the transaction More... | |
MTransaction (const MTransaction &) | |
internal: copy the transaction More... | |
QByteArray | executeQuery (QString, QByteArray) |
internal: extend executeQuery to show a wait cursor More... | |
Friends | |
class | MTGetCustomer_Private |
returns detailed info about a customer (excluding password)
|
explicitprotected |
generates an instance from its properties
acustomerid | |
iface | ID of the interface that the transaction will be sent on |
References MTGetCustomer_Private::in_customerid, and MTGetCustomer_Private.
MTGetCustomer::MTGetCustomer | ( | ) |
default constructor: generates an invalid transaction
References MTGetCustomer_Private.
MTGetCustomer::MTGetCustomer | ( | const MTGetCustomer & | t | ) |
copy constructor: the two copies share their state
References MTGetCustomer_Private::attach().
|
virtual |
deletes this instance
References MTGetCustomer_Private::detach().
|
static |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state
acustomerid | |
iface | ID of the interface that the transaction will be sent on |
|
protectedvirtual |
Nullable< MOCustomer > MTGetCustomer::getcustomer | ( | ) | const |
References MTGetCustomer_Private::out_customer.
Referenced by MOCustomer::MOCustomer().
MTGetCustomer & MTGetCustomer::operator= | ( | const MTGetCustomer & | t | ) |
copy assignment: the copy shares the state of the original object
References MTGetCustomer_Private::attach(), and MTGetCustomer_Private::detach().
|
static |
emits the query over the network and returns the finished transaction object
acustomerid | |
iface | ID of the interface that the transaction will be sent on |
Referenced by MInterface::queryGetCustomer().
|
friend |
Referenced by MTGetCustomer().