BrightSide Workbench Full Report + Source Code
org.turro.erp.humanres.HumanResourceAptitudeCombobox Class Reference
Inheritance diagram for org.turro.erp.humanres.HumanResourceAptitudeCombobox:
Collaboration diagram for org.turro.erp.humanres.HumanResourceAptitudeCombobox:

Public Member Functions

boolean isOnlyActive ()
 
void setOnlyActive (boolean onlyActive)
 
Task getTask ()
 
void setTask (Task task)
 
void populateList (String value, LinkedList list, int nRows)
 
String getTextFromObject (HumanResourceAptitude 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 30 of file HumanResourceAptitudeCombobox.java.

Member Function Documentation

◆ getTask()

Task org.turro.erp.humanres.HumanResourceAptitudeCombobox.getTask ( )

Definition at line 44 of file HumanResourceAptitudeCombobox.java.

44  {
45  return task;
46  }

◆ getTextFromObject()

String org.turro.erp.humanres.HumanResourceAptitudeCombobox.getTextFromObject ( HumanResourceAptitude  value)

Definition at line 62 of file HumanResourceAptitudeCombobox.java.

62  {
63  return value.getRealName();
64  }
Here is the call graph for this function:

◆ isOnlyActive()

boolean org.turro.erp.humanres.HumanResourceAptitudeCombobox.isOnlyActive ( )

Definition at line 36 of file HumanResourceAptitudeCombobox.java.

36  {
37  return onlyActive;
38  }

◆ populateList()

void org.turro.erp.humanres.HumanResourceAptitudeCombobox.populateList ( String  value,
LinkedList  list,
int  nRows 
)

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

Definition at line 55 of file HumanResourceAptitudeCombobox.java.

55  {
56  if(task != null) {
57  list.addAll(HumanResourceAptitude.load(date, value, task.getAptitudeDegrees(), onlyActive, nRows));
58  }
59  }
Here is the call graph for this function:

◆ setOnlyActive()

void org.turro.erp.humanres.HumanResourceAptitudeCombobox.setOnlyActive ( boolean  onlyActive)

Definition at line 40 of file HumanResourceAptitudeCombobox.java.

40  {
41  this.onlyActive = onlyActive;
42  }

◆ setTask()

void org.turro.erp.humanres.HumanResourceAptitudeCombobox.setTask ( Task  task)

Definition at line 48 of file HumanResourceAptitudeCombobox.java.

48  {
49  this.task = task;
50  date = getDate();
51  refreshModel();
52  }
Here is the call graph for this function:
Here is the caller graph for this function:

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