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
    Modifier and Type
    Field
    Description
    protected List<org.imixs.workflow.ItemCollection>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add()
    Adds a new order item
    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
    List<org.imixs.workflow.ItemCollection>
    This method returns a ItemCollections for each booking row stored in the property datev.booking.list.
    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
    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
    setBookingList(List<org.imixs.workflow.ItemCollection> bookingList)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • bookingList

      protected List<org.imixs.workflow.ItemCollection> bookingList
  • Constructor Details

    • DatevBookingController

      public DatevBookingController()
  • Method Details

    • setBookingList

      public void setBookingList(List<org.imixs.workflow.ItemCollection> bookingList)
    • getBookingList

      public List<org.imixs.workflow.ItemCollection> 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 -