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

Public Member Functions

 ServiceStoreListbox ()
 
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 ServiceStoreListbox.java.

Constructor & Destructor Documentation

◆ ServiceStoreListbox()

org.turro.financials.contract.ServiceStoreListbox.ServiceStoreListbox ( )

Definition at line 33 of file ServiceStoreListbox.java.

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

Member Function Documentation

◆ convertToString()

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

Definition at line 46 of file ServiceStoreListbox.java.

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

◆ getChecked()

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

Definition at line 51 of file ServiceStoreListbox.java.

51  {
52  return false;
53  }

◆ setChecked()

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

Definition at line 56 of file ServiceStoreListbox.java.

56  {
57  // nothing to do
58  }

◆ setFullDescription()

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

Definition at line 41 of file ServiceStoreListbox.java.

41  {
42  this.fullDescription = fullDescription;
43  }

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