use of eu.europa.ec.fisheries.wsdl.subscription.module.SubscriptionDataCriteria in project UVMS-ActivityModule-APP by UnionVMS.
the class SubscriptionMapper method mapFluxPartyToSenderSubscriptionCriteria.
private static List<SubscriptionDataCriteria> mapFluxPartyToSenderSubscriptionCriteria(FLUXParty party) {
List<SubscriptionDataCriteria> dataCriteriaList = new ArrayList<>();
List<IDType> organisationIds = party.getIDS();
for (IDType organisationId : organisationIds) {
if ("FLUX_GP_PARTY".equals(organisationId.getSchemeID())) {
String value = organisationId.getValue();
dataCriteriaList.add(createCriteria(SENDER, ORGANISATION, SCHEME_ID, value));
}
}
return dataCriteriaList;
}
Aggregations