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

Public Member Functions

 DepartmentStoreListbox ()
 
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 28 of file DepartmentStoreListbox.java.

Constructor & Destructor Documentation

◆ DepartmentStoreListbox()

org.turro.financials.contract.DepartmentStoreListbox.DepartmentStoreListbox ( )

Definition at line 32 of file DepartmentStoreListbox.java.

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

Member Function Documentation

◆ convertToString()

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

Definition at line 45 of file DepartmentStoreListbox.java.

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

◆ getChecked()

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

Definition at line 50 of file DepartmentStoreListbox.java.

50  {
51  return false;
52  }

◆ setChecked()

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

Definition at line 55 of file DepartmentStoreListbox.java.

55  {
56  // nothing to do
57  }

◆ setFullDescription()

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

Definition at line 40 of file DepartmentStoreListbox.java.

40  {
41  this.fullDescription = fullDescription;
42  }

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