Public Member Functions | |
void | initIndicator () |
void | prepareIndicator () |
void | generateSiblings () |
String | getRoot () |
List< IndicatorVariable > | getVariables () |
List< IndicatorVariable > | getAllVariables () |
IndicatorVariable | getVariable (String name) |
List< IndicatorVariable > | getAllRankingVariables (String root) |
List< IndicatorVariable > | getAllMatchingVariables (String root) |
double | getValue (IndicatorVariable variable, Object entity) |
double | getValue (IndicatorVariable variable, Object entity, String relatedPath) |
IndicatorResult | readIndicator (String storeClass, String indicator) |
void | preprocess (IndicatorVariable variable, IPreprocessor preprocessor, String entityRoot, String relatedRoot) |
void | postprocess (IndicatorVariable variable, IPreprocessor postprocessor, String entityRoot, String relatedRoot) |
Stream< String > | getEntityPaths (String root) |
Stream< GenericSiblings > | getSiblingPaths (String entityPath) |
Dao | getDao () |
boolean | itsMine (String root) |
boolean | itsMine (IndicatorVariable variable) |
Protected Member Functions | |
void | addVariable (String name, VariableType type) |
void | addVariable (String name, VariableType type, boolean reversed) |
void | addVariable (String name, VariableType type, String avoid) |
void | addVariable (String name, boolean preprocess, VariableType type) |
void | addVariable (String name, boolean preprocess, VariableType type, boolean reversed) |
void | addVariable (String name, boolean preprocess, VariableType type, String avoid) |
void | addExternalVariable (String root, String name) |
String | getPath (Object entity) |
abstract void | initVariables () |
abstract void | initExternalVariables () |
abstract void | processRankingVariable (Dao dao, IPreprocessor preprocessor, IndicatorVariable variable, String entityRoot) |
abstract void | processMatchingVariable (Dao dao, IPreprocessor preprocessor, IndicatorVariable variable, String entityRoot, String relatedRoot) |
void | postprocessRankingVariable (Dao dao, IPreprocessor postprocessor, IndicatorVariable variable, String entityRoot) |
void | postprocessMatchingVariable (Dao dao, IPreprocessor postprocessor, IndicatorVariable variable, String entityRoot, String relatedRoot) |
abstract Dao | createDao () |
Protected Attributes | |
List< IndicatorVariable > | variables = new ArrayList<>() |
String | root |
Definition at line 37 of file AbstractIndicator.java.
|
protected |
Definition at line 86 of file AbstractIndicator.java.
|
protected |
Definition at line 74 of file AbstractIndicator.java.
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 66 of file AbstractIndicator.java.
|
protected |
Definition at line 70 of file AbstractIndicator.java.
|
abstractprotected |
Reimplemented in org.turro.indicator.StudentIndicator, org.turro.indicator.ForumIndicator, org.turro.indicator.CommonsIndicator, org.turro.indicator.DossierIndicator, org.turro.indicator.AttachmentIndicator, org.turro.indicator.ServiceIndicator, org.turro.indicator.GenericIndicator, and org.turro.indicator.ContactIndicator.
void org.turro.indicator.AbstractIndicator.generateSiblings | ( | ) |
Implements org.turro.indicator.IElephantIndicator.
Reimplemented in org.turro.indicator.DossierIndicator, and org.turro.indicator.ContactIndicator.
Definition at line 53 of file AbstractIndicator.java.
List<IndicatorVariable> org.turro.indicator.AbstractIndicator.getAllMatchingVariables | ( | String | root | ) |
Implements org.turro.indicator.IElephantIndicator.
Definition at line 112 of file AbstractIndicator.java.
List<IndicatorVariable> org.turro.indicator.AbstractIndicator.getAllRankingVariables | ( | String | root | ) |
Implements org.turro.indicator.IElephantIndicator.
Definition at line 107 of file AbstractIndicator.java.
List<IndicatorVariable> org.turro.indicator.AbstractIndicator.getAllVariables | ( | ) |
Implements org.turro.indicator.IElephantIndicator.
Definition at line 97 of file AbstractIndicator.java.
Dao org.turro.indicator.AbstractIndicator.getDao | ( | ) |
Definition at line 228 of file AbstractIndicator.java.
Stream<String> org.turro.indicator.AbstractIndicator.getEntityPaths | ( | String | root | ) |
Implements org.turro.indicator.IElephantIndicator.
Reimplemented in org.turro.indicator.GenericIndicator.
Definition at line 215 of file AbstractIndicator.java.
|
protected |
String org.turro.indicator.AbstractIndicator.getRoot | ( | ) |
Implements org.turro.indicator.IElephantIndicator.
Definition at line 58 of file AbstractIndicator.java.
Stream<GenericSiblings> org.turro.indicator.AbstractIndicator.getSiblingPaths | ( | String | entityPath | ) |
Implements org.turro.indicator.IElephantIndicator.
Reimplemented in org.turro.indicator.GenericIndicator.
Definition at line 220 of file AbstractIndicator.java.
double org.turro.indicator.AbstractIndicator.getValue | ( | IndicatorVariable | variable, |
Object | entity | ||
) |
Implements org.turro.indicator.IElephantIndicator.
Reimplemented in org.turro.indicator.StudentIndicator, org.turro.indicator.DossierIndicator, org.turro.indicator.ServiceIndicator, and org.turro.indicator.ContactIndicator.
Definition at line 117 of file AbstractIndicator.java.
double org.turro.indicator.AbstractIndicator.getValue | ( | IndicatorVariable | variable, |
Object | entity, | ||
String | relatedPath | ||
) |
Implements org.turro.indicator.IElephantIndicator.
Reimplemented in org.turro.indicator.StudentIndicator, and org.turro.indicator.ContactIndicator.
Definition at line 122 of file AbstractIndicator.java.
IndicatorVariable org.turro.indicator.AbstractIndicator.getVariable | ( | String | name | ) |
Implements org.turro.indicator.IElephantIndicator.
Definition at line 102 of file AbstractIndicator.java.
List<IndicatorVariable> org.turro.indicator.AbstractIndicator.getVariables | ( | ) |
Implements org.turro.indicator.IElephantIndicator.
Definition at line 92 of file AbstractIndicator.java.
|
abstractprotected |
Reimplemented in org.turro.indicator.StudentIndicator, org.turro.indicator.ForumIndicator, org.turro.indicator.CommonsIndicator, org.turro.indicator.DossierIndicator, org.turro.indicator.AttachmentIndicator, org.turro.indicator.ServiceIndicator, org.turro.indicator.GenericIndicator, and org.turro.indicator.ContactIndicator.
void org.turro.indicator.AbstractIndicator.initIndicator | ( | ) |
Implements org.turro.indicator.IElephantIndicator.
Definition at line 43 of file AbstractIndicator.java.
|
abstractprotected |
Reimplemented in org.turro.indicator.StudentIndicator, org.turro.indicator.ForumIndicator, org.turro.indicator.CommonsIndicator, org.turro.indicator.DossierIndicator, org.turro.indicator.AttachmentIndicator, org.turro.indicator.ServiceIndicator, org.turro.indicator.GenericIndicator, and org.turro.indicator.ContactIndicator.
boolean org.turro.indicator.AbstractIndicator.itsMine | ( | IndicatorVariable | variable | ) |
Implements org.turro.indicator.IElephantIndicator.
Definition at line 245 of file AbstractIndicator.java.
boolean org.turro.indicator.AbstractIndicator.itsMine | ( | String | root | ) |
Implements org.turro.indicator.IElephantIndicator.
Definition at line 240 of file AbstractIndicator.java.
void org.turro.indicator.AbstractIndicator.postprocess | ( | IndicatorVariable | variable, |
IPreprocessor | postprocessor, | ||
String | entityRoot, | ||
String | relatedRoot | ||
) |
Implements org.turro.indicator.IElephantIndicator.
Definition at line 165 of file AbstractIndicator.java.
|
protected |
|
protected |
Reimplemented in org.turro.indicator.ContactIndicator.
Definition at line 207 of file AbstractIndicator.java.
void org.turro.indicator.AbstractIndicator.prepareIndicator | ( | ) |
Implements org.turro.indicator.IElephantIndicator.
Definition at line 48 of file AbstractIndicator.java.
void org.turro.indicator.AbstractIndicator.preprocess | ( | IndicatorVariable | variable, |
IPreprocessor | preprocessor, | ||
String | entityRoot, | ||
String | relatedRoot | ||
) |
Implements org.turro.indicator.IElephantIndicator.
Definition at line 150 of file AbstractIndicator.java.
|
abstractprotected |
Reimplemented in org.turro.indicator.StudentIndicator, org.turro.indicator.ForumIndicator, org.turro.indicator.CommonsIndicator, org.turro.indicator.DossierIndicator, org.turro.indicator.AttachmentIndicator, org.turro.indicator.ServiceIndicator, org.turro.indicator.GenericIndicator, and org.turro.indicator.ContactIndicator.
|
abstractprotected |
Reimplemented in org.turro.indicator.StudentIndicator, org.turro.indicator.ForumIndicator, org.turro.indicator.CommonsIndicator, org.turro.indicator.DossierIndicator, org.turro.indicator.AttachmentIndicator, org.turro.indicator.ServiceIndicator, org.turro.indicator.GenericIndicator, and org.turro.indicator.ContactIndicator.
IndicatorResult org.turro.indicator.AbstractIndicator.readIndicator | ( | String | storeClass, |
String | indicator | ||
) |
Implements org.turro.indicator.IElephantIndicator.
Definition at line 127 of file AbstractIndicator.java.
|
protected |
Definition at line 40 of file AbstractIndicator.java.
|
protected |
Definition at line 39 of file AbstractIndicator.java.