AppCore
Loading...
Searching...
No Matches
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.
 
bool IsCompanyNumberAllowedForWalletOperation (short companyNumber)
 IsCompanyNumberAllowedForWalletOperation.
 
bool IsCompanyNumberAllowedForTimeTicketJourney (short companyNumber)
 IsCompanyNumberAllowedForTimeTicketJourney.
 
bool IsCompanyNumberAllowedForCommercialDiscount (short companyNumber)
 IsCompanyNumberAllowedForCommercialDiscount.
 
bool IsCompanyNumberRestrictedForTimeTicketSell (short companyNumber)
 IsCompanyNumberRestrictedForTimeTicketSell.
 
 AllowedCompaniesBusinessLogic ()
 
virtual ~AllowedCompaniesBusinessLogic ()
 
bool IsCompanyNumberAllowedForOneWayTicketJourney (short companyNumber)
 IsCompanyNumberAllowedForOneWayTicketJourney.
 
bool IsCompanyNumberAllowedForWalletOperation (short companyNumber)
 IsCompanyNumberAllowedForWalletOperation.
 
bool IsCompanyNumberAllowedForTimeTicketJourney (short companyNumber)
 IsCompanyNumberAllowedForTimeTicketJourney.
 
bool IsCompanyNumberAllowedForCommercialDiscount (short companyNumber)
 IsCompanyNumberAllowedForCommercialDiscount.
 
bool IsCompanyNumberRestrictedForTimeTicketSell (short companyNumber)
 IsCompanyNumberRestrictedForTimeTicketSell.
 

Detailed Description

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

Constructor & Destructor Documentation

◆ AllowedCompaniesBusinessLogic() [1/2]

AllowedCompaniesBusinessLogic::AllowedCompaniesBusinessLogic ( )

◆ ~AllowedCompaniesBusinessLogic() [1/2]

AllowedCompaniesBusinessLogic::~AllowedCompaniesBusinessLogic ( )
virtual

◆ AllowedCompaniesBusinessLogic() [2/2]

AllowedCompaniesBusinessLogic::AllowedCompaniesBusinessLogic ( )

◆ ~AllowedCompaniesBusinessLogic() [2/2]

virtual AllowedCompaniesBusinessLogic::~AllowedCompaniesBusinessLogic ( )
virtual

Member Function Documentation

◆ IsCompanyNumberAllowedForCommercialDiscount() [1/2]

bool AllowedCompaniesBusinessLogic::IsCompanyNumberAllowedForCommercialDiscount ( short  companyNumber)

IsCompanyNumberAllowedForCommercialDiscount.

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

◆ IsCompanyNumberAllowedForCommercialDiscount() [2/2]

bool AllowedCompaniesBusinessLogic::IsCompanyNumberAllowedForCommercialDiscount ( short  companyNumber)

IsCompanyNumberAllowedForCommercialDiscount.

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

◆ IsCompanyNumberAllowedForOneWayTicketJourney() [1/2]

bool AllowedCompaniesBusinessLogic::IsCompanyNumberAllowedForOneWayTicketJourney ( short  companyNumber)

IsCompanyNumberAllowedForOneWayTicketJourney.

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

◆ IsCompanyNumberAllowedForOneWayTicketJourney() [2/2]

bool AllowedCompaniesBusinessLogic::IsCompanyNumberAllowedForOneWayTicketJourney ( short  companyNumber)

IsCompanyNumberAllowedForOneWayTicketJourney.

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

◆ IsCompanyNumberAllowedForTimeTicketJourney() [1/2]

bool AllowedCompaniesBusinessLogic::IsCompanyNumberAllowedForTimeTicketJourney ( short  companyNumber)

IsCompanyNumberAllowedForTimeTicketJourney.

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

◆ IsCompanyNumberAllowedForTimeTicketJourney() [2/2]

bool AllowedCompaniesBusinessLogic::IsCompanyNumberAllowedForTimeTicketJourney ( short  companyNumber)

IsCompanyNumberAllowedForTimeTicketJourney.

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

◆ IsCompanyNumberAllowedForWalletOperation() [1/2]

bool AllowedCompaniesBusinessLogic::IsCompanyNumberAllowedForWalletOperation ( short  companyNumber)

IsCompanyNumberAllowedForWalletOperation.

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

◆ IsCompanyNumberAllowedForWalletOperation() [2/2]

bool AllowedCompaniesBusinessLogic::IsCompanyNumberAllowedForWalletOperation ( short  companyNumber)

IsCompanyNumberAllowedForWalletOperation.

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

◆ IsCompanyNumberRestrictedForTimeTicketSell() [1/2]

bool AllowedCompaniesBusinessLogic::IsCompanyNumberRestrictedForTimeTicketSell ( short  companyNumber)

IsCompanyNumberRestrictedForTimeTicketSell.

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

◆ IsCompanyNumberRestrictedForTimeTicketSell() [2/2]

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: