Class GDPRAnonymiseService

java.lang.Object
org.imixs.workflow.office.gdpr.GDPRAnonymiseService

@DeclareRoles("org.imixs.ACCESSLEVEL.MANAGERACCESS") @RolesAllowed("org.imixs.ACCESSLEVEL.MANAGERACCESS") @RunAs("org.imixs.ACCESSLEVEL.MANAGERACCESS") public class GDPRAnonymiseService extends Object
This GDPRAnonymiseService provides methods to delete or anonymise items in a workitem.
Version:
2.0
Author:
rsoika
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.imixs.workflow.ItemCollection
    anonimiseItems(org.imixs.workflow.ItemCollection workitem, String itemDescription, String placeholder)
    The method anonymises a list of items.
    org.imixs.workflow.ItemCollection
    deleteItems(org.imixs.workflow.ItemCollection workitem, String itemDescription)
    The method deletes a list of items.
    resolveItemDescription(org.imixs.workflow.ItemCollection workitem, String itemDescription)
    This helper method resolves a ItemDescripton and returns all matching Items in the given Workitem.
    void
    save(org.imixs.workflow.ItemCollection workitem)
    Saves as manager

    Methods inherited from class java.lang.Object

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

    • PROCESSING_ERROR

      public static String PROCESSING_ERROR
  • Constructor Details

    • GDPRAnonymiseService

      public GDPRAnonymiseService()
  • Method Details

    • deleteItems

      public org.imixs.workflow.ItemCollection deleteItems(org.imixs.workflow.ItemCollection workitem, String itemDescription) throws org.imixs.workflow.exceptions.PluginException
      The method deletes a list of items. The items can be defined by name or in a regular expression
      Returns:
      Throws:
      org.imixs.workflow.exceptions.PluginException
      jakarta.mail.internet.AddressException
    • anonimiseItems

      public org.imixs.workflow.ItemCollection anonimiseItems(org.imixs.workflow.ItemCollection workitem, String itemDescription, String placeholder) throws org.imixs.workflow.exceptions.PluginException
      The method anonymises a list of items. The items can be defined by name or in a regular expression
      Returns:
      Throws:
      org.imixs.workflow.exceptions.PluginException
      jakarta.mail.internet.AddressException
    • resolveItemDescription

      public List<String> resolveItemDescription(org.imixs.workflow.ItemCollection workitem, String itemDescription)
      This helper method resolves a ItemDescripton and returns all matching Items in the given Workitem. A item can be the name or a regular expression.
      Parameters:
      workitem -
      itemDescription -
      Returns:
    • save

      public void save(org.imixs.workflow.ItemCollection workitem)
      Saves as manager
      Parameters:
      workitem -