BrightSide Workbench Full Report + Source Code
org.turro.matching.MatchingControl Class Reference
Inheritance diagram for org.turro.matching.MatchingControl:
Collaboration diagram for org.turro.matching.MatchingControl:

Public Member Functions

void onMatching ()
 
void onOrderBy ()
 
void onVariable ()
 
void onPointOfView ()
 
void onReversed ()
 
void onSelectItem (Event evt)
 
void onExecute ()
 
 MatchingControl ()
 

Detailed Description

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

Definition at line 50 of file MatchingControl.java.

Constructor & Destructor Documentation

◆ MatchingControl()

org.turro.matching.MatchingControl.MatchingControl ( )

Definition at line 190 of file MatchingControl.java.

190  {
191  Executions.createComponents("/WEB-INF/_zul/bs/comps/matching/matchingControl.zul", this, null);
192  Selectors.wireComponents(this, this, false);
193  Selectors.wireEventListeners(this, this);
194  }

Member Function Documentation

◆ onExecute()

void org.turro.matching.MatchingControl.onExecute ( )

Definition at line 114 of file MatchingControl.java.

114  {
115  if(!Strings.isBlank(matching.getObjectValue())) {
116  Formulas.load().setFormula(Reflections.of(matching.getObjectValue()).simpleName(), formula.getValue());
117  //executeFor(matching.getObjectValue());
118  updateControls();
119  SystemLogger.getInstance().doLog(SystemLogType.LOG_INFO, "/matching", Reflections.of(matching.getObjectValue()).simpleName(), formula.getValue());
120  }
121  }
Here is the call graph for this function:

◆ onMatching()

void org.turro.matching.MatchingControl.onMatching ( )

Definition at line 74 of file MatchingControl.java.

74  {
75  resetProcess();
76  if(getProcess() != null) {
77  variables.setModel(new ListModelList(Indicators.getMatchingVariables(getProcess().indicatorsRoot())));
78  orderBy.setModel(new ListModelList(Indicators.getMatchingVariablesFinal(getProcess().indicatorsRoot())));
79  }
80  updateControls();
81  }
Here is the call graph for this function:

◆ onOrderBy()

void org.turro.matching.MatchingControl.onOrderBy ( )

Definition at line 84 of file MatchingControl.java.

84  {
85  updateControls();
86  }

◆ onPointOfView()

void org.turro.matching.MatchingControl.onPointOfView ( )

Definition at line 96 of file MatchingControl.java.

96  {
97  updateControls();
98  }

◆ onReversed()

void org.turro.matching.MatchingControl.onReversed ( )

Definition at line 101 of file MatchingControl.java.

101  {
102  updateControls();
103  }

◆ onSelectItem()

void org.turro.matching.MatchingControl.onSelectItem ( Event  evt)

Definition at line 105 of file MatchingControl.java.

105  {
106  Path path = new Path((String) evt.getData());
107  related.setRoot(path.getRoot());
108  related.setEntityPath(path.getPath());
109  reversed.setChecked(!reversed.isChecked());
110  updateControls();
111  }
void setEntityPath(String entityPath)
Here is the call graph for this function:

◆ onVariable()

void org.turro.matching.MatchingControl.onVariable ( )

Definition at line 89 of file MatchingControl.java.

89  {
90  if(variables.getObjectValue() != null) {
91  formula.setValue(formula.getValue() + " " + variables.getObjectValue().getName());
92  }
93  }
Here is the call graph for this function:

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