BrightSide Workbench Full Report + Source Code
org.turro.financials.contract.OrganigramStoreListbox Class Reference
Inheritance diagram for org.turro.financials.contract.OrganigramStoreListbox:
Collaboration diagram for org.turro.financials.contract.OrganigramStoreListbox:

Public Member Functions

 OrganigramStoreListbox ()
 
void setFullDescription (boolean fullDescription)
 
String convertToString (Contract v)
 
boolean getChecked (Contract v)
 
void setChecked (Contract v, boolean checked)
 
- Public Member Functions inherited from org.turro.jpa.input.JpaListbox< V >
 JpaListbox ()
 
 JpaListbox (Dao dao, String query, boolean checkmark, boolean autoSave)
 
boolean isAutoSave ()
 
void setAutoSave (boolean autoSave)
 
Dao getDao ()
 
void setDao (Dao dao)
 
String getQuery ()
 
void setQuery (String query)
 
abstract String convertToString (V v)
 
abstract boolean getChecked (V v)
 
abstract void setChecked (V v, boolean checked)
 
boolean isAllowNull ()
 
void setAllowNull (boolean allowNull)
 
String getNullLabel ()
 
void setNullLabel (String nullLabel)
 
- Public Member Functions inherited from org.turro.zkoss.input.GenericListbox< V >
 GenericListbox ()
 
void setDisabled (boolean value)
 
void afterCompose ()
 
void clearItems ()
 
void setObjectValue (V value)
 
void setObjectValues (Collection< V > collection)
 
getObjectValue ()
 
Collection< V > getObjectValues ()
 
Collection< V > getDeselectedObjectValues ()
 
boolean isSelectFirst ()
 
void setSelectFirst (boolean selectFirst)
 
Set getDeselectedItems ()
 
void sort ()
 
Object getRelatedEntity ()
 
void setRelatedEntity (Object relatedEntity)
 

Additional Inherited Members

- Protected Member Functions inherited from org.turro.jpa.input.JpaListbox< V >
void populateList ()
 
boolean equals (V value, V obj)
 
- Protected Attributes inherited from org.turro.zkoss.input.GenericListbox< V >
boolean populated = false
 

Detailed Description

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

Definition at line 29 of file OrganigramStoreListbox.java.

Constructor & Destructor Documentation

◆ OrganigramStoreListbox()

org.turro.financials.contract.OrganigramStoreListbox.OrganigramStoreListbox ( )

Definition at line 33 of file OrganigramStoreListbox.java.

33  {
34  super(new FinancialsPU(),
35  "select ctc from Contract ctc " +
36  "where ctc.service is not null " +
37  "or ctc.department is not null " +
38  "order by ctc.name",
39  false, false);
40  }

Member Function Documentation

◆ convertToString()

String org.turro.financials.contract.OrganigramStoreListbox.convertToString ( Contract  v)

Definition at line 47 of file OrganigramStoreListbox.java.

47  {
48  return (fullDescription ? v.getFullDescription() : v.getPartialDescription());
49  }
Here is the call graph for this function:

◆ getChecked()

boolean org.turro.financials.contract.OrganigramStoreListbox.getChecked ( Contract  v)

Definition at line 52 of file OrganigramStoreListbox.java.

52  {
53  return false;
54  }

◆ setChecked()

void org.turro.financials.contract.OrganigramStoreListbox.setChecked ( Contract  v,
boolean  checked 
)

Definition at line 57 of file OrganigramStoreListbox.java.

57  {
58  // nothing to do
59  }

◆ setFullDescription()

void org.turro.financials.contract.OrganigramStoreListbox.setFullDescription ( boolean  fullDescription)

Definition at line 42 of file OrganigramStoreListbox.java.

42  {
43  this.fullDescription = fullDescription;
44  }

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