Commit a40d1e07 authored by Karel Slaný's avatar Karel Slaný Committed by Martin Straka

Specified source data-box types for already added services.

parent b8ec466d
...@@ -105,8 +105,15 @@ const QString &Gov::SrvcMvCrrVbh::dmFileDescr(void) const ...@@ -105,8 +105,15 @@ const QString &Gov::SrvcMvCrrVbh::dmFileDescr(void) const
bool Gov::SrvcMvCrrVbh::canSend(enum Isds::Type::DbType dbType) const bool Gov::SrvcMvCrrVbh::canSend(enum Isds::Type::DbType dbType) const
{ {
/* TODO -- Check all required types. */ switch (dbType) {
return (dbType == Isds::Type::BT_FO); case Isds::Type::BT_OVM_FO:
case Isds::Type::BT_FO:
return true;
break;
default:
return false;
break;
}
} }
#define DRILIC_KEY "drivingLicenceId" #define DRILIC_KEY "drivingLicenceId"
......
...@@ -539,8 +539,25 @@ const QString &Gov::SrvcMvIrVp::dmFileDescr(void) const ...@@ -539,8 +539,25 @@ const QString &Gov::SrvcMvIrVp::dmFileDescr(void) const
bool Gov::SrvcMvIrVp::canSend(enum Isds::Type::DbType dbType) const bool Gov::SrvcMvIrVp::canSend(enum Isds::Type::DbType dbType) const
{ {
/* TODO -- Check all required types. */ switch (dbType) {
return (dbType == Isds::Type::BT_FO); case Isds::Type::BT_OVM_FO:
case Isds::Type::BT_OVM_PFO:
case Isds::Type::BT_OVM_PO:
case Isds::Type::BT_PO:
case Isds::Type::BT_PO_ZAK:
case Isds::Type::BT_PO_REQ:
case Isds::Type::BT_PFO:
case Isds::Type::BT_PFO_ADVOK:
case Isds::Type::BT_PFO_DANPOR:
case Isds::Type::BT_PFO_INSSPR:
case Isds::Type::BT_PFO_AUDITOR:
case Isds::Type::BT_FO:
return true;
break;
default:
return false;
break;
}
} }
#define IC_KEY "ic" #define IC_KEY "ic"
......
...@@ -117,8 +117,15 @@ const QString &Gov::SrvcMvRtVt::dmFileDescr(void) const ...@@ -117,8 +117,15 @@ const QString &Gov::SrvcMvRtVt::dmFileDescr(void) const
bool Gov::SrvcMvRtVt::canSend(enum Isds::Type::DbType dbType) const bool Gov::SrvcMvRtVt::canSend(enum Isds::Type::DbType dbType) const
{ {
/* TODO -- Check all required types. */ switch (dbType) {
return (dbType == Isds::Type::BT_FO); case Isds::Type::BT_OVM_FO:
case Isds::Type::BT_FO:
return true;
break;
default:
return false;
break;
}
} }
QList<Gov::RequiredInput> Gov::SrvcMvRtVt::requiredFields(void) const QList<Gov::RequiredInput> Gov::SrvcMvRtVt::requiredFields(void) const
......
...@@ -106,8 +106,15 @@ const QString &Gov::SrvcSzrRobVu::dmFileDescr(void) const ...@@ -106,8 +106,15 @@ const QString &Gov::SrvcSzrRobVu::dmFileDescr(void) const
bool Gov::SrvcSzrRobVu::canSend(enum Isds::Type::DbType dbType) const bool Gov::SrvcSzrRobVu::canSend(enum Isds::Type::DbType dbType) const
{ {
/* TODO -- Check all required types. */ switch (dbType) {
return (dbType == Isds::Type::BT_FO); case Isds::Type::BT_OVM_FO:
case Isds::Type::BT_FO:
return true;
break;
default:
return false;
break;
}
} }
QList<Gov::RequiredInput> Gov::SrvcSzrRobVu::requiredFields(void) const QList<Gov::RequiredInput> Gov::SrvcSzrRobVu::requiredFields(void) const
......
...@@ -113,8 +113,15 @@ const QString &Gov::SrvcSzrRobVvu::dmFileDescr(void) const ...@@ -113,8 +113,15 @@ const QString &Gov::SrvcSzrRobVvu::dmFileDescr(void) const
bool Gov::SrvcSzrRobVvu::canSend(enum Isds::Type::DbType dbType) const bool Gov::SrvcSzrRobVvu::canSend(enum Isds::Type::DbType dbType) const
{ {
/* TODO -- Check all required types. */ switch (dbType) {
return (dbType == Isds::Type::BT_FO); case Isds::Type::BT_OVM_FO:
case Isds::Type::BT_FO:
return true;
break;
default:
return false;
break;
}
} }
#define FROM_KEY "fromDate" #define FROM_KEY "fromDate"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment