Class DatevSearchController

java.lang.Object
org.imixs.workflow.datev.controller.DatevSearchController
All Implemented Interfaces:
Serializable

@Named @ConversationScoped public class DatevSearchController extends Object implements Serializable
The DATEVSearchController is used to search DATEV stammdaten
Version:
1.0
Author:
rsoika
See Also:
  • Field Details

  • Constructor Details

    • DatevSearchController

      public DatevSearchController()
  • Method Details

    • searchSachkonto

      public void searchSachkonto()
      This method searches a text phrase within the list of DATEV sachkonten

      JSF Integration: <h:commandScript name="datevSearch" action= "#{datevSearchController.searchSachkonto()}" render="autocomplete-resultlist-datev" onevent="autocompleteShowResult" />

    • searchSachkonto

      public void searchSachkonto(String regexPattern)
    • searchDebitorCreditor

      public void searchDebitorCreditor(String regexPattern)
      This method searches a text phrase within the list of DATEV kreditoren

      JSF Integration: <h:commandScript name="datevSearch" action= "#{datevSearchController.searchCdtr()}" render="autocomplete-resultlist-datev" onevent="autocompleteShowResult" />

    • getSearchResult

      public List<DatevSearchEntry> getSearchResult()
      Die Resultliste wird als eine Liste einen Arrays zurückgegeben. Der Erste Eintrag
      Returns:
    • jsonVal

      public static String jsonVal(String val)
      Helper method to remove " and ' characters - causing problems
      Parameters:
      val -
      Returns:
    • searchEntity

      public List<org.imixs.workflow.ItemCollection> searchEntity(String phrase, String type)
      This method returns a list of ItemCollections matching the search phrase and type. The type depends on the datev import file

      The param clientID is optional and restricts the result to a specific DATEV client. NOTE: the item _datev_client_id must be part of the property lucence.indexFieldListNoAnalyze.

      Parameters:
      phrase - - search phrase
      type - - DATEV type of the object
      clientID - - optional restriction to a specific client id (_datev_client_id)
      Returns:
      - list of matching profiles