MagicSmoke
$VERSION$
|
Deletes a document associated with an order. Produces an error if the document does not exist. More...
#include <srcMTDeleteOrderDocument.h>
Public Member Functions | |
MTDeleteOrderDocument () | |
default constructor: generates an invalid transaction More... | |
MTDeleteOrderDocument (const MTDeleteOrderDocument &) | |
copy constructor: the two copies share their state More... | |
virtual | ~MTDeleteOrderDocument () |
deletes this instance More... | |
MTDeleteOrderDocument & | operator= (const MTDeleteOrderDocument &) |
copy assignment: the copy shares the state of the original object More... | |
Static Public Member Functions | |
static MTDeleteOrderDocument | asyncQuery (const qint64 &aorderid, const QString &afilename, 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 MTDeleteOrderDocument | query (const qint64 &aorderid, const QString &afilename, 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 | |
MTDeleteOrderDocument (const qint64 &aorderid, const QString &afilename, 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 | MTDeleteOrderDocument_Private |
Deletes a document associated with an order. Produces an error if the document does not exist.
|
explicitprotected |
generates an instance from its properties
aorderid | |
afilename | |
iface | ID of the interface that the transaction will be sent on |
References MTDeleteOrderDocument_Private::in_filename, MTDeleteOrderDocument_Private::in_orderid, and MTDeleteOrderDocument_Private.
MTDeleteOrderDocument::MTDeleteOrderDocument | ( | ) |
default constructor: generates an invalid transaction
References MTDeleteOrderDocument_Private.
MTDeleteOrderDocument::MTDeleteOrderDocument | ( | const MTDeleteOrderDocument & | t | ) |
copy constructor: the two copies share their state
References MTDeleteOrderDocument_Private::attach().
|
virtual |
deletes this instance
References MTDeleteOrderDocument_Private::detach().
|
static |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state
aorderid | |
afilename | |
iface | ID of the interface that the transaction will be sent on |
|
protectedvirtual |
MTDeleteOrderDocument & MTDeleteOrderDocument::operator= | ( | const MTDeleteOrderDocument & | t | ) |
copy assignment: the copy shares the state of the original object
References MTDeleteOrderDocument_Private::attach(), and MTDeleteOrderDocument_Private::detach().
|
static |
emits the query over the network and returns the finished transaction object
aorderid | |
afilename | |
iface | ID of the interface that the transaction will be sent on |
Referenced by MInterface::queryDeleteOrderDocument().
|
friend |
Referenced by MTDeleteOrderDocument().