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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDie Resultliste wird als eine Liste einen Arrays zurückgegeben.static StringHelper method to remove " and ' characters - causing problemsvoidsearchDebitorCreditor(String regexPattern) This method searches a text phrase within the list of DATEV kreditorenList<org.imixs.workflow.ItemCollection>searchEntity(String phrase, String type) This method returns a list of ItemCollections matching the search phrase and type.voidThis method searches a text phrase within the list of DATEV sachkontenvoidsearchSachkonto(String regexPattern)
-
Field Details
-
MAX_SEARCH_RESULT
public static final int MAX_SEARCH_RESULT- See Also:
-
-
Constructor Details
-
DatevSearchController
public DatevSearchController()
-
-
Method Details
-
searchSachkonto
public void searchSachkonto()This method searches a text phrase within the list of DATEV sachkontenJSF Integration:
<h:commandScript name="datevSearch" action= "#{datevSearchController.searchSachkonto()}" render="autocomplete-resultlist-datev" onevent="autocompleteShowResult" /> -
searchSachkonto
-
searchDebitorCreditor
This method searches a text phrase within the list of DATEV kreditorenJSF Integration:
<h:commandScript name="datevSearch" action= "#{datevSearchController.searchCdtr()}" render="autocomplete-resultlist-datev" onevent="autocompleteShowResult" /> -
getSearchResult
Die Resultliste wird als eine Liste einen Arrays zurückgegeben. Der Erste Eintrag- Returns:
-
jsonVal
Helper method to remove " and ' characters - causing problems- Parameters:
val-- Returns:
-
searchEntity
This method returns a list of ItemCollections matching the search phrase and type. The type depends on the datev import fileThe 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 phrasetype- - DATEV type of the objectclientID- - optional restriction to a specific client id (_datev_client_id)- Returns:
- - list of matching profiles
-