mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +08:00
refs #755, validation also for "distributors from DB"
* validation now in webdataservices (so it can check against DB data) * utility functions
This commit is contained in:
committed by
Roland Winklmeier
parent
610dba2028
commit
0846a8773a
@@ -222,14 +222,17 @@ namespace BlackMisc
|
||||
//! Update distributor`s order attribute
|
||||
bool setDistributorOrder(const CDistributorList &distributors);
|
||||
|
||||
//! Distributor
|
||||
//! Distributor loaded from DB
|
||||
bool hasDbDistributor() const;
|
||||
|
||||
//! Distributor, but not necessarily loaded from DB
|
||||
bool hasDistributor() const;
|
||||
|
||||
//! By distributor
|
||||
bool matchesDistributor(const CDistributor &distributor) const;
|
||||
bool matchesDbDistributor(const CDistributor &distributor) const;
|
||||
|
||||
//! By distributor
|
||||
bool matchesAnyDistributor(const CDistributorList &distributors) const;
|
||||
bool matchesAnyDbDistributor(const CDistributorList &distributors) const;
|
||||
|
||||
//! Name
|
||||
const QString &getName() const { return this->m_name; }
|
||||
|
||||
Reference in New Issue
Block a user