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

Public Member Functions

boolean itsMine (Object entity)
 
- Public Member Functions inherited from org.turro.ranking.ProcessRanking< Contact >
void startProcess ()
 
void startProcessFor (Object entity)
 
void process (Stream< T > stream, List< IndicatorVariable > variables)
 
void processFor (T entity, List< IndicatorVariable > variables)
 
Object createInstance ()
 
void poolInstance (Object value)
 
void finishPreprocessor ()
 
String tableName ()
 

Protected Member Functions

Stream< ContactgetEntityStream ()
 
Dao createDao ()
 
IRanking createRankingInstance ()
 
Class instanceClass ()
 
String indicatorsRoot ()
 
String entitiesRoot ()
 
- Protected Member Functions inherited from org.turro.ranking.ProcessRanking< Contact >
IRanking process (T entity, IndicatorVariable variable)
 
void start ()
 
void end ()
 
void truncate ()
 
void prepareProcess (List< IndicatorVariable > variables)
 
void postProcess (List< IndicatorVariable > variables)
 
void prepareEntity (T entity)
 
double calculate (RankingSet set)
 
IRanking createRankingInstance (String entityPath, IndicatorVariable variable)
 
abstract IRanking createRankingInstance ()
 
abstract Stream< T > getEntityStream ()
 
abstract Class instanceClass ()
 
abstract String indicatorsRoot ()
 
abstract String entitiesRoot ()
 
abstract Dao createDao ()
 
Dao getDao ()
 

Detailed Description

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

Definition at line 32 of file ProcessContactRanking.java.

Member Function Documentation

◆ createDao()

Dao org.turro.ranking.ProcessContactRanking.createDao ( )
protected

Definition at line 45 of file ProcessContactRanking.java.

45  {
46  return new ContactsPU();
47  }
Here is the caller graph for this function:

◆ createRankingInstance()

IRanking org.turro.ranking.ProcessContactRanking.createRankingInstance ( )
protected

Definition at line 50 of file ProcessContactRanking.java.

50  {
51  return new ContactRanking();
52  }

◆ entitiesRoot()

String org.turro.ranking.ProcessContactRanking.entitiesRoot ( )
protected

Definition at line 65 of file ProcessContactRanking.java.

65  {
66  return "contact";
67  }

◆ getEntityStream()

Stream<Contact> org.turro.ranking.ProcessContactRanking.getEntityStream ( )
protected

Definition at line 40 of file ProcessContactRanking.java.

40  {
41  return createDao().stream(Contact.class, "select c from Contact c");
42  }
Here is the call graph for this function:

◆ indicatorsRoot()

String org.turro.ranking.ProcessContactRanking.indicatorsRoot ( )
protected

Definition at line 60 of file ProcessContactRanking.java.

60  {
61  return "contact";
62  }

◆ instanceClass()

Class org.turro.ranking.ProcessContactRanking.instanceClass ( )
protected

Definition at line 55 of file ProcessContactRanking.java.

55  {
56  return ContactRanking.class;
57  }

◆ itsMine()

boolean org.turro.ranking.ProcessContactRanking.itsMine ( Object  entity)

Definition at line 35 of file ProcessContactRanking.java.

35  {
36  return entity instanceof ContactService;
37  }

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