Package | Description |
---|---|
org.emau.icmvc.ganimed.ttp.cm2 | |
org.emau.icmvc.ganimed.ttp.cm2.dto |
Modifier and Type | Method and Description |
---|---|
ConsentDTO |
GICSService.getConsent(ConsentKeyDTO keyDTO)
get the complete dto for the given key - thought to be used in addition to the list functions
|
ConsentDTO |
GICSService.getCurrentConsentForPersonAndCT(ConsentTemplateKeyDTO ctKeyDTO,
java.util.Set<SignerIdDTO> signerIdDTOs,
boolean ignoreVersionNumber)
returns the current consent for the given signerIds
current means: the consent with the highest versionNumber of the associated ConsentTemplate; if there are more then one, the newest (ConsentDate) of them if "ignoreVersionNumber" is true, then the newest of all consents belonging to the signerIds, regardless of the VersionNumber of the associated ConsentTemplate |
Modifier and Type | Method and Description |
---|---|
void |
GICSService.addConsent(ConsentDTO consentDTO)
stores the given consent
the policies within the modulDTOs are ignored and therefore doesn't need to be set |
void |
GICSService.validateConsent(ConsentDTO consentDTO,
boolean allowRevoke)
validates the given consentDTO
checks the given domain, consent template and assures, that the given modules are part of the consent template all mandatory modules need to be either accepted or declined when there's at least one declined mandatory module, no module may be accepted no child module may be accepted if its parent is not when there's at least one accepted module, the two signatures have to be provided |
Constructor and Description |
---|
ConsentDTO(ConsentDTO dto,
java.util.Date date) |