Package org.imixs.marty.plugins
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidresize(org.imixs.workflow.FileData fileData) This method tests all attachments for a pattern and resize the imageorg.imixs.workflow.ItemCollectionrun(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, getCtx, getWorkflowService, init, mergeFieldList, uniqueList
-
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
This method tests all attachments for a pattern and resize the image- Parameters:
workitem-- Throws:
Exception
-