Package org.imixs.workflow.office.util
Class WorkitemHelper
java.lang.Object
org.imixs.workflow.office.util.WorkitemHelper
The WorkitemHelper provides methods to clone, compare and sort workitems.
- Author:
- rsoika
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.imixs.workflow.ItemCollectionclone(org.imixs.workflow.ItemCollection aWorkitem) This method clones the given workItem with a minimum of attributes.static booleanThis method tests if a given WorkItem matches a filter expression.
-
Constructor Details
-
WorkitemHelper
public WorkitemHelper()
-
-
Method Details
-
clone
public static org.imixs.workflow.ItemCollection clone(org.imixs.workflow.ItemCollection aWorkitem) This method clones the given workItem with a minimum of attributes.- Parameters:
aWorkitem-- Returns:
-
matches
This method tests if a given WorkItem matches a filter expression. The expression is expected in a column separated list of reg expressions for Multiple properties. - e.g.:(txtWorkflowGroup:Invoice)($ProcessID:1...)- Parameters:
workitem- - workItem to be testedfilter- - combined regex to test different fields- Returns:
- - true if filter matches filter expression.
-