AppCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AllowedCompaniesBusinessLogic.h
Go to the documentation of this file.
1 #ifndef ALLOWEDCOMPANIESBUSINESSLOGIC_H
2 #define ALLOWEDCOMPANIESBUSINESSLOGIC_H
3 
4 #include "core/common/ESingleton.h"
5 
10 class AllowedCompaniesBusinessLogic : public ESingleton<AllowedCompaniesBusinessLogic>
11 {
12 public:
15 
21  bool IsCompanyNumberAllowedForOneWayTicketJourney( short companyNumber );
22 
28  bool IsCompanyNumberAllowedForWalletOperation( short companyNumber );
29 
35  bool IsCompanyNumberAllowedForTimeTicketJourney( short companyNumber );
36 
42  bool IsCompanyNumberAllowedForCommercialDiscount( short companyNumber );
43 
49  bool IsCompanyNumberRestrictedForTimeTicketSell( short companyNumber );
50 
51 private:
53 
54  class DataClass;
55  DataClass *d;
56 
58 };
59 
60 #endif // ALLOWEDCOMPANIESBUSINESSLOGIC_H
AllowedCompaniesBusinessLogic()
Definition: AllowedCompaniesBusinessLogic.cpp:61
EEventTripTicketPr __EDATAPTR d
Definition: EEventTripTicket.h:96
bool IsCompanyNumberRestrictedForTimeTicketSell(short companyNumber)
IsCompanyNumberRestrictedForTimeTicketSell.
Definition: AllowedCompaniesBusinessLogic.cpp:92
Class loads allowed companies from 'Udalosti.dat' ( EEventCards ) and provides interface for checking...
Definition: AllowedCompaniesBusinessLogic.h:10
bool IsCompanyNumberAllowedForTimeTicketJourney(short companyNumber)
IsCompanyNumberAllowedForTimeTicketJourney.
Definition: AllowedCompaniesBusinessLogic.cpp:82
__ECLASS DataClass
Definition: EEventUpdateCustomerData.h:35
virtual ~AllowedCompaniesBusinessLogic()
Definition: AllowedCompaniesBusinessLogic.cpp:67
bool IsCompanyNumberAllowedForCommercialDiscount(short companyNumber)
IsCompanyNumberAllowedForCommercialDiscount.
Definition: AllowedCompaniesBusinessLogic.cpp:87
bool IsCompanyNumberAllowedForWalletOperation(short companyNumber)
IsCompanyNumberAllowedForWalletOperation.
Definition: AllowedCompaniesBusinessLogic.cpp:77
bool IsCompanyNumberAllowedForOneWayTicketJourney(short companyNumber)
IsCompanyNumberAllowedForOneWayTicketJourney.
Definition: AllowedCompaniesBusinessLogic.cpp:72