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

Public Member Functions

boolean itsMine (Object entity)
 
- Public Member Functions inherited from org.turro.matching.ProcessMatching< 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 ()
 
IMatching createMatchingInstance ()
 
Class instanceClass ()
 
String indicatorsRoot ()
 
String entitiesRoot ()
 
String relatedRoot ()
 
Dao createDao ()
 
- Protected Member Functions inherited from org.turro.matching.ProcessMatching< ContactService >
IMatching process (T entity, String relatedPath, IndicatorVariable variable)
 
void start ()
 
void end ()
 
void truncate ()
 
List< String > getSelectedPaths ()
 
void prepareProcess (List< IndicatorVariable > variables)
 
void postProcess (List< IndicatorVariable > variables)
 
void prepareEntity (T entity)
 
double calculate (MatchingSet set)
 
IMatching createMatchingInstance (String entityPath, String relatedPath, IndicatorVariable variable)
 
abstract IMatching createMatchingInstance ()
 
abstract Stream< T > getEntityStream ()
 
abstract Class instanceClass ()
 
abstract String indicatorsRoot ()
 
abstract String entitiesRoot ()
 
abstract String relatedRoot ()
 
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 ProcessServiceContactMatching.java.

Member Function Documentation

◆ createDao()

Dao org.turro.matching.ProcessServiceContactMatching.createDao ( )
protected

Definition at line 64 of file ProcessServiceContactMatching.java.

64  {
65  return new ContactsPU();
66  }
Here is the caller graph for this function:

◆ createMatchingInstance()

IMatching org.turro.matching.ProcessServiceContactMatching.createMatchingInstance ( )
protected

Definition at line 39 of file ProcessServiceContactMatching.java.

39  {
40  return new ServiceContactMatching();
41  }

◆ entitiesRoot()

String org.turro.matching.ProcessServiceContactMatching.entitiesRoot ( )
protected

Definition at line 54 of file ProcessServiceContactMatching.java.

54  {
55  return "service";
56  }

◆ getEntityStream()

Stream<ContactService> org.turro.matching.ProcessServiceContactMatching.getEntityStream ( )
protected

Definition at line 34 of file ProcessServiceContactMatching.java.

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

◆ indicatorsRoot()

String org.turro.matching.ProcessServiceContactMatching.indicatorsRoot ( )
protected

Definition at line 49 of file ProcessServiceContactMatching.java.

49  {
50  return "service";
51  }

◆ instanceClass()

Class org.turro.matching.ProcessServiceContactMatching.instanceClass ( )
protected

Definition at line 44 of file ProcessServiceContactMatching.java.

44  {
45  return ServiceContactMatching.class;
46  }

◆ itsMine()

boolean org.turro.matching.ProcessServiceContactMatching.itsMine ( Object  entity)

Definition at line 69 of file ProcessServiceContactMatching.java.

69  {
70  return entity instanceof ContactService;
71  }

◆ relatedRoot()

String org.turro.matching.ProcessServiceContactMatching.relatedRoot ( )
protected

Definition at line 59 of file ProcessServiceContactMatching.java.

59  {
60  return "contact";
61  }

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