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.addScanToConsent(ConsentKeyDTO consentKeyDTO,
java.lang.String scanBase64,
java.lang.String fileType)
Deprecated.
since 2.5.0 - use
GICSService.updateConsent instead |
void |
GICSService.addSignerIdToConsent(ConsentKeyDTO consentKeyDTO,
SignerIdDTO signerIdDTO)
adds the given signerId to the given consent
|
void |
GICSService.deleteConsentTemplate(ConsentTemplateKeyDTO keyDTO)
deletes the given consent template (only if it's not in use, i.e. there's no consent
belonging to that consent template)
|
void |
GICSService.finaliseTemplate(ConsentTemplateKeyDTO consentTemplateKeyDTO,
boolean finaliseRelatedEntities)
finalises the given consent template
|
java.util.List<ConsentLightDTO> |
GICSService.getAllConsentsForConsentTemplate(ConsentTemplateKeyDTO ctKeyDTO)
lists all consents for the given consent template
|
ConsentDTO |
GICSService.getConsent(ConsentKeyDTO keyDTO)
get the complete dto for the given key - thought to be used in addition to the list functions
|
ConsentTemplateDTO |
GICSService.getConsentTemplate(ConsentTemplateKeyDTO keyDTO)
returns all attributes of the requested consent template
|
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 |
ConsentTemplateDTO |
GICSService.getCurrentConsentTemplate(java.lang.String consentTemplateName,
java.lang.String domainName)
returns all attributes of the current (highest version) consent template with the given name
|
ConsentExpirationValuesDTO |
GICSService.getExpirationDates(ConsentKeyDTO consentKeyDTO)
returns the expiration dates for all policies for the given consent
|
java.util.List<QCHistoryDTO> |
GICSService.getQCHistoryForConsent(ConsentKeyDTO consentKeyDTO)
returns a list with all qc entries for the given consent
|
void |
GICSService.refuseConsent(ConsentTemplateKeyDTO ctKeyDTO,
java.util.Set<SignerIdDTO> signerIdDTOs)
stores a "refused" consent - the consent is not declined, the participant didn't want to fill
a consent
the date of the refused consent is set to the current date |
void |
GICSService.setQCForConsent(ConsentKeyDTO consentKeyDTO,
QCDTO qc)
updates the qc for the given consent
|
void |
GICSService.updateConsentInUse(ConsentKeyDTO consentKeyDTO,
java.lang.String externProperties,
java.lang.String comment,
java.lang.String scanBase64,
java.lang.String scanFileType)
updates the given consent
|
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.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 |