Package org.imixs.workflow.office.gdpr
Class GDPRAnonymiseAdapter
java.lang.Object
org.imixs.workflow.office.gdpr.GDPRAnonymiseAdapter
- All Implemented Interfaces:
org.imixs.workflow.Adapter,org.imixs.workflow.SignalAdapter
The plugin allows the deletion or anonymize of items within a running
workflow process. This is conform to * Art. 17 GDPR Right to erasure (‘right
to be forgotten’)
To trigger the process the following item definition is used:
<gdpr>
<delete>$file, txtname</delete>
<anonymise>firstname,lastname</anonymise>
<placeholder>no data</placeholder>
<references>IN|OUT|ALL|NONE</references>
</gdpr>
The item list can be customized for each event separately
- Version:
- 2.0
- Author:
- rsoika
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.imixs.workflow.ItemCollectionexecute(org.imixs.workflow.ItemCollection workitem, org.imixs.workflow.ItemCollection event) The method stores the current gdp result in the item 'gdpr.definiton'.voidonWorkflowEvent(org.imixs.workflow.engine.ProcessingEvent processingEvent) WorkflowEvent listener to anonymize / delete the items defined in the workflow result.
-
Field Details
-
PROCESSING_ERROR
-
CONFIG_ERROR
- See Also:
-
-
Constructor Details
-
GDPRAnonymiseAdapter
public GDPRAnonymiseAdapter()
-
-
Method Details
-
execute
public org.imixs.workflow.ItemCollection execute(org.imixs.workflow.ItemCollection workitem, org.imixs.workflow.ItemCollection event) throws org.imixs.workflow.exceptions.AdapterException, org.imixs.workflow.exceptions.PluginException The method stores the current gdp result in the item 'gdpr.definiton'. This information is used in the workflow event 'WORKITEM_AFTER_PROCESS' to remove the items after the normal processing live cycle. Otherwise removing or anonymizing items controlled by a plugin would be overwritten by the plugins in the normal processing live-cycle.- Specified by:
executein interfaceorg.imixs.workflow.Adapter- Returns:
- Throws:
org.imixs.workflow.exceptions.PluginExceptionjakarta.mail.internet.AddressExceptionorg.imixs.workflow.exceptions.AdapterException
-
onWorkflowEvent
public void onWorkflowEvent(@Observes org.imixs.workflow.engine.ProcessingEvent processingEvent) WorkflowEvent listener to anonymize / delete the items defined in the workflow result.- Parameters:
processingEvent-- Throws:
org.imixs.workflow.exceptions.AccessDeniedExceptionorg.imixs.workflow.exceptions.ModelException
-