MagicSmoke  $VERSION$
srcMInterface.h
Go to the documentation of this file.
1 //BEGIN OF AUTOMATICALLY GENERATED FILE
2 //DO NOT EDIT THIS FILE DIRECTLY, USE THE XML SOURCE!
3 #ifndef WOBGEN_MINTERFACE_H
4 #define WOBGEN_MINTERFACE_H
5 
6 #include "WInterface"
7 #include <QStringList>
8 
9 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
10 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
11 #endif
12 
13 class MOFlag;
14 class MOServerFormat;
15 class MOKeyValuePair;
17 class MOUser;
18 class MOHost;
19 class MORole;
20 class MOCountry;
21 class MOAddress;
22 class MOAddressAbstract;
23 class MOContactType;
24 class MOContact;
25 class MOCustomer;
26 class MOCustomerAbstract;
27 class MOCustomerInfo;
29 class MOSeatPlanInfo;
30 class MOArtist;
31 class MOPriceCategory;
32 class MOEventPrice;
33 class MORoom;
34 class MOEvent;
35 class MOEventAbstract;
36 class MOTicketSaleInfo;
37 class MOEventSaleInfo;
39 class MOShipping;
40 class MOTicket;
41 class MOTicketAbstract;
42 class MOTicketAudit;
43 class MOVoucher;
44 class MOVoucherAbstract;
45 class MOVoucherAudit;
46 class MOItemInfo;
47 class MOItemAudit;
48 class MOOrder;
49 class MOOrderAbstract;
50 class MOOrderInfo;
52 class MOTicketUse;
53 class MOOrderAudit;
54 class MOPaymentType;
55 class MOOrderDocument;
57 class MOCouponRule;
58 class MOCoupon;
59 class MOCouponInfo;
60 class MOCartTicket;
61 class MOCartVoucher;
62 class MOCartItem;
63 class MOCartOrder;
64 class MOWebCart;
65 class MOWebSession;
66 class MOTemplate;
67 class MOTemplateInfo;
68 class MOSeatPlanRow;
69 class MOSeatPlanGroup;
71 class MOSeatPlanVGroup;
74 class MOSeatPlanDefPrice;
76 class MOSeatPlanImage;
77 class MOSeatPlan;
78 class MTGetLanguage;
79 class MTGetValidFlags;
80 class MTSetFlag;
81 class MTDeleteFlag;
82 class MTBackup;
83 class MTBackupExplore;
84 class MTBackupTable;
85 class MTRestoreBackup;
86 class MTServerInfo;
87 class MTLogin;
88 class MTLogout;
89 class MTGetMyRoles;
90 class MTGetMyRights;
91 class MTChangeMyPassword;
92 class MTGetAllUsers;
93 class MTGetUser;
94 class MTCreateUser;
95 class MTChangePassword;
96 class MTDeleteUser;
98 class MTGetUserRoles;
99 class MTSetUserRoles;
100 class MTGetUserHosts;
101 class MTSetUserHosts;
102 class MTSetUserFlags;
103 class MTGetAllRoles;
104 class MTGetRole;
105 class MTCreateRole;
107 class MTSetRoleRights;
108 class MTDeleteRole;
109 class MTSetRoleFlags;
110 class MTGetAllRightNames;
111 class MTGetAllHostNames;
112 class MTGetAllHosts;
113 class MTSetHost;
114 class MTDeleteHost;
116 class MTCreateContactType;
117 class MTGetCustomer;
119 class MTCreateCustomer;
120 class MTChangeCustomer;
122 class MTDeleteCustomer;
123 class MTGetAddress;
124 class MTGetAllCountries;
125 class MTCreateCountry;
128 class MTGetAllArtists;
129 class MTCreateArtist;
133 class MTGetEvent;
134 class MTGetAllEvents;
135 class MTGetEventList;
136 class MTGetEventSaleInfo;
137 class MTCreateEvent;
138 class MTChangeEvent;
139 class MTCancelEvent;
140 class MTGetAllRooms;
141 class MTCreateRoom;
142 class MTGetAllSeatPlans;
143 class MTCreateSeatPlan;
144 class MTUpdateSeatPlan;
145 class MTGetEventSummary;
146 class MTGetTicket;
147 class MTGetVoucher;
148 class MTGetOrder;
149 class MTGetOrderList;
150 class MTGetOrdersByEvents;
152 class MTGetMyOrders;
153 class MTGetOrdersByUser;
154 class MTGetOrderByBarcode;
155 class MTGetOrdersByCoupon;
156 class MTCreateOrder;
157 class MTCreateReservation;
159 class MTCancelOrder;
160 class MTOrderPay;
161 class MTOrderRefund;
162 class MTUseVoucher;
163 class MTDeductVoucher;
164 class MTEmptyVoucher;
167 class MTOrderMarkShipped;
168 class MTOrderAddComment;
171 class MTChangeTicketPrice;
174 class MTGetAllShipping;
175 class MTChangeShipping;
176 class MTCreateShipping;
177 class MTDeleteShipping;
179 class MTUseTicket;
180 class MTGetEntranceEvents;
181 class MTGetPaymentTypes;
182 class MTSetPaymentType;
184 class MTDeletePaymentType;
186 class MTGetOrderDocument;
187 class MTSetOrderDocument;
189 class MTSendCustomerMail;
192 class MTGetCoupon;
193 class MTGetCouponList;
194 class MTCreateCoupon;
195 class MTChangeCoupon;
196 class MTGetTicketAudit;
197 class MTGetVoucherAudit;
198 class MTGetOrderAudit;
199 class MTGetUserAudit;
200 class MTWebCartAddTicket;
202 class MTWebCartAddVoucher;
204 class MTWebCartAddCoupon;
205 class MTGetTemplateList;
206 class MTGetTemplate;
207 class MTSetTemplate;
209 class MTDeleteTemplate;
210 class MTSetTemplateFlags;
213 {
214  Q_OBJECT
215  public:
216  MInterface(QString name="MagicSmoke"):WInterface(name){}
218  static MInterface*instance(QString name="MagicSmoke")
219  {return qobject_cast<MInterface*>(WInterface::instance(name));}
220 
222  Q_INVOKABLE static QString staticVersionInfo(WOb::VersionInfo);
224  Q_INVOKABLE static QString staticWocVersionInfo(WOb::VersionInfo);
226  Q_INVOKABLE QString versionInfo(WOb::VersionInfo)const;
228  Q_INVOKABLE QString wocVersionInfo(WOb::VersionInfo)const;
230  MTGetLanguage queryGetLanguage(const QString &alanguage,const QString &aformat);
232  MTGetValidFlags queryGetValidFlags();
234  MTSetFlag querySetFlag(const MOFlag &aflag);
236  MTDeleteFlag queryDeleteFlag(const QString &aflag);
238  MTBackup queryBackup();
240  MTBackupExplore queryBackupExplore();
242  MTBackupTable queryBackupTable(const QString &atable,const qint64 &aminkey,const qint64 &amaxkey,const QList<QString> &akeylist);
244  MTRestoreBackup queryRestoreBackup(const QString &abackup,const bool &aupdate);
246  MTServerInfo queryServerInfo();
248  MTLogin queryLogin(const QString &ausername,const QString &apassword,const QString &ahostname,const QString &ahostkey);
250  MTLogout queryLogout();
252  MTGetMyRoles queryGetMyRoles();
254  MTGetMyRights queryGetMyRights();
256  MTChangeMyPassword queryChangeMyPassword(const QString &aoldpassword,const QString &anewpassword);
258  MTGetAllUsers queryGetAllUsers();
260  MTGetUser queryGetUser(const QString &auname);
262  MTCreateUser queryCreateUser(const QString &ausername,const QString &apassword,const QString &adescription);
264  MTChangePassword queryChangePassword(const QString &ausername,const QString &apassword);
266  MTDeleteUser queryDeleteUser(const QString &ausername,const QString &amergewithuser);
268  MTSetUserDescription querySetUserDescription(const QString &ausername,const QString &adescription);
270  MTGetUserRoles queryGetUserRoles(const QString &ausername);
272  MTSetUserRoles querySetUserRoles(const QString &ausername,const QList<QString> &aroles);
274  MTGetUserHosts queryGetUserHosts(const QString &ausername);
276  MTSetUserHosts querySetUserHosts(const QString &ausername,const QList<QString> &ahosts);
278  MTSetUserFlags querySetUserFlags(const QString &ausername,const QList<QString> &aflags);
280  MTGetAllRoles queryGetAllRoles();
282  MTGetRole queryGetRole(const QString &arole);
284  MTCreateRole queryCreateRole(const QString &arole);
286  MTSetRoleDescription querySetRoleDescription(const QString &arole,const QString &adescription);
288  MTSetRoleRights querySetRoleRights(const QString &arole,const QList<QString> &arights);
290  MTDeleteRole queryDeleteRole(const QString &arole);
292  MTSetRoleFlags querySetRoleFlags(const QString &arole,const QList<QString> &aflags);
294  MTGetAllRightNames queryGetAllRightNames();
296  MTGetAllHostNames queryGetAllHostNames();
298  MTGetAllHosts queryGetAllHosts();
300  MTSetHost querySetHost(const QString &aname,const QString &akey);
302  MTDeleteHost queryDeleteHost(const QString &aname);
304  MTGetAllContactTypes queryGetAllContactTypes();
306  MTCreateContactType queryCreateContactType(const QString &atypename,const QString &auriprefix);
308  MTGetCustomer queryGetCustomer(const qint64 &acustomerid);
310  MTGetAllCustomerNames queryGetAllCustomerNames();
312  MTCreateCustomer queryCreateCustomer(const MOCustomer &acustomer);
314  MTChangeCustomer queryChangeCustomer(const MOCustomer &acustomer);
316  MTChangeCustomerMail queryChangeCustomerMail(const qint64 &acustomerid,const QString &aemail);
318  MTDeleteCustomer queryDeleteCustomer(const qint64 &acustomerid,const qint64 &amergewithid);
320  MTGetAddress queryGetAddress(const qint64 &aaddressid);
322  MTGetAllCountries queryGetAllCountries();
324  MTCreateCountry queryCreateCountry(const QString &aabbrev,const QString &aname);
326  MTResetCustomerPassword queryResetCustomerPassword(const qint64 &acustomerid);
328  MTGetCreateCustomerHints queryGetCreateCustomerHints();
330  MTGetAllArtists queryGetAllArtists();
332  MTCreateArtist queryCreateArtist(const QString &aname,const QString &adescription,const QString &acomment);
334  MTGetAllPriceCategories queryGetAllPriceCategories();
336  MTCreatePriceCategory queryCreatePriceCategory(const MOPriceCategory &apricecategory);
338  MTChangePriceCategory queryChangePriceCategory(const MOPriceCategory &apricecategory);
340  MTGetEvent queryGetEvent(const qint64 &aeventid);
342  MTGetAllEvents queryGetAllEvents();
344  MTGetEventList queryGetEventList(const QList<qint64> &aeventids);
346  MTGetEventSaleInfo queryGetEventSaleInfo(const qint64 &aeventid);
348  MTCreateEvent queryCreateEvent(const MOEvent &aevent);
350  MTChangeEvent queryChangeEvent(const MOEvent &aevent);
352  MTCancelEvent queryCancelEvent(const qint64 &aeventid,const QString &areason);
354  MTGetAllRooms queryGetAllRooms();
356  MTCreateRoom queryCreateRoom(const QString &aroomid,const qint64 &acapacity,const QString &adescription);
358  MTGetAllSeatPlans queryGetAllSeatPlans();
360  MTCreateSeatPlan queryCreateSeatPlan(const MOSeatPlanInfo &aplan);
362  MTUpdateSeatPlan queryUpdateSeatPlan(const MOSeatPlanInfo &aplan);
364  MTGetEventSummary queryGetEventSummary(const qint64 &aeventid);
366  MTGetTicket queryGetTicket(const QString &aticketid);
368  MTGetVoucher queryGetVoucher(const QString &avoucherid);
370  MTGetOrder queryGetOrder(const qint64 &aorderid);
372  MTGetOrderList queryGetOrderList(const qint64 &aoldest);
374  MTGetOrdersByEvents queryGetOrdersByEvents(const QList<qint64> &aevents,const qint64 &aoldest);
376  MTGetOrdersByCustomer queryGetOrdersByCustomer(const qint64 &acustomerid,const qint64 &aoldest);
378  MTGetMyOrders queryGetMyOrders(const qint64 &aoldest,const bool &aincludeall);
380  MTGetOrdersByUser queryGetOrdersByUser(const qint64 &aoldest,const bool &aincludeall,const QString &ausername);
382  MTGetOrderByBarcode queryGetOrderByBarcode(const QString &abarcode);
384  MTGetOrdersByCoupon queryGetOrdersByCoupon(const qint64 &aoldest,const QString &acouponid);
386  MTCreateOrder queryCreateOrder(const MOCartOrder &acart,const bool &aissale,const QList<QString> &avouchers);
388  MTCreateReservation queryCreateReservation(const MOCartOrder &acart);
390  MTReservationToOrder queryReservationToOrder(const qint64 &aorderid);
392  MTCancelOrder queryCancelOrder(const qint64 &aorderid);
394  MTOrderPay queryOrderPay(const qint64 &aorderid,const qint64 &aamount,const QString &apaytype,const QString &apaydata);
396  MTOrderRefund queryOrderRefund(const qint64 &aorderid,const qint64 &aamount);
398  MTUseVoucher queryUseVoucher(const qint64 &aorderid,const QString &avoucherid);
400  MTDeductVoucher queryDeductVoucher(const QString &avoucherid,const qint64 &aamount,const QString &acomment);
402  MTEmptyVoucher queryEmptyVoucher(const QString &avoucherid,const QString &acomment);
404  MTChangeVoucherValidity queryChangeVoucherValidity(const QString &avoucherid,const bool &avalidforever,const qint64 &avalidtime,const QString &acomment);
406  MTOrderChangeShipping queryOrderChangeShipping(const qint64 &aorderid,const qint64 &ashippingid,const qint64 &ashippingcosts);
408  MTOrderMarkShipped queryOrderMarkShipped(const qint64 &aorderid,const qint64 &ashiptime);
410  MTOrderAddComment queryOrderAddComment(const qint64 &aorderid,const QString &acomment);
412  MTOrderChangeComments queryOrderChangeComments(const qint64 &aorderid,const QString &acomments);
414  MTReturnTicketVoucher queryReturnTicketVoucher(const QString &abarcode);
416  MTChangeTicketPrice queryChangeTicketPrice(const QString &abarcode,const qint64 &aprice);
418  MTChangeTicketPriceCategory queryChangeTicketPriceCategory(const QString &abarcode,const qint64 &apricecategoryid);
420  MTChangeOrderAddress queryChangeOrderAddress(const qint64 &aorderid,const bool &asetinvoiceaddr,const qint64 &ainvoiceaddr,const bool &asetdeliveryaddr,const qint64 &adeliveryaddr);
422  MTGetAllShipping queryGetAllShipping();
424  MTChangeShipping queryChangeShipping(const MOShipping &ashipping);
426  MTCreateShipping queryCreateShipping(const MOShipping &ashipping);
428  MTDeleteShipping queryDeleteShipping(const qint64 &ashipid);
430  MTGetValidVoucherPrices queryGetValidVoucherPrices();
432  MTUseTicket queryUseTicket(const QString &aticketid,const qint64 &aeventid);
434  MTGetEntranceEvents queryGetEntranceEvents(const qint64 &amaxbeforestart,const qint64 &amaxafterend);
436  MTGetPaymentTypes queryGetPaymentTypes();
438  MTSetPaymentType querySetPaymentType(const MOPaymentType &apaytype);
440  MTSetDefaultPaymentType querySetDefaultPaymentType(const QString &adefaultpaytype);
442  MTDeletePaymentType queryDeletePaymentType(const QString &apaytype);
444  MTGetOrderDocumentNames queryGetOrderDocumentNames(const qint64 &aorderid);
446  MTGetOrderDocument queryGetOrderDocument(const qint64 &aorderid,const QString &afilename);
448  MTSetOrderDocument querySetOrderDocument(const MOOrderDocument &adocument);
450  MTDeleteOrderDocument queryDeleteOrderDocument(const qint64 &aorderid,const QString &afilename);
452  MTSendCustomerMail querySendCustomerMail(const qint64 &acustomerid,const QString &acontent);
454  MTGetPrintAtHomeSettings queryGetPrintAtHomeSettings();
456  MTSetPrintAtHomeSettings querySetPrintAtHomeSettings(const QList<MOKeyValuePair> &asettings);
458  MTGetCoupon queryGetCoupon(const QString &acouponid);
460  MTGetCouponList queryGetCouponList(const QString &acouponid);
462  MTCreateCoupon queryCreateCoupon(const MOCoupon &acoupon);
464  MTChangeCoupon queryChangeCoupon(const MOCoupon &acoupon);
466  MTGetTicketAudit queryGetTicketAudit(const QString &aticketid);
468  MTGetVoucherAudit queryGetVoucherAudit(const QString &avoucherid);
470  MTGetOrderAudit queryGetOrderAudit(const qint64 &aorderid);
472  MTGetUserAudit queryGetUserAudit(const QString &auname,const qint64 &aoldest);
474  MTWebCartAddTicket queryWebCartAddTicket(const QString &acartid,const qint64 &aeventid,const qint64 &apricecategoryid,const qint64 &aamount);
476  MTWebCartRemoveTicket queryWebCartRemoveTicket(const QString &acartid,const qint64 &aeventid,const qint64 &apricecategoryid);
478  MTWebCartAddVoucher queryWebCartAddVoucher(const QString &acartid,const qint64 &aprice);
480  MTWebCartRemoveVoucher queryWebCartRemoveVoucher(const QString &acartid,const qint64 &alineid);
482  MTWebCartAddCoupon queryWebCartAddCoupon(const QString &acartid,const QString &acouponid);
484  MTGetTemplateList queryGetTemplateList();
486  MTGetTemplate queryGetTemplate(const QString &afilename);
488  MTSetTemplate querySetTemplate(const QString &afilename,const QByteArray &atemplatedata,const QString &adescription);
490  MTSetTemplateDescription querySetTemplateDescription(const QString &afilename,const QString &adescription);
492  MTDeleteTemplate queryDeleteTemplate(const QString &afilename);
494  MTSetTemplateFlags querySetTemplateFlags(const QString &afilename,const QString &aflags);
495  Q_ENUMS(Right)
497  enum Right {
813  PChangeTicketPriceCategory_ChangePastTicket
814  };
815  typedef QList<Right> RightList;
817  Q_INVOKABLE static QString rightToString(Right);
819  Q_INVOKABLE static QString rightToLocalString(Right);
821  Q_INVOKABLE static Right stringToRight(QString);
823  Q_INVOKABLE static QStringList allKnownRightsString();
825  Q_INVOKABLE static MInterface::RightList allKnownRights();
826 };
828 Q_DECLARE_METATYPE(QList<MInterface::RightList>)
829 
830 //END OF AUTOMATICALLY GENERATED FILE
831 #endif
Definition: srcMInterface.h:631
This transaction is used to restore backup data into the database.
Definition: srcMInterface.h:516
This class represents a coupon.
Definition: srcMOCoupon.h:16
Definition: srcMOCartItem.h:14
returns all orders created by the current user
Definition: srcMInterface.h:648
users with this privilege may pay for vouchers with other vouchers
Definition: srcMInterface.h:799
changes customer data (except online data)
Definition: srcMInterface.h:586
Use a voucher to pay for an order.
Definition: srcMTUseVoucher.h:22
Gets a document associated with an order.
Definition: srcMTGetOrderDocument.h:17
Overrides settings for Print, use isnull=true to delete entries.
Definition: srcMTSetPrintAtHomeSettings.h:17
Definition: srcMOVoucherAudit.h:14
Changes the hosts a user may log in from.
Definition: srcMTSetUserHosts.h:16
Mildly privileged users: change the category of a ticket (eg. from "normal price" to "reduced price")...
Definition: srcMInterface.h:693
Changes the description of a template.
Definition: srcMTSetTemplateDescription.h:16
returns detailed info about all known (log in/client) hosts
Definition: srcMInterface.h:570
returns the information necessary to handle sales with seat plans
Definition: srcMInterface.h:618
This is a helper for parsing seat plans: it defines a row of seats.
Definition: srcMOSeatPlanRow.h:15
retrieves the order in which a specific ticket or voucher was bought
Definition: srcMInterface.h:652
Changes the flags assigned to a role. This changes the data that users with this role can see...
Definition: srcMTSetRoleFlags.h:16
Returns a list of all existing users.
Definition: srcMInterface.h:530
creates a new artist
Definition: srcMInterface.h:604
Returns the event plus all orders concerning it.
Definition: srcMInterface.h:634
Default price categories for a seat plan.
Definition: srcMOSeatPlanDefPriceAbstract.h:15
get details for an order by its ID
Definition: srcMInterface.h:640
Returns a list of all rights (i.e. transactions and privileges) that currently exist at the server...
Definition: srcMTGetAllRightNames.h:16
Definition: srcMTCreateSeatPlan.h:17
Users with this privilege can set a time for when the order was shipped, for all others the current t...
Definition: srcMInterface.h:803
changes customer login data
Definition: srcMTChangeCustomerMail.h:17
returns all orders created by the current user
Definition: srcMTGetMyOrders.h:18
Encapsulates tickets for a specific event in a specific price category as they are stored in the cart...
Definition: srcMOCartTicket.h:18
Use a voucher to pay for an order.
Definition: srcMInterface.h:670
Changes the password of the user of the current session. This may fail if the old password does not m...
Definition: srcMInterface.h:528
Changes the flags of a user. Flags determine what data (events, templates, etc.) a user can use...
Definition: srcMTSetUserFlags.h:16
Called from the Web UI only: adds vouchers.
Definition: srcMTWebCartAddVoucher.h:16
Returns the roles of the user of the current session.
Definition: srcMTGetMyRoles.h:16
This transaction is used to get data from the database during a backup.
Definition: srcMTBackupTable.h:16
encapsulation of an event, this class wraps the auto-generated event class to provide some convenienc...
Definition: event.h:25
Returns one specific user by name.
Definition: srcMInterface.h:532
Called from Web UI only: adds a coupon to the cart.
Definition: srcMInterface.h:757
returns a list of all (log in/client) host names that are known to the server
Definition: srcMTGetAllHostNames.h:16
This class represents a document stored for a specific order.
Definition: srcMOOrderDocument.h:15
Creates/Changes a host from which users can log in. If the host is already used and you change the ke...
Definition: srcMInterface.h:572
Definition: srcMOAddressAbstract.h:15
returns all orders that were purchased by a specific customer
Definition: srcMTGetOrdersByCustomer.h:17
users with this privilege can change the price of used tickets - usually a ticket has to be changed b...
Definition: srcMInterface.h:811
Definition: srcMOTemplateInfo.h:14
returns all audit data for an order (when it was created, who handled it, when it was paid and how...
Definition: srcMInterface.h:745
Backgroup objects for seatplan graphics.
Definition: srcMOSeatPlanBackground.h:15
used for basic info about items
Definition: srcMOItemInfo.h:15
Stores a document associated with an order. Overwrites the document if it already exists...
Definition: srcMInterface.h:723
Attempt to delete a user. Usually you will need to merge it with another user to move all orders crea...
Definition: srcMInterface.h:538
Deletes the current session.
Definition: srcMInterface.h:522
Deletes a host from which users can log in. If the host has been used, then users will lose the abili...
Definition: srcMTDeleteHost.h:16
returns the valid payment types
Definition: srcMInterface.h:711
Returns a specific template.
Definition: srcMInterface.h:761
returns all orders created by the a specified user
Definition: srcMInterface.h:650
Deletes the current session.
Definition: srcMTLogout.h:16
Returns a list of all existing roles.
Definition: srcMInterface.h:552
Returns all info that helps in creating customers, like common titles, cities, countries, etc.
Definition: srcMInterface.h:600
Definition: customer.h:24
returns a list of all existing rooms
Definition: srcMTGetAllRooms.h:17
This transaction returns basic language and formatting settings from the server - it must be used bef...
Definition: srcMTGetLanguage.h:17
returns a list of all existing price categories (not event specific)
Definition: srcMTGetAllPriceCategories.h:17
Sends an eMail to a customer. Usually to update the customer about Order data.
Definition: srcMInterface.h:727
changes customer data (except online data)
Definition: srcMTChangeCustomer.h:18
Definition: srcMInterface.h:683
returns data about all existing events
Definition: srcMInterface.h:614
Definition: customerinfo.h:22
Attempts to delete a shipping method. This will fail if the method was used in existing orders - use ...
Definition: srcMTDeleteShipping.h:16
The cart as used by the web user interface, this maps into the cart tables. This class is never used ...
Definition: srcMOWebCart.h:23
returns a list of all existing artists
Definition: srcMInterface.h:602
Reservations are orders that are not executed right away. They may only contain tickets that block so...
Definition: srcMTCreateReservation.h:19
Definition: srcMOArtist.h:14
Privileged users: return a ticket or voucher and deduct its price from the order it was in...
Definition: srcMInterface.h:689
QList< Right > RightList
Definition: srcMInterface.h:815
returns a specific voucher with detailed info
Definition: srcMInterface.h:638
deletes a flag; warning: if the flag is used this may change behavior
Definition: srcMInterface.h:507
Definition: srcMTOrderMarkShipped.h:16
Returns the rights and flags of the user of the current session.
Definition: srcMInterface.h:526
Deletes a document associated with an order. Produces an error if the document does not exist...
Definition: srcMTDeleteOrderDocument.h:16
returns basic information (name, title) about all existing customers
Definition: srcMTGetAllCustomerNames.h:17
Retrieves all Coupon IDs.
Definition: srcMTGetCouponList.h:17
Users with this privilege can set arbitrary shipping prices, all others are limited to the default pr...
Definition: srcMInterface.h:801
returns a specific voucher with detailed info
Definition: srcMTGetVoucher.h:17
Retrieves all Coupon IDs.
Definition: srcMInterface.h:735
returns a list of all existing artists
Definition: srcMTGetAllArtists.h:17
For privileged users: edit the complete comments field, overwrite it.
Definition: srcMTOrderChangeComments.h:17
Right
This enum represents transactions and the right to use them.
Definition: srcMInterface.h:497
Retrieves details about a single coupon.
Definition: srcMInterface.h:733
Encapsulates vouchers as they are stored in the cart. Used by the client to tell the server about new...
Definition: srcMOCartVoucher.h:15
Changes the password of the user of the current session. This may fail if the old password does not m...
Definition: srcMTChangeMyPassword.h:16
Called from the Web UI only: removes tickets for a specific event from the cart.
Definition: srcMInterface.h:751
Definition: voucher.h:24
Definition: srcMTGetOrdersByCoupon.h:17
Changes the description of a role.
Definition: srcMTSetRoleDescription.h:16
Definition: srcMORoom.h:14
Definition: srcMOEventPrice.h:15
deletes a customer - usually by merging info into another customer
Definition: srcMTDeleteCustomer.h:17
returns all audit data for a ticket (when it was bought, changed prices, when it was used) ...
Definition: srcMTGetTicketAudit.h:18
Returns the roles of the user of the current session.
Definition: srcMInterface.h:524
Deducts an amount from a voucher - this can be used for items that are not in the MagicSmoke shop rep...
Definition: srcMTDeductVoucher.h:20
returns a specific ticket with detailed info
Definition: srcMInterface.h:636
Returns a list of all shipping methods that the user has access to. This transaction is sensitive to ...
Definition: srcMTGetAllShipping.h:17
Mildly privileged users: change the delivery and/or invoice address of an order.
Definition: srcMTChangeOrderAddress.h:17
returns detailed info about a customer (excluding password)
Definition: srcMTGetCustomer.h:17
retrieves the order in which a specific ticket or voucher was bought
Definition: srcMTGetOrderByBarcode.h:17
Definition: ticket.h:25
Privileged users: return a ticket or voucher and deduct its price from the order it was in...
Definition: srcMTReturnTicketVoucher.h:17
users with this privilege can create vouchers with a price (what the customer pays) different from it...
Definition: srcMInterface.h:775
This class represents a document stored for a specific order without the actual content blob...
Definition: srcMOOrderDocumentInfo.h:16
Mildly privileged users: change the category of a ticket (eg. from "normal price" to "reduced price")...
Definition: srcMTChangeTicketPriceCategory.h:17
get a complete list of orders starting at the time "oldest"
Definition: srcMInterface.h:642
This transaction allows to make a complete database backup.
Definition: srcMTBackup.h:17
Changes the flags of the template.
Definition: srcMTSetTemplateFlags.h:16
returns all audit data for a ticket (when it was bought, changed prices, when it was used) ...
Definition: srcMInterface.h:741
returns all order related data the user has touched
Definition: srcMTGetUserAudit.h:20
creates a new room
Definition: srcMTCreateRoom.h:17
Changes the description of a user.
Definition: srcMTSetUserDescription.h:16
get a complete list of orders starting at the time "oldest"
Definition: srcMTGetOrderList.h:18
Returns the list of templates that this user can access. This transaction is sensitive to flags...
Definition: srcMInterface.h:759
returns a list of specific events (eg. used by the order window to request exactly those needed by th...
Definition: srcMInterface.h:616
Overrides settings for Print, use isnull=true to delete entries.
Definition: srcMInterface.h:731
CreateOrder creates orders that are queued to be executed immediately or sales that are marked execut...
Definition: srcMInterface.h:655
Gets a document associated with an order.
Definition: srcMInterface.h:721
returns all orders that match a specific list of events
Definition: srcMTGetOrdersByEvents.h:18
Definition: orderinfo.h:24
returns a list of all existing price categories (not event specific)
Definition: srcMInterface.h:606
This class represents only the info from a ticket that is required for calculating seating informatio...
Definition: srcMOTicketSaleInfo.h:15
Changes the validity date of the voucher.
Definition: srcMInterface.h:680
Changes the flags of the template.
Definition: srcMInterface.h:769
Definition: srcMORole.h:14
Reservations are orders that are not executed right away. They may only contain tickets that block so...
Definition: srcMInterface.h:657
Returns all roles assigned to a specific user.
Definition: srcMTGetUserRoles.h:16
pay for an order with money/credit card/...; see UseVoucher for using a voucher to pay ...
Definition: srcMInterface.h:662
MInterface(QString name="MagicSmoke")
Definition: srcMInterface.h:216
This transaction returns basic language and formatting settings from the server - it must be used bef...
Definition: srcMInterface.h:501
deletes a flag; warning: if the flag is used this may change behavior
Definition: srcMTDeleteFlag.h:16
Creates a new coupon.
Definition: srcMTCreateCoupon.h:18
Definition: srcMTCancelOrder.h:16
Definition: srcMOHost.h:14
Deducts an amount from a voucher - this can be used for items that are not in the MagicSmoke shop rep...
Definition: srcMInterface.h:675
create a new event
Definition: srcMTCreateEvent.h:18
Changes the flags of a user. Flags determine what data (events, templates, etc.) a user can use...
Definition: srcMInterface.h:550
Definition: srcMOCouponRule.h:14
Overwrites or creates a specific template.
Definition: srcMTSetTemplate.h:17
The cart as used from the remote (non-web) system, this is a transaction object, it has no equivalent...
Definition: srcMOCartOrder.h:18
deletes a customer - usually by merging info into another customer
Definition: srcMInterface.h:590
This transaction allows to make a complete database backup.
Definition: srcMInterface.h:510
Returns all roles assigned to a specific user.
Definition: srcMInterface.h:542
returns a list of all (log in/client) host names that are known to the server
Definition: srcMInterface.h:568
Overwrites or creates a specific template.
Definition: srcMInterface.h:763
Changes a coupon.
Definition: srcMInterface.h:739
returns basic info about the server - this is part of the protocol handshake
Definition: srcMTServerInfo.h:16
dummy as a fall back for no transaction
Definition: srcMInterface.h:499
returns the list of all contact types (phone, mail, ...) with detailed data
Definition: srcMInterface.h:576
Returns all hosts a user may log in from.
Definition: srcMTGetUserHosts.h:16
this class represents a seat group
Definition: eventsaleinfo.h:27
returns basic info about the server - this is part of the protocol handshake
Definition: srcMInterface.h:518
Creates a new shipping method.
Definition: srcMTCreateShipping.h:18
returns the valid payment types
Definition: srcMTGetPaymentTypes.h:17
users with this privilege may put shop items (merchandise) into orders
Definition: srcMInterface.h:789
Attempts to delete a role.
Definition: srcMTDeleteRole.h:16
Changes the description of a role.
Definition: srcMInterface.h:558
Users with this privilege can cancel orders with tickets in the past (unless they have been used)...
Definition: srcMInterface.h:797
users with this privilege may pay for vouchers with other vouchers
Definition: srcMInterface.h:791
returns data about all existing events
Definition: srcMTGetAllEvents.h:17
Returns a specific role by name.
Definition: srcMTGetRole.h:17
changes a price category globally
Definition: srcMInterface.h:610
this class represents a seat group
Definition: seatplanobj.h:107
Definition: address.h:24
Creates a new role.
Definition: srcMTCreateRole.h:16
Gets the names of all files associated with the Order.
Definition: srcMInterface.h:719
returns all orders created by the a specified user
Definition: srcMTGetOrdersByUser.h:18
deletes a payment type
Definition: srcMTDeletePaymentType.h:16
This class represents the audit information about an order.
Definition: srcMOOrderAudit.h:15
This class is the transport for seat plans when communicating over the wire.
Definition: srcMOSeatPlanInfo.h:15
returns a list of all existing countries in the database
Definition: srcMTGetAllCountries.h:17
This class represents the bare minimum info of a coupon.
Definition: srcMOCouponInfo.h:15
This class represents the main information about users: login name plus description. Passwords are never carried towards the client, more detailed info is contained in other classes.
Definition: srcMOUser.h:15
Creates/Changes a host from which users can log in. If the host is already used and you change the ke...
Definition: srcMTSetHost.h:16
returns detailed event data
Definition: srcMInterface.h:612
Returns a list of all existing roles.
Definition: srcMTGetAllRoles.h:17
Attempts to mark a ticket as used. Fails if the ticket has already been used or is not paid for...
Definition: srcMTUseTicket.h:17
Gets all settings pertaining to Print.
Definition: srcMInterface.h:729
this class represents a seat group
Definition: seatplanobj.h:46
returns data of one specific address without the remaining customer info
Definition: srcMTGetAddress.h:17
Stores a document associated with an order. Overwrites the document if it already exists...
Definition: srcMTSetOrderDocument.h:17
users with this privilege can create vouchers with arbitrary value
Definition: srcMInterface.h:773
this class represents a key value pair or part of a map/dictionary.
Definition: keyvalue.h:27
returns money if too much has been paid (e.g. after an event has been cancelled)
Definition: srcMTOrderRefund.h:17
Changes a shipping method, eg. its default price. Changing the price has no effect on existing orders...
Definition: srcMInterface.h:699
Returns the event plus all orders concerning it.
Definition: srcMTGetEventSummary.h:18
Returns all info that helps in creating customers, like common titles, cities, countries, etc.
Definition: srcMTGetCreateCustomerHints.h:18
users with this privilege may use this transaction to create sales
Definition: srcMInterface.h:783
This class represents the data of a ticket as stored in the database.
Definition: srcMOTicketAbstract.h:16
Definition: srcMOItemAudit.h:14
returns data of one specific address without the remaining customer info
Definition: srcMInterface.h:592
returns all audit data for a voucher (when it was bought, when it was used and for what) ...
Definition: srcMTGetVoucherAudit.h:17
MagicSmoke interface class.
Definition: srcMInterface.h:212
Attempts to delete a role.
Definition: srcMInterface.h:562
creates a new price category (generic, not yet event specific)
Definition: srcMTCreatePriceCategory.h:18
Creates a new role.
Definition: srcMInterface.h:556
This class represents a kind of payment information.
Definition: srcMOPaymentType.h:15
This is a convenience transaction: it returns all events that are likely to be chosen at an entrance ...
Definition: srcMTGetEntranceEvents.h:17
Attempts to mark a ticket as used. Fails if the ticket has already been used or is not paid for...
Definition: srcMInterface.h:707
Definition: srcMInterface.h:653
users with this privilege can change the price for tickets that are for past events ...
Definition: srcMInterface.h:809
returns all flags that are defined in the database
Definition: srcMTGetValidFlags.h:17
Deletes a template from the server.
Definition: srcMTDeleteTemplate.h:16
Returns one specific user by name.
Definition: srcMTGetUser.h:17
This transaction is used to restore backup data into the database.
Definition: srcMTRestoreBackup.h:16
Returns a specific template.
Definition: srcMTGetTemplate.h:17
Returns a list of all shipping methods that the user has access to. This transaction is sensitive to ...
Definition: srcMInterface.h:697
Returns a specific role by name.
Definition: srcMInterface.h:554
Definition: srcMOKeyValuePairAbstract.h:14
creates a new customer
Definition: srcMTCreateCustomer.h:18
This class encapsulates the most basic information about a customer.
Definition: srcMOCustomerInfoAbstract.h:17
returns a list of specific events (eg. used by the order window to request exactly those needed by th...
Definition: srcMTGetEventList.h:17
Called from the Web UI only: adds tickets to a specific event.
Definition: srcMInterface.h:749
Changes the hosts a user may log in from.
Definition: srcMInterface.h:548
users with this privilege may use this transaction to create orders
Definition: srcMInterface.h:781
returns a list of all existing countries in the database
Definition: srcMInterface.h:594
Definition: srcMOContactType.h:14
Definition: srcMOContact.h:15
Attempt to delete a user. Usually you will need to merge it with another user to move all orders crea...
Definition: srcMTDeleteUser.h:16
Add a comment to the end of the comments field. Most users will only have this right.
Definition: srcMInterface.h:685
Attempts to create a new user. This may fail if the user already exists.
Definition: srcMInterface.h:534
This transaction is used to get meta data from the database in preparation of a backup.
Definition: srcMTBackupExplore.h:16
deletes a payment type
Definition: srcMInterface.h:717
This class is used to parse seat plans on either side.
Definition: seatplanobj2.h:18
Changes the description of a template.
Definition: srcMInterface.h:765
This transaction is used to get meta data from the database in preparation of a backup.
Definition: srcMInterface.h:512
returns the information necessary to handle sales with seat plans
Definition: srcMTGetEventSaleInfo.h:17
Definition: srcMOPriceCategory.h:14
change event data (like date/time, artist, room, ...)
Definition: srcMInterface.h:622
Image data that can be embedded in seat plan backgrounds.
Definition: srcMOSeatPlanImage.h:15
Admins: change/reset the password of a specific user. To be used when a user forgot his/her password...
Definition: srcMTChangePassword.h:16
get details for an order by its ID
Definition: srcMTGetOrder.h:17
Sends an eMail to a customer. Usually to update the customer about Order data.
Definition: srcMTSendCustomerMail.h:16
creates a new contact type (phone, mail, ...)
Definition: srcMTCreateContactType.h:17
Creates a new shipping method.
Definition: srcMInterface.h:701
Returns the rights and flags of the user of the current session.
Definition: srcMTGetMyRights.h:16
returns a specific ticket with detailed info
Definition: srcMTGetTicket.h:17
Definition: srcMOWebSession.h:15
Changes the rights assigned to a role.
Definition: srcMTSetRoleRights.h:16
Empties a voucher, makes it invalid for any further use, but also keeps the price tag...
Definition: srcMInterface.h:678
Creates a new coupon.
Definition: srcMInterface.h:737
returns all order related data the user has touched
Definition: srcMInterface.h:747
This class represents the main information about an order as shown in lists.
Definition: srcMOOrderInfoAbstract.h:15
Returns a list of all rights (i.e. transactions and privileges) that currently exist at the server...
Definition: srcMInterface.h:566
creates a new contact type (phone, mail, ...)
Definition: srcMInterface.h:578
users with this privilege can sell/order tickets until the event is over, otherwise a configurable li...
Definition: srcMInterface.h:777
Attempts to create a new user. This may fail if the user already exists.
Definition: srcMTCreateUser.h:17
This transaction turns a reservation into a regular order.
Definition: srcMInterface.h:659
sends a reset password mail to the customer - if the customer has a login
Definition: srcMInterface.h:598
change event data (like date/time, artist, room, ...)
Definition: srcMTChangeEvent.h:18
changes/creates a flag; warning: if the flag is used this may change behavior
Definition: srcMInterface.h:505
Changes the shipping option and/or price of an order.
Definition: srcMInterface.h:682
sets the payment type that is used per default
Definition: srcMTSetDefaultPaymentType.h:17
changes a price category globally
Definition: srcMTChangePriceCategory.h:18
Called from the Web UI only: removes tickets for a specific event from the cart.
Definition: srcMTWebCartRemoveTicket.h:16
Called from the Web UI only: removes vouchers.
Definition: srcMTWebCartRemoveVoucher.h:16
Definition: srcMOCustomerAbstract.h:16
users with this privilege may put vouchers into orders
Definition: srcMInterface.h:787
Deletes a document associated with an order. Produces an error if the document does not exist...
Definition: srcMInterface.h:725
Called from Web UI only: adds a coupon to the cart.
Definition: srcMTWebCartAddCoupon.h:16
Definition: srcMTUpdateSeatPlan.h:16
Q_DECLARE_METATYPE(QDomNode)
creates a new customer
Definition: srcMInterface.h:584
sends a reset password mail to the customer - if the customer has a login
Definition: srcMTResetCustomerPassword.h:16
changes/creates a flag; warning: if the flag is used this may change behavior
Definition: srcMTSetFlag.h:17
creates a new price category (generic, not yet event specific)
Definition: srcMInterface.h:608
Users with this privilege can also cancel orders that have already been shipped.
Definition: srcMInterface.h:795
Definition: srcMOVoucherAbstract.h:14
this class represents a complete order
Definition: order.h:27
creates/changes a payment type
Definition: srcMInterface.h:713
returns a list of all existing rooms
Definition: srcMInterface.h:626
Attempt to log into the server. Both the user and the host the user is using are verified. The login will fail if the authentication of either of them fails or the user does not have the righ to login from this host.
Definition: srcMInterface.h:520
users with this privilege can change the price of used tickets - usually a ticket has to be changed b...
Definition: srcMInterface.h:807
Deletes a host from which users can log in. If the host has been used, then users will lose the abili...
Definition: srcMInterface.h:574
Transport class for server formatting settings. This is used by both UIs to format numbers...
Definition: srcMOServerFormat.h:15
Mildly privileged users: change the delivery and/or invoice address of an order.
Definition: srcMInterface.h:695
Add a comment to the end of the comments field. Most users will only have this right.
Definition: srcMTOrderAddComment.h:17
Returns all hosts a user may log in from.
Definition: srcMInterface.h:546
returns all flags that are defined in the database
Definition: srcMInterface.h:503
This transaction turns a reservation into a regular order.
Definition: srcMTReservationToOrder.h:17
Changes the rights assigned to a role.
Definition: srcMInterface.h:560
returns the list of all contact types (phone, mail, ...) with detailed data
Definition: srcMTGetAllContactTypes.h:17
Transport class for flags and their descriptions. They are actually stored in the config table...
Definition: srcMOFlag.h:15
Changes the roles assigned to a specific user.
Definition: srcMInterface.h:544
Gets the names of all files associated with the Order.
Definition: srcMTGetOrderDocumentNames.h:17
This class represents an order in its entirety, including any items sold in it.
Definition: srcMOOrderAbstract.h:22
Called from the Web UI only: adds vouchers.
Definition: srcMInterface.h:753
Changes the flags assigned to a role. This changes the data that users with this role can see...
Definition: srcMInterface.h:564
Returns a list of voucher values/prices that the system will accept for normal users (which do not ha...
Definition: srcMTGetValidVoucherPrices.h:16
Returns a list of all existing seat plans.
Definition: srcMTGetAllSeatPlans.h:17
static MInterface * instance(QString name="MagicSmoke")
convenience override: returns a pointer to an instance with the given name if it is of the correct ty...
Definition: srcMInterface.h:218
returns money if too much has been paid (e.g. after an event has been cancelled)
Definition: srcMInterface.h:664
Changes a shipping method, eg. its default price. Changing the price has no effect on existing orders...
Definition: srcMTChangeShipping.h:18
cancel an event
Definition: srcMTCancelEvent.h:16
changes customer login data
Definition: srcMInterface.h:588
returns basic information (name, title) about all existing customers
Definition: srcMInterface.h:582
pay for an order with money/credit card/...; see UseVoucher for using a voucher to pay ...
Definition: srcMTOrderPay.h:17
Definition: srcMInterface.h:632
Attempts to delete a shipping method. This will fail if the method was used in existing orders - use ...
Definition: srcMInterface.h:703
CreateOrder creates orders that are queued to be executed immediately or sales that are marked execut...
Definition: srcMTCreateOrder.h:20
Changes a coupon.
Definition: srcMTChangeCoupon.h:17
creates a new room
Definition: srcMInterface.h:628
returns all orders that were purchased by a specific customer
Definition: srcMInterface.h:646
Definition: srcMOEventAbstract.h:17
This class transports all data necessary to calculate the free seats of an event. ...
Definition: srcMOEventSaleInfoAbstract.h:18
creates/changes a payment type
Definition: srcMTSetPaymentType.h:18
Called from the Web UI only: removes vouchers.
Definition: srcMInterface.h:755
users with this right can make reservations right up to the start of the event, otherwise a configure...
Definition: srcMInterface.h:793
This is a convenience transaction: it returns all events that are likely to be chosen at an entrance ...
Definition: srcMInterface.h:709
Attempt to log into the server. Both the user and the host the user is using are verified. The login will fail if the authentication of either of them fails or the user does not have the righ to login from this host.
Definition: srcMTLogin.h:16
Gets all settings pertaining to Print.
Definition: srcMTGetPrintAtHomeSettings.h:17
Objects of this class are sent back as response to UseTicket.
Definition: srcMOTicketUse.h:16
returns detailed event data
Definition: srcMTGetEvent.h:17
Definition: srcMOTicketAudit.h:14
creates a new country in the database
Definition: srcMInterface.h:596
Changes the shipping option and/or price of an order.
Definition: srcMTOrderChangeShipping.h:17
For privileged users: edit the complete comments field, overwrite it.
Definition: srcMInterface.h:687
Changes the description of a user.
Definition: srcMInterface.h:540
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMInterface.h:10
users with this privilege can sell tickets for past events - be careful to give this privilege only t...
Definition: srcMInterface.h:779
returns all audit data for an order (when it was created, who handled it, when it was paid and how...
Definition: srcMTGetOrderAudit.h:19
Returns a list of all existing users.
Definition: srcMTGetAllUsers.h:17
create a new event
Definition: srcMInterface.h:620
Definition: srcMOCountry.h:14
Deletes a template from the server.
Definition: srcMInterface.h:767
This transaction is used to get data from the database during a backup.
Definition: srcMInterface.h:514
Privileged users: change the price of a ticket. Usually you would change its category.
Definition: srcMInterface.h:691
creates a new artist
Definition: srcMTCreateArtist.h:17
Returns a list of voucher values/prices that the system will accept for normal users (which do not ha...
Definition: srcMInterface.h:705
Definition: srcMOTemplate.h:14
Privileged users: change the price of a ticket. Usually you would change its category.
Definition: srcMTChangeTicketPrice.h:17
This is a helper for parsing seat plans: it defines a group of rows of seats.
Definition: srcMOSeatPlanGroupAbstract.h:16
users with this privilege may put tickets into orders
Definition: srcMInterface.h:785
Changes the roles assigned to a specific user.
Definition: srcMTSetUserRoles.h:16
this class represents a default price category definition
Definition: seatplanobj.h:30
Changes the validity date of the voucher.
Definition: srcMTChangeVoucherValidity.h:18
Called from the Web UI only: adds tickets to a specific event.
Definition: srcMTWebCartAddTicket.h:16
sets the payment type that is used per default
Definition: srcMInterface.h:715
returns detailed info about a customer (excluding password)
Definition: srcMInterface.h:580
Users with this privilege can return tickets for events in the past (if they have not been used yet)...
Definition: srcMInterface.h:805
This is a helper for parsing seat plans: it defines a virtual group of categories.
Definition: srcMOSeatPlanVGroupAbstract.h:15
Empties a voucher, makes it invalid for any further use, but also keeps the price tag...
Definition: srcMTEmptyVoucher.h:18
Definition: srcMInterface.h:660
returns all orders that match a specific list of events
Definition: srcMInterface.h:644
Retrieves details about a single coupon.
Definition: srcMTGetCoupon.h:17
cancel an event
Definition: srcMInterface.h:624
users with this privilege are allowed to set the iscancelled property and hence cancel or uncancel ev...
Definition: srcMInterface.h:771
returns detailed info about all known (log in/client) hosts
Definition: srcMTGetAllHosts.h:17
Returns the list of templates that this user can access. This transaction is sensitive to flags...
Definition: srcMTGetTemplateList.h:17
Admins: change/reset the password of a specific user. To be used when a user forgot his/her password...
Definition: srcMInterface.h:536
Returns a list of all existing seat plans.
Definition: srcMInterface.h:630
returns all audit data for a voucher (when it was bought, when it was used and for what) ...
Definition: srcMInterface.h:743
creates a new country in the database
Definition: srcMTCreateCountry.h:17
This class encapsulates shipping types.
Definition: srcMOShipping.h:15