Package org.pocui.example.actions.kundefinden

Examples of org.pocui.example.actions.kundefinden.KundenFindenAction


  /**
   * Factory Method to get Kunden by a given search criteria
   * @return
   */
  public KundenFindenAction getKundenFindenAction() {
    return new KundenFindenAction();
  }
View Full Code Here


        OeffneKundendatensatzSelectionInOut newSelection = getSelection();
        newSelection.setKundenname(selection.getKundenname());
        newSelection.setKundennummer(selection.getKundennummer());

        // TODO: actioncall to generate the new table
        KundenFindenAction action = getActionConfiguration().getKundenFindenAction();
        KundenFindenActionSelectionIn in = new KundenFindenActionSelectionIn();
        in.setKundenname(selection.getKundenname());
        in.setKundennummer(selection.getKundennummer());
        action.setInSelection(in);
       
        //do actioncall
        try {
          action.performAction(null);
          newSelection.setKunden(action.getOutSelection().getKunden());
          newSelection.setSelektierterKunde(null);
        } catch (InvocationTargetException e) {
          //logging
        }
        setSelection(newSelection);
View Full Code Here

   */
  public AbsComposite<VisualisiereStammdatenAC, EmptyResourceConfiguration, VisualisiereStammdatenSelectionInOut> createAbsJPanel() {
    try {
      VisualisiereStammdatenComposite comp = new VisualisiereStammdatenComposite(
          new VisualisiereStammdatenAC());
      KundenFindenAction action = new KundenFindenAction();
      KundenFindenActionSelectionIn inSelection = new KundenFindenActionSelectionIn();
      inSelection.setKundenname("Meier");
      action.setInSelection(inSelection);
      action.performAction(null);

      VisualisiereStammdatenSelectionInOut selection = new VisualisiereStammdatenSelectionInOut();
      selection.setKunden(action.getOutSelection().getKunden());
      selection.setKundenname("Meier");
     
      List<String> laender = new ArrayList<String>();
      laender.add("Hamburg");
      laender.add("Bremen");
View Full Code Here

TOP

Related Classes of org.pocui.example.actions.kundefinden.KundenFindenAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.