Class GDPRAnonymiseAdapter

java.lang.Object
org.imixs.workflow.office.gdpr.GDPRAnonymiseAdapter
All Implemented Interfaces:
org.imixs.workflow.Adapter, org.imixs.workflow.SignalAdapter

public class GDPRAnonymiseAdapter extends Object implements 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
    Modifier and Type
    Field
    Description
    static final String
     
    static String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.imixs.workflow.ItemCollection
    execute(org.imixs.workflow.ItemCollection workitem, org.imixs.workflow.ItemCollection event)
    The method stores the current gdp result in the item 'gdpr.definiton'.
    void
    onWorkflowEvent(org.imixs.workflow.engine.ProcessingEvent processingEvent)
    WorkflowEvent listener to anonymize / delete the items defined in the workflow result.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • 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:
      execute in interface org.imixs.workflow.Adapter
      Returns:
      Throws:
      org.imixs.workflow.exceptions.PluginException
      jakarta.mail.internet.AddressException
      org.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.AccessDeniedException
      org.imixs.workflow.exceptions.ModelException