AppCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Member Functions | List of all members
AllowedCompaniesBusinessLogic Class Reference

Class loads allowed companies from 'Udalosti.dat' ( EEventCards ) and provides interface for checking provider number is allowed. More...

#include <AllowedCompaniesBusinessLogic.h>

Inheritance diagram for AllowedCompaniesBusinessLogic:
Inheritance graph
[legend]
Collaboration diagram for AllowedCompaniesBusinessLogic:
Collaboration graph
[legend]

Classes

class  DataClass
 

Public Member Functions

 AllowedCompaniesBusinessLogic ()
 
virtual ~AllowedCompaniesBusinessLogic ()
 
bool IsCompanyNumberAllowedForOneWayTicketJourney (short companyNumber)
 IsCompanyNumberAllowedForOneWayTicketJourney. More...
 
bool IsCompanyNumberAllowedForWalletOperation (short companyNumber)
 IsCompanyNumberAllowedForWalletOperation. More...
 
bool IsCompanyNumberAllowedForTimeTicketJourney (short companyNumber)
 IsCompanyNumberAllowedForTimeTicketJourney. More...
 
bool IsCompanyNumberAllowedForCommercialDiscount (short companyNumber)
 IsCompanyNumberAllowedForCommercialDiscount. More...
 
bool IsCompanyNumberRestrictedForTimeTicketSell (short companyNumber)
 IsCompanyNumberRestrictedForTimeTicketSell. More...
 
 AllowedCompaniesBusinessLogic ()
 
virtual ~AllowedCompaniesBusinessLogic ()
 
bool IsCompanyNumberAllowedForOneWayTicketJourney (short companyNumber)
 IsCompanyNumberAllowedForOneWayTicketJourney. More...
 
bool IsCompanyNumberAllowedForWalletOperation (short companyNumber)
 IsCompanyNumberAllowedForWalletOperation. More...
 
bool IsCompanyNumberAllowedForTimeTicketJourney (short companyNumber)
 IsCompanyNumberAllowedForTimeTicketJourney. More...
 
bool IsCompanyNumberAllowedForCommercialDiscount (short companyNumber)
 IsCompanyNumberAllowedForCommercialDiscount. More...
 
bool IsCompanyNumberRestrictedForTimeTicketSell (short companyNumber)
 IsCompanyNumberRestrictedForTimeTicketSell. More...
 

Detailed Description

Class loads allowed companies from 'Udalosti.dat' ( EEventCards ) and provides interface for checking provider number is allowed.

Constructor & Destructor Documentation

AllowedCompaniesBusinessLogic::AllowedCompaniesBusinessLogic ( )
AllowedCompaniesBusinessLogic::~AllowedCompaniesBusinessLogic ( )
virtual
AllowedCompaniesBusinessLogic::AllowedCompaniesBusinessLogic ( )
virtual AllowedCompaniesBusinessLogic::~AllowedCompaniesBusinessLogic ( )
virtual

Member Function Documentation

bool AllowedCompaniesBusinessLogic::IsCompanyNumberAllowedForCommercialDiscount ( short  companyNumber)

IsCompanyNumberAllowedForCommercialDiscount.

Parameters
companyNumber- company number to check
Returns
true if company is allowed otherwise return false
bool AllowedCompaniesBusinessLogic::IsCompanyNumberAllowedForCommercialDiscount ( short  companyNumber)

IsCompanyNumberAllowedForCommercialDiscount.

Parameters
companyNumber- company number to check
Returns
true if company is allowed otherwise return false
bool AllowedCompaniesBusinessLogic::IsCompanyNumberAllowedForOneWayTicketJourney ( short  companyNumber)

IsCompanyNumberAllowedForOneWayTicketJourney.

Parameters
companyNumber- company number to check
Returns
true if company is allowed otherwise return false
bool AllowedCompaniesBusinessLogic::IsCompanyNumberAllowedForOneWayTicketJourney ( short  companyNumber)

IsCompanyNumberAllowedForOneWayTicketJourney.

Parameters
companyNumber- company number to check
Returns
true if company is allowed otherwise return false
bool AllowedCompaniesBusinessLogic::IsCompanyNumberAllowedForTimeTicketJourney ( short  companyNumber)

IsCompanyNumberAllowedForTimeTicketJourney.

Parameters
companyNumber- company number to check
Returns
true if company is allowed otherwise return false
bool AllowedCompaniesBusinessLogic::IsCompanyNumberAllowedForTimeTicketJourney ( short  companyNumber)

IsCompanyNumberAllowedForTimeTicketJourney.

Parameters
companyNumber- company number to check
Returns
true if company is allowed otherwise return false
bool AllowedCompaniesBusinessLogic::IsCompanyNumberAllowedForWalletOperation ( short  companyNumber)

IsCompanyNumberAllowedForWalletOperation.

Parameters
companyNumber- company number to check
Returns
true if company is allowed otherwise return false
bool AllowedCompaniesBusinessLogic::IsCompanyNumberAllowedForWalletOperation ( short  companyNumber)

IsCompanyNumberAllowedForWalletOperation.

Parameters
companyNumber- company number to check
Returns
true if company is allowed otherwise return false
bool AllowedCompaniesBusinessLogic::IsCompanyNumberRestrictedForTimeTicketSell ( short  companyNumber)

IsCompanyNumberRestrictedForTimeTicketSell.

Parameters
companyNumber- company number to check
Returns
true if company is allowed otherwise return false
bool AllowedCompaniesBusinessLogic::IsCompanyNumberRestrictedForTimeTicketSell ( short  companyNumber)

IsCompanyNumberRestrictedForTimeTicketSell.

Parameters
companyNumber- company number to check
Returns
true if company is allowed otherwise return false

The documentation for this class was generated from the following files: