Package | Description |
---|---|
org.emau.icmvc.ganimed.ttp.cm2 |
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.addConsentTemplate(ConsentTemplateDTO consentTemplateDTO,
boolean finaliseRelatedEntities)
stores the given consent template
the policies within the modulDTOs are ignored and therefore doesn't need to be set |
void |
GICSService.deleteModule(ModuleKeyDTO keyDTO)
deletes the given module (only if it's not in use, i.e. there's no consent template linked to
that module)
|
void |
GICSService.finaliseModule(ModuleKeyDTO moduleKeyDTO,
boolean finaliseRelatedEntities)
finalises the given module
|
ModuleDTO |
GICSService.getModule(ModuleKeyDTO keyDTO)
returns all attributes of the requested module
|
void |
GICSService.updateConsentTemplate(ConsentTemplateDTO consentTemplateDTO,
boolean finaliseRelatedEntities)
updates the given consent template
|
void |
GICSService.updateConsentTemplateInUse(ConsentTemplateDTO consentTemplateDTO)
updates label, title, comment, externProperties, scanBase64, scanFileType,
assignedModule.comment, assignedModule.externProperties, freeTextDef.comment
|
void |
GICSService.updateModule(ModuleDTO moduleDTO,
boolean finaliseRelatedEntities)
updates the given module
|
void |
GICSService.updateModuleInUse(ModuleKeyDTO moduleKeyDTO,
java.lang.String label,
java.lang.String shortText,
java.lang.String externProperties,
java.lang.String comment)
updates the given module with the given values
|
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 |