1 package org.emau.icmvc.ganimed.ttp.cm2.dto.enums;
3 import java.util.ArrayList;
63 public static List<ConsentStatus> getAllConsentStatusForType(
ConsentStatusType csType) {
64 List<ConsentStatus> result =
new ArrayList<ConsentStatus>();
66 if (cs.getConsentStatusType().equals(csType)) {
74 StringBuilder sb =
new StringBuilder(
"[");
75 List<ConsentStatus> csList = getAllConsentStatusForType(csType);
76 if (!csList.isEmpty()) {
77 sb.append(csList.get(0).name());
78 for (
int i = 1; i < csList.size(); i++) {
80 sb.append(csList.get(i).name());
wie wurde ein modul (und damit die enthaltenen policies) innerhalb eines consents konsentiert...
ordnet die verschiedenen status nach "zugestimmt", "verweigert" und "unbekannt" see ConsentStatus ...