Class SpacePlugin

java.lang.Object
org.imixs.workflow.engine.plugins.AbstractPlugin
org.imixs.marty.team.SpacePlugin
All Implemented Interfaces:
org.imixs.workflow.Plugin
Direct Known Subclasses:
SpacePlugin

public class SpacePlugin extends org.imixs.workflow.engine.plugins.AbstractPlugin
This system model plug-in supports additional business logic for space and process entities. The case of a 'space' the plug-in updates the properties txtName and txtSpaceName. It also compute the parent team members and the team members of subspaces. Model: system
Author:
rsoika
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static String
     
    static String
     
    static String
     

    Fields inherited from class org.imixs.workflow.engine.plugins.AbstractPlugin

    INVALID_ITEMVALUE_FORMAT, INVALID_PROPERTYVALUE_FORMAT
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.imixs.workflow.ItemCollection
    run(org.imixs.workflow.ItemCollection documentContext, org.imixs.workflow.ItemCollection event)
    If a 'space' is processed, the method verifies if the space Information need to be updated to the parent and subSpaces.

    Methods inherited from class org.imixs.workflow.engine.plugins.AbstractPlugin

    close, getCtx, getWorkflowService, init, mergeFieldList, uniqueList

    Methods inherited from class java.lang.Object

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

    • SPACE_DELETE_ERROR

      public static String SPACE_DELETE_ERROR
    • SPACE_ARCHIVE_ERROR

      public static String SPACE_ARCHIVE_ERROR
    • ORGUNIT_NAME_ERROR

      public static String ORGUNIT_NAME_ERROR
  • Constructor Details

    • SpacePlugin

      public SpacePlugin()
  • Method Details

    • run

      public org.imixs.workflow.ItemCollection run(org.imixs.workflow.ItemCollection documentContext, org.imixs.workflow.ItemCollection event) throws org.imixs.workflow.exceptions.PluginException
      If a 'space' is processed, the method verifies if the space Information need to be updated to the parent and subSpaces. If a 'spacedeleted' is processed, the method verifies if a deletion is allowed. This is not the case if subspaces exist!
      Throws:
      org.imixs.workflow.exceptions.PluginException