Package org.imixs.workflow.bpmn
Klasse BPMNUtil
java.lang.Object
org.imixs.workflow.bpmn.BPMNUtil
The
BPMNUtil provides convenient methods to access elements and
bpmn2:extension tags within a Open-BPMN Model
Example for a :
<bpmn2:task id="Task_2" imixs:processid="1900" name="Approve">
<bpmn2:extensionElements>
<imixs:item name="user.name" type="xs:string">John</imixs:item>
....
</bpmn2:extensionElements>
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfindAllImixsElements(Element parent, String type) This helper method returns a set of all imixs:ELEMENTS for the given parent node.getItemValueList(Element imixsItemElement) This helper method returns a value list of a given imixs extension element.static Stringstatic Stringstatic StringgetVersion(org.openbpmn.bpmn.BPMNModel model) This method resolves the imixs version of a model.static booleanisImixsEventElement(org.openbpmn.bpmn.elements.core.BPMNElementNode element) Returns true if the given BPMNElement is a Imixs Event element Ungültige Eingabe: "<"bpmn2:intermediateCatchEvent id="CatchEvent_2" imixs:activityid="20" >static booleanisImixsTaskElement(org.openbpmn.bpmn.elements.core.BPMNElementNode element) Returns true if the given BPMNElement is a Imixs Task element Ungültige Eingabe: "<"bpmn2:task id="Task_2" imixs:processid="1000" name="Task 1">static booleanisInitEventNode(org.openbpmn.bpmn.elements.core.BPMNElementNode eventNode) Returns true if the given node is a an ImixsEvent node with no incoming nodes or with one incoming node that comes from a Start event.static booleanisLinkCatchEventElement(org.openbpmn.bpmn.elements.core.BPMNElementNode element) Returns true if the given BPMNElement is a BPMN TROW_EVENT with a Link definitionstatic booleanisParallelGatewayElement(org.openbpmn.bpmn.elements.core.BPMNElementNode element) Returns true if the given BPMNElement is a BPMN ParallelGateway
-
Felddetails
-
TASK_ITEM_NAME
- Siehe auch:
-
TASK_ITEM_TASKID
- Siehe auch:
-
TASK_ITEM_DOCUMENTATION
- Siehe auch:
-
TASK_ITEM_WORKFLOW_SUMMARY
- Siehe auch:
-
TASK_ITEM_WORKFLOW_ABSTRACT
- Siehe auch:
-
TASK_ITEM_APPLICATION_EDITOR
- Siehe auch:
-
TASK_ITEM_APPLICATION_ICON
- Siehe auch:
-
TASK_ITEM_APPLICATION_TYPE
- Siehe auch:
-
TASK_ITEM_ACL_OWNER_LIST
- Siehe auch:
-
TASK_ITEM_ACL_OWNER_LIST_MAPPING
- Siehe auch:
-
TASK_ITEM_ACL_READACCESS_LIST
- Siehe auch:
-
TASK_ITEM_ACL_READACCESS_LIST_MAPPING
- Siehe auch:
-
TASK_ITEM_ACL_WRITEACCESS_LIST
- Siehe auch:
-
TASK_ITEM_ACL_WRITEACCESS_LIST_MAPPING
- Siehe auch:
-
TASK_ITEM_ACL_UPDATE
- Siehe auch:
-
EVENT_ITEM_NAME
- Siehe auch:
-
EVENT_ITEM_EVENTID
- Siehe auch:
-
EVENT_ITEM_DOCUMENTATION
- Siehe auch:
-
EVENT_ITEM_ACL_OWNER_LIST
- Siehe auch:
-
EVENT_ITEM_ACL_OWNER_LIST_MAPPING
- Siehe auch:
-
EVENT_ITEM_ACL_READACCESS_LIST
- Siehe auch:
-
EVENT_ITEM_ACL_READACCESS_LIST_MAPPING
- Siehe auch:
-
EVENT_ITEM_ACL_WRITEACCESS_LIST
- Siehe auch:
-
EVENT_ITEM_ACL_WRITEACCESS_LIST_MAPPING
- Siehe auch:
-
EVENT_ITEM_ACL_UPDATE
- Siehe auch:
-
EVENT_ITEM_WORKFLOW_RESULT
- Siehe auch:
-
EVENT_ITEM_WORKFLOW_PUBLIC
- Siehe auch:
-
EVENT_ITEM_WORKFLOW_PUBLIC_ACTORS
- Siehe auch:
-
EVENT_ITEM_READACCESS
- Siehe auch:
-
EVENT_ITEM_HISTORY_MESSAGE
- Siehe auch:
-
EVENT_ITEM_MAIL_SUBJECT
- Siehe auch:
-
EVENT_ITEM_MAIL_BODY
- Siehe auch:
-
EVENT_ITEM_MAIL_TO_LIST
- Siehe auch:
-
EVENT_ITEM_MAIL_TO_LIST_MAPPING
- Siehe auch:
-
EVENT_ITEM_MAIL_CC_LIST
- Siehe auch:
-
EVENT_ITEM_MAIL_CC_LIST_MAPPING
- Siehe auch:
-
EVENT_ITEM_MAIL_BCC_LIST
- Siehe auch:
-
EVENT_ITEM_MAIL_BCC_LIST_MAPPING
- Siehe auch:
-
EVENT_ITEM_RULE_ENGINE
- Siehe auch:
-
EVENT_ITEM_RULE_DEFINITION
- Siehe auch:
-
EVENT_ITEM_REPORT_NAME
- Siehe auch:
-
EVENT_ITEM_REPORT_PATH
- Siehe auch:
-
EVENT_ITEM_REPORT_OPTIONS
- Siehe auch:
-
EVENT_ITEM_REPORT_TARGET
- Siehe auch:
-
EVENT_ITEM_VERSION_MODE
- Siehe auch:
-
EVENT_ITEM_VERSION_EVENT
- Siehe auch:
-
EVENT_ITEM_TIMER_ACTIVE
- Siehe auch:
-
EVENT_ITEM_TIMER_SELECTION
- Siehe auch:
-
EVENT_ITEM_TIMER_DELAY
- Siehe auch:
-
EVENT_ITEM_TIMER_DELAY_UNIT
- Siehe auch:
-
EVENT_ITEM_TIMER_DELAY_BASE
- Siehe auch:
-
EVENT_ITEM_TIMER_DELAY_BASE_PROPERTY
- Siehe auch:
-
-
Methodendetails
-
getNamespace
-
getNamespaceURI
-
getVersion
This method resolves the imixs version of a model.The method parses the version directly form the imixs:extension element from teh definitions node. Note: we can not call findDefinition here because of recursive call
- Parameter:
model-- Gibt zurück:
-
getItemValueList
This helper method returns a value list of a given imixs extension element. If no values exists, than the method returns an empty List The method also avoids duplicates as this can of course not be handled by the react component.- Parameter:
itemName- - name of the itemreferenceList- - optional list of allowed values- Gibt zurück:
- the itemValue list.
-
findAllImixsElements
This helper method returns a set of all imixs:ELEMENTS for the given parent node. If no nodes were found, the method returns an empty list.The type can be either 'item' or 'value' Example:
<imixs:item name="user.name" type= "xs:string">John</imixs:item>- Parameter:
parent-nodeName-- Gibt zurück:
- - list of nodes. If no nodes were found, the method returns an empty list
-
isImixsTaskElement
public static boolean isImixsTaskElement(org.openbpmn.bpmn.elements.core.BPMNElementNode element) Returns true if the given BPMNElement is a Imixs Task element Ungültige Eingabe: "<"bpmn2:task id="Task_2" imixs:processid="1000" name="Task 1">- Gibt zurück:
-
isImixsEventElement
public static boolean isImixsEventElement(org.openbpmn.bpmn.elements.core.BPMNElementNode element) Returns true if the given BPMNElement is a Imixs Event element Ungültige Eingabe: "<"bpmn2:intermediateCatchEvent id="CatchEvent_2" imixs:activityid="20" >- Gibt zurück:
-
isLinkCatchEventElement
public static boolean isLinkCatchEventElement(org.openbpmn.bpmn.elements.core.BPMNElementNode element) Returns true if the given BPMNElement is a BPMN TROW_EVENT with a Link definition<bpmn2:intermediateThrowEvent id="event_ounTaA" name="HOLD"> <bpmn2:linkEventDefinition id="linkEventDefinition_343OGA"/> .... </bpmn2:intermediateCatchEvent>- Gibt zurück:
-
isParallelGatewayElement
public static boolean isParallelGatewayElement(org.openbpmn.bpmn.elements.core.BPMNElementNode element) Returns true if the given BPMNElement is a BPMN ParallelGateway- Gibt zurück:
-
isInitEventNode
public static boolean isInitEventNode(org.openbpmn.bpmn.elements.core.BPMNElementNode eventNode) Returns true if the given node is a an ImixsEvent node with no incoming nodes or with one incoming node that comes from a Start event.
-