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

Public Member Functions

boolean itsMine (Object entity)
 
- Public Member Functions inherited from org.turro.ranking.ProcessRanking< ContactService >
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< ContactServicegetEntityStream ()
 
Dao createDao ()
 
IRanking createRankingInstance ()
 
Class instanceClass ()
 
String indicatorsRoot ()
 
String entitiesRoot ()
 
- Protected Member Functions inherited from org.turro.ranking.ProcessRanking< ContactService >
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 31 of file ProcessServiceRanking.java.

Member Function Documentation

◆ createDao()

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

Definition at line 44 of file ProcessServiceRanking.java.

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

◆ createRankingInstance()

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

Definition at line 49 of file ProcessServiceRanking.java.

49  {
50  return new ServiceRanking();
51  }

◆ entitiesRoot()

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

Definition at line 64 of file ProcessServiceRanking.java.

64  {
65  return "service";
66  }

◆ getEntityStream()

Stream<ContactService> org.turro.ranking.ProcessServiceRanking.getEntityStream ( )
protected

Definition at line 39 of file ProcessServiceRanking.java.

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

◆ indicatorsRoot()

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

Definition at line 59 of file ProcessServiceRanking.java.

59  {
60  return "service";
61  }

◆ instanceClass()

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

Definition at line 54 of file ProcessServiceRanking.java.

54  {
55  return ServiceRanking.class;
56  }

◆ itsMine()

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

Definition at line 34 of file ProcessServiceRanking.java.

34  {
35  return entity instanceof ContactService;
36  }

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