Class GDPRPlugin

  • All Implemented Interfaces:
    org.imixs.workflow.Plugin

    public class GDPRPlugin
    extends org.imixs.workflow.engine.plugins.AbstractPlugin
    This Plugin is used for GDPR Workflow.

    GDPR Request

    The plugin controls GDPR Request and creates sub tasks. The plugin is triggered by the GDPR process 'Request' and creates a subtask for the Workfow 'Process Request' for each available request type 'System'. To trigger the creation process the following item definition is used:
     
     
         <item name="gdpr">
         	  <mode>create|update</mode>
            <processid>100</processid>
            <activityid>10</activityid>
            <items>namTeam,txtname</items>
         </item>
     
     
     
    A subprocess can either be created or updated. The mode can be set by the tag

    DSFA

    The plugin copies each ID form _affected_systems into txtworkitemref
    Version:
    2.0
    Author:
    rsoika
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String PROCESSING_ERROR  
      • Fields inherited from class org.imixs.workflow.engine.plugins.AbstractPlugin

        INVALID_ITEMVALUE_FORMAT, INVALID_PROPERTYVALUE_FORMAT
    • Constructor Summary

      Constructors 
      Constructor Description
      GDPRPlugin()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.imixs.workflow.ItemCollection run​(org.imixs.workflow.ItemCollection documentContext, org.imixs.workflow.ItemCollection documentActivity)
      The method verifies if a sequencenumber is set.
      • Methods inherited from class org.imixs.workflow.engine.plugins.AbstractPlugin

        close, getCtx, getWorkflowService, init, mergeFieldList, uniqueList
    • Field Detail

      • PROCESSING_ERROR

        public static String PROCESSING_ERROR
    • Constructor Detail

      • GDPRPlugin

        public GDPRPlugin()
    • Method Detail

      • run

        public org.imixs.workflow.ItemCollection run​(org.imixs.workflow.ItemCollection documentContext,
                                                     org.imixs.workflow.ItemCollection documentActivity)
                                              throws org.imixs.workflow.exceptions.PluginException
        The method verifies if a sequencenumber is set. If not a new sequencenumber is computed.

        If a version was created, all workitems from the master with the types 'workitem' or 'childworkitem' are copied into the new version. . In this case the minute items are renumbered. *

        Returns:
        Throws:
        org.imixs.workflow.exceptions.PluginException
        javax.mail.internet.AddressException