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

Public Member Functions

Object getObjectId ()
 
void setObjectId (Object id)
 
- Public Member Functions inherited from org.turro.financials.business.DepartmentListbox
 DepartmentListbox ()
 
String convertToString (Department v)
 
boolean getChecked (Department v)
 
void setChecked (Department 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 DepartmentByIdListbox.java.

Member Function Documentation

◆ getObjectId()

Object org.turro.financials.business.DepartmentByIdListbox.getObjectId ( )

Implements org.turro.zkoss.input.KnowsID.

Definition at line 31 of file DepartmentByIdListbox.java.

31  {
32  if(getObjectValue() != null) {
33  return getObjectValue().getId();
34  } else {
35  return null;
36  }
37  }
Here is the call graph for this function:

◆ setObjectId()

void org.turro.financials.business.DepartmentByIdListbox.setObjectId ( Object  id)

Implements org.turro.zkoss.input.KnowsID.

Definition at line 40 of file DepartmentByIdListbox.java.

40  {
41  if(id != null) {
42  setObjectValue(new FinancialsPU().find(Department.class, (Long) id));
43  } else {
44  setObjectValue(null);
45  }
46  }
Here is the call graph for this function:

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