@Named @ConversationScoped public class ChildItemController extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
CHILD_ITEM_PROPERTY |
protected List<org.imixs.workflow.ItemCollection> |
childItems |
| Constructor and Description |
|---|
ChildItemController() |
| Modifier and Type | Method and Description |
|---|---|
void |
add()
Adds a new order item
|
double |
convertDouble(String aValue) |
protected void |
explodeChildList(org.imixs.workflow.ItemCollection workitem)
converts the Map List of a workitem into a List of ItemCollectons
|
List<org.imixs.workflow.ItemCollection> |
getChildItems()
This methd returns a ItemCollections for each orderItem stored in the
property txtOrderItems.
|
protected void |
implodeChildList(org.imixs.workflow.ItemCollection workitem)
Convert the List of ItemCollections back into a List of Map elements
|
void |
onWorkflowEvent(org.imixs.workflow.faces.data.WorkflowEvent workflowEvent)
WorkflowEvent listener to convert embeded HashMaps into ItemCollections and
reconvert them before processing
|
void |
remove(int pos) |
void |
setChildItems(List<org.imixs.workflow.ItemCollection> childItems) |
protected List<org.imixs.workflow.ItemCollection> childItems
public static final String CHILD_ITEM_PROPERTY
public void setChildItems(List<org.imixs.workflow.ItemCollection> childItems)
public List<org.imixs.workflow.ItemCollection> getChildItems()
#{childController.childItems}
public void onWorkflowEvent(@Observes
org.imixs.workflow.faces.data.WorkflowEvent workflowEvent)
throws org.imixs.workflow.exceptions.AccessDeniedException
workflowEvent - org.imixs.workflow.exceptions.AccessDeniedExceptionpublic void add()
public void remove(int pos)
public double convertDouble(String aValue)
protected void implodeChildList(org.imixs.workflow.ItemCollection workitem)
workitem - protected void explodeChildList(org.imixs.workflow.ItemCollection workitem)
Copyright © 2016–2021 Imixs Software Solutions GmbH. All rights reserved.