Class PhotoPlugin

java.lang.Object
org.imixs.workflow.engine.plugins.AbstractPlugin
org.imixs.marty.plugins.PhotoPlugin
All Implemented Interfaces:
org.imixs.workflow.Plugin

public class PhotoPlugin extends org.imixs.workflow.engine.plugins.AbstractPlugin
This plugin supports a comment feature. Comments entered by a user into the field 'txtComment' are stored in the list property 'txtCommentList' which contains a map for each comment. The map stores the username, the timestamp and the comment. The plugin also stores the last comment in the field 'txtLastComment'. The comment can be also controlled by the corresponding workflow event: a new comment will not be added into the comment list xxx adds a fixed comment 'xxx' into the comment list
Version:
1.0
Author:
rsoika
  • Field Summary

    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
    void
    resize(org.imixs.workflow.FileData fileData)
    This method tests all attachments for a pattern and resize the image
    org.imixs.workflow.ItemCollection
    run(org.imixs.workflow.ItemCollection workItem, org.imixs.workflow.ItemCollection documentActivity)
    This method updates resizes images.

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

    close, getWorkflowContext, getWorkflowService, init, mergeFieldList, setWorkflowService, uniqueList

    Methods inherited from class java.lang.Object

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

    • PhotoPlugin

      public PhotoPlugin()
  • Method Details

    • run

      public org.imixs.workflow.ItemCollection run(org.imixs.workflow.ItemCollection workItem, org.imixs.workflow.ItemCollection documentActivity) throws org.imixs.workflow.exceptions.PluginException
      This method updates resizes images.
      Parameters:
      workflowEvent -
      Throws:
      org.imixs.workflow.exceptions.PluginException
    • resize

      public void resize(org.imixs.workflow.FileData fileData) throws Exception
      This method tests all attachments for a pattern and resize the image
      Parameters:
      workitem -
      Throws:
      Exception