Class DatevBookingController
java.lang.Object
org.imixs.workflow.datev.controller.DatevBookingController
- All Implemented Interfaces:
Serializable
@Named
@ConversationScoped
public class DatevBookingController
extends Object
implements Serializable
Der DatevBookingController verwaltet die Buchungszeilen in einer Form
- Version:
- 1.0
- Author:
- rsoika
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd()Adds a new order itemstatic List<org.imixs.workflow.ItemCollection>explodeChildList(org.imixs.workflow.ItemCollection workitem, String childItemName) converts the Map List of a workitem into a List of ItemCollectonsList<org.imixs.workflow.ItemCollection>This method returns a ItemCollections for each booking row stored in the property datev.booking.list.static voidimplodeChildList(org.imixs.workflow.ItemCollection workitem, List<org.imixs.workflow.ItemCollection> _childItems, String childItemName) Convert the List of ItemCollections back into a List of Map elementsvoidonWorkflowEvent(org.imixs.workflow.faces.data.WorkflowEvent workflowEvent) WorkflowEvent listener to convert embeded HashMaps into ItemCollections and reconvert them before processingvoidremove(int pos) voidsetBookingList(List<org.imixs.workflow.ItemCollection> bookingList)
-
Field Details
-
bookingList
-
-
Constructor Details
-
DatevBookingController
public DatevBookingController()
-
-
Method Details
-
setBookingList
-
getBookingList
This method returns a ItemCollections for each booking row stored in the property datev.booking.list. Example:#{datevchildController.childItems}- Returns:
-
add
public void add()Adds a new order item -
remove
public void remove(int pos) -
onWorkflowEvent
public void onWorkflowEvent(@Observes org.imixs.workflow.faces.data.WorkflowEvent workflowEvent) throws org.imixs.workflow.exceptions.AccessDeniedException WorkflowEvent listener to convert embeded HashMaps into ItemCollections and reconvert them before processing- Parameters:
workflowEvent-- Throws:
org.imixs.workflow.exceptions.AccessDeniedException
-
explodeChildList
public static List<org.imixs.workflow.ItemCollection> explodeChildList(org.imixs.workflow.ItemCollection workitem, String childItemName) converts the Map List of a workitem into a List of ItemCollectons -
implodeChildList
public static void implodeChildList(org.imixs.workflow.ItemCollection workitem, List<org.imixs.workflow.ItemCollection> _childItems, String childItemName) Convert the List of ItemCollections back into a List of Map elements- Parameters:
workitem-
-