Package org.emau.icmvc.ganimed.ttp.cm2
Schnittstelle GICSManagementService
public interface GICSManagementService
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidaddConsentTemplate(ConsentTemplateDTO consentTemplateDTO, boolean finaliseRelatedEntities) stores the given consent template
the policies within the modulDTOs are ignored and therefore doesn't need to be setvoidcreates a new domainvoidstores the given modulevoidstores the given policyvoidaddSignerIdType(String domainName, String signerIdTypeName) add a signer id type with the given name to the given domainvoiddeletes the given consent template (only if it's not in use, i.e. there's no consent belonging to that consent template)voiddeleteDomain(String domainName) deletes the given domainvoiddeleteModule(ModuleKeyDTO keyDTO) deletes the given module (only if it's not in use, i.e. there's no consent template linked to that module)voiddeletePolicy(PolicyKeyDTO keyDTO) deletes the given policy (only if it's not in use, i.e. there's no module linked to that policy)voiddeleteSignerIdType(String domainName, String signerIdTypeName) removes the given signer id type from the given domainvoidfinaliseAllForDomain(String domainName) finalises the given domain and all its policies, modules, and templatesvoidfinaliseDomain(String domainName) finalises the given domainvoidfinaliseModule(ModuleKeyDTO moduleKeyDTO, boolean finaliseRelatedEntities) finalises the given modulevoidfinalisePolicy(PolicyKeyDTO policyKeyDTO) finalises the given policyvoidfinaliseTemplate(ConsentTemplateKeyDTO consentTemplateKeyDTO, boolean finaliseRelatedEntities) finalises the given consent templatevoidupdateConsentTemplate(ConsentTemplateDTO consentTemplateDTO, boolean finaliseRelatedEntities) updates the given consent templatevoidupdateConsentTemplateInUse(ConsentTemplateDTO consentTemplateDTO) updates label, title, comment, externProperties, scanBase64, scanFileType, assignedModule.comment, assignedModule.externProperties, freeTextDef.commentvoidupdateDomain(DomainDTO domainDTO) updates the given domainvoidupdateDomainInUse(String domainName, String label, String logo, String externProperties, ExpirationPropertiesDTO expirationProperties, String comment, DomainConfig config) updates the given domain with the given valuesvoidupdateModule(ModuleDTO moduleDTO, boolean finaliseRelatedEntities) updates the given modulevoidupdateModuleInUse(ModuleKeyDTO moduleKeyDTO, String label, String shortText, String externProperties, String comment, Set<AssignedPolicyDTO> assignedPolicyDTOs) updates the given module with the given valuesvoidupdatePolicy(PolicyDTO policyDTO) updates the given policyvoidupdatePolicyInUse(PolicyKeyDTO policyKeyDTO, String label, String externProperties, String comment) updates the given policy with the given valuesvoidupdateSignerIdType(String domainName, String signerIdTypeName, String label, String comment) updates the given signerIdType with the given values
-
Methodendetails
-
addDomain
void addDomain(DomainDTO domainDTO) throws DuplicateEntryException, InvalidParameterException, VersionConverterClassException creates a new domain- Parameter:
domainDTO- seeDomainDTO- Löst aus:
DuplicateEntryException- if a domain with that name already existsInvalidParameterExceptionVersionConverterClassException
-
deleteDomain
void deleteDomain(String domainName) throws InvalidParameterException, ObjectInUseException, UnknownDomainException deletes the given domain- Parameter:
domainName- the name of the domain- Löst aus:
InvalidParameterExceptionObjectInUseException- if there's at least one pseudonym within that domainUnknownDomainException- if the given domain is not found
-
finaliseAllForDomain
void finaliseAllForDomain(String domainName) throws InvalidParameterException, UnknownDomainException, InvalidVersionException, UnknownPolicyException, UnknownConsentTemplateException, UnknownModuleException, RequirementsNotFullfilledException finalises the given domain and all its policies, modules, and templates- Parameter:
domainName- the name of the domain- Löst aus:
InvalidParameterExceptionUnknownDomainExceptionInvalidVersionExceptionUnknownPolicyExceptionUnknownConsentTemplateExceptionUnknownModuleExceptionRequirementsNotFullfilledException
-
finaliseDomain
finalises the given domain- Parameter:
domainName- the name of the domain- Löst aus:
InvalidParameterExceptionUnknownDomainException
-
updateDomain
void updateDomain(DomainDTO domainDTO) throws InvalidParameterException, ObjectInUseException, UnknownDomainException updates the given domain- Parameter:
domainDTO-- Löst aus:
InvalidParameterExceptionObjectInUseExceptionUnknownDomainException
-
updateDomainInUse
void updateDomainInUse(String domainName, String label, String logo, String externProperties, ExpirationPropertiesDTO expirationProperties, String comment, DomainConfig config) throws InvalidParameterException, UnknownDomainException updates the given domain with the given values- Parameter:
domainName- the name of the domainlabel-logo-externProperties-comment-config-- Löst aus:
InvalidParameterExceptionUnknownDomainException
-
addConsentTemplate
void addConsentTemplate(ConsentTemplateDTO consentTemplateDTO, boolean finaliseRelatedEntities) throws UnknownDomainException, UnknownModuleException, DuplicateEntryException, InvalidParameterException, InvalidVersionException, FreeTextConverterStringException, InvalidPropertiesException, RequirementsNotFullfilledException, UnknownConsentTemplateException, IllegalCompositionException stores the given consent template
the policies within the modulDTOs are ignored and therefore doesn't need to be set- Parameter:
consentTemplateDTO-- Löst aus:
UnknownDomainExceptionUnknownModuleExceptionDuplicateEntryExceptionInvalidParameterExceptionInvalidVersionExceptionFreeTextConverterStringException- is thrown when the given converter string (in case ofFreeTextType.Date) is not a valid string forUngültige Referenz
SimpleDateFormatInvalidPropertiesExceptionRequirementsNotFullfilledExceptionInvalidParameterExceptionUnknownConsentTemplateExceptionIllegalCompositionException
-
deleteConsentTemplate
void deleteConsentTemplate(ConsentTemplateKeyDTO keyDTO) throws UnknownDomainException, UnknownConsentTemplateException, ObjectInUseException, InvalidParameterException, InvalidVersionException deletes the given consent template (only if it's not in use, i.e. there's no consent belonging to that consent template)- Parameter:
keyDTO-- Löst aus:
UnknownDomainExceptionUnknownConsentTemplateExceptionObjectInUseExceptionInvalidParameterExceptionInvalidVersionException
-
finaliseTemplate
void finaliseTemplate(ConsentTemplateKeyDTO consentTemplateKeyDTO, boolean finaliseRelatedEntities) throws InvalidParameterException, InvalidVersionException, RequirementsNotFullfilledException, UnknownConsentTemplateException, UnknownDomainException finalises the given consent template- Parameter:
consentTemplateKeyDTO-finaliseRelatedEntities-- Löst aus:
InvalidParameterExceptionInvalidVersionExceptionRequirementsNotFullfilledExceptionUnknownConsentTemplateExceptionUnknownDomainException
-
updateConsentTemplate
void updateConsentTemplate(ConsentTemplateDTO consentTemplateDTO, boolean finaliseRelatedEntities) throws DuplicateEntryException, FreeTextConverterStringException, InvalidFreeTextException, InvalidParameterException, InvalidPropertiesException, InvalidVersionException, ObjectInUseException, RequirementsNotFullfilledException, UnknownConsentTemplateException, UnknownDomainException, UnknownModuleException, IllegalCompositionException updates the given consent template- Parameter:
consentTemplateDTO-- Löst aus:
DuplicateEntryExceptionFreeTextConverterStringExceptionInvalidFreeTextExceptionInvalidParameterExceptionInvalidPropertiesExceptionInvalidVersionExceptionObjectInUseExceptionRequirementsNotFullfilledExceptionUnknownConsentTemplateExceptionUnknownDomainExceptionUnknownModuleExceptionIllegalCompositionException
-
updateConsentTemplateInUse
void updateConsentTemplateInUse(ConsentTemplateDTO consentTemplateDTO) throws InvalidFreeTextException, InvalidParameterException, InvalidVersionException, UnknownConsentTemplateException, UnknownDomainException, UnknownModuleException updates label, title, comment, externProperties, scanBase64, scanFileType, assignedModule.comment, assignedModule.externProperties, freeTextDef.comment- Parameter:
consentTemplateDTO-- Löst aus:
InvalidFreeTextExceptionInvalidParameterExceptionInvalidVersionExceptionUnknownConsentTemplateExceptionUnknownDomainExceptionUnknownModuleException
-
addModule
void addModule(ModuleDTO moduleDTO, boolean finaliseRelatedEntities) throws UnknownDomainException, UnknownPolicyException, DuplicateEntryException, InvalidParameterException, InvalidVersionException, RequirementsNotFullfilledException, IllegalCompositionException stores the given module -
deleteModule
void deleteModule(ModuleKeyDTO keyDTO) throws UnknownDomainException, UnknownModuleException, ObjectInUseException, InvalidParameterException, InvalidVersionException deletes the given module (only if it's not in use, i.e. there's no consent template linked to that module)- Parameter:
keyDTO-- Löst aus:
UnknownDomainExceptionUnknownModuleExceptionObjectInUseExceptionInvalidParameterExceptionInvalidVersionException
-
finaliseModule
void finaliseModule(ModuleKeyDTO moduleKeyDTO, boolean finaliseRelatedEntities) throws InvalidParameterException, InvalidVersionException, RequirementsNotFullfilledException, UnknownDomainException, UnknownModuleException finalises the given module- Parameter:
moduleKeyDTO-finaliseRelatedEntities-- Löst aus:
InvalidParameterExceptionInvalidVersionExceptionRequirementsNotFullfilledExceptionUnknownDomainExceptionUnknownModuleException
-
updateModule
void updateModule(ModuleDTO moduleDTO, boolean finaliseRelatedEntities) throws DuplicateEntryException, InvalidParameterException, InvalidVersionException, ObjectInUseException, RequirementsNotFullfilledException, UnknownDomainException, UnknownModuleException, UnknownPolicyException, IllegalCompositionException updates the given module -
updateModuleInUse
void updateModuleInUse(ModuleKeyDTO moduleKeyDTO, String label, String shortText, String externProperties, String comment, Set<AssignedPolicyDTO> assignedPolicyDTOs) throws InvalidParameterException, InvalidVersionException, UnknownDomainException, UnknownModuleException updates the given module with the given values- Parameter:
moduleKeyDTO-label-shortText-externProperties-comment-assignedPolicyDTOs- only externProperties and comments of this objects are updated- Löst aus:
InvalidParameterExceptionInvalidVersionExceptionUnknownDomainExceptionUnknownModuleException
-
addPolicy
void addPolicy(PolicyDTO policyDTO) throws UnknownDomainException, DuplicateEntryException, InvalidParameterException, InvalidVersionException, RequirementsNotFullfilledException stores the given policy- Parameter:
policyDTO-- Löst aus:
UnknownDomainExceptionDuplicateEntryExceptionInvalidParameterExceptionInvalidVersionExceptionRequirementsNotFullfilledException
-
deletePolicy
void deletePolicy(PolicyKeyDTO keyDTO) throws UnknownDomainException, UnknownPolicyException, ObjectInUseException, InvalidParameterException, InvalidVersionException deletes the given policy (only if it's not in use, i.e. there's no module linked to that policy)- Parameter:
keyDTO-- Löst aus:
UnknownDomainExceptionUnknownPolicyExceptionObjectInUseExceptionInvalidParameterExceptionInvalidVersionException
-
finalisePolicy
void finalisePolicy(PolicyKeyDTO policyKeyDTO) throws InvalidParameterException, InvalidVersionException, UnknownDomainException, UnknownPolicyException finalises the given policy- Parameter:
policyKeyDTO-- Löst aus:
InvalidParameterExceptionInvalidVersionExceptionUnknownDomainExceptionUnknownPolicyException
-
updatePolicy
void updatePolicy(PolicyDTO policyDTO) throws InvalidParameterException, InvalidVersionException, ObjectInUseException, UnknownDomainException, UnknownPolicyException updates the given policy- Parameter:
policyDTO-- Löst aus:
InvalidParameterExceptionInvalidVersionExceptionObjectInUseExceptionUnknownDomainExceptionUnknownPolicyException
-
updatePolicyInUse
void updatePolicyInUse(PolicyKeyDTO policyKeyDTO, String label, String externProperties, String comment) throws InvalidParameterException, InvalidVersionException, UnknownDomainException, UnknownPolicyException updates the given policy with the given values- Parameter:
policyKeyDTO-label-externProperties-comment-- Löst aus:
InvalidParameterExceptionInvalidVersionExceptionUnknownDomainExceptionUnknownPolicyException
-
addSignerIdType
void addSignerIdType(String domainName, String signerIdTypeName) throws InvalidParameterException, UnknownDomainException, DuplicateEntryException add a signer id type with the given name to the given domain- Parameter:
domainName- domain to which the signerIdType belongs tosignerIdTypeName- identifier- Löst aus:
InvalidParameterExceptionUnknownDomainException- if the given domain is not foundDuplicateEntryException- if the signerIdType already exists
-
updateSignerIdType
void updateSignerIdType(String domainName, String signerIdTypeName, String label, String comment) throws InvalidParameterException, UnknownDomainException, UnknownSignerIdTypeException updates the given signerIdType with the given values- Parameter:
domainName- domain to which the signerIdType belongs tosignerIdTypeName- identifierlabel-comment-- Löst aus:
InvalidParameterExceptionUnknownDomainException- if the given domain is not foundUnknownSignerIdTypeException- if the given signerIdType is not found
-
deleteSignerIdType
void deleteSignerIdType(String domainName, String signerIdTypeName) throws InvalidParameterException, UnknownDomainException, UnknownSignerIdTypeException, ObjectInUseException removes the given signer id type from the given domain- Parameter:
domainName- domain to which the signerIdType belongs tosignerIdTypeName- identifier- Löst aus:
InvalidParameterExceptionUnknownDomainExceptionUnknownSignerIdTypeExceptionObjectInUseException
-