BrightSide Workbench Full Report + Source Code
org.turro.zul.intouch.InTouchNameCombobox Class Reference
Inheritance diagram for org.turro.zul.intouch.InTouchNameCombobox:
Collaboration diagram for org.turro.zul.intouch.InTouchNameCombobox:

Public Member Functions

void populateList (String value, LinkedList list, int nRows)
 
String getTextFromObject (String value)
 
- Public Member Functions inherited from org.turro.zkoss.input.GenericCombobox< V >
 GenericCombobox ()
 
getObjectValue ()
 
void setObjectValue (V value)
 
boolean isAllowNotInModelValues ()
 
void setAllowNotInModelValues (boolean allowNotInModelValues)
 
void refreshModel ()
 
abstract String getTextFromObject (V value)
 
Object getRelatedEntity ()
 
void setRelatedEntity (Object relatedEntity)
 
void render (Comboitem item, Object data, int index) throws Exception
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 31 of file InTouchNameCombobox.java.

Member Function Documentation

◆ getTextFromObject()

String org.turro.zul.intouch.InTouchNameCombobox.getTextFromObject ( String  value)

Definition at line 44 of file InTouchNameCombobox.java.

44  {
45  return value;
46  }

◆ populateList()

void org.turro.zul.intouch.InTouchNameCombobox.populateList ( String  value,
LinkedList  list,
int  nRows 
)

Reimplemented from org.turro.zkoss.input.GenericCombobox< V >.

Definition at line 34 of file InTouchNameCombobox.java.

34  {
35  Dao dao = new ContactsPU();
36  WhereClause wc = new WhereClause();
37  wc.addClause("select distinct inTouch.name from InTouch as inTouch");
38  //wc.addClause("where 1=1");
39  wc.addClause("order by inTouch.name");
40  list.addAll(dao.getResultList(wc, nRows));
41  }
Here is the call graph for this function:

The documentation for this class was generated from the following file: