◆ cleanHomonyms()
static void org.turro.matching.ProcessHomonymsMatching.cleanHomonyms |
( |
| ) |
|
|
static |
Definition at line 223 of file ProcessHomonymsMatching.java.
224 Threads.instance(
"Clear homonyms").start(() -> {
225 Dao dao =
new ContactsPU();
226 SqlClause.delete(
"HomonymsMatching")
228 SqlClause.select(
"*").from(
"Contact c")
229 .where(
"c.identifier = SUBSTRING(entityPath , 10)")
230 .and().isFalse(
"c.deactivated")
231 .and().isFalse(
"c.inactive"))
234 SqlClause.delete(
"HomonymsMatching")
236 SqlClause.select(
"*").from(
"Contact c")
237 .where(
"c.identifier = SUBSTRING(relatedPath , 10)")
238 .and().isFalse(
"c.deactivated")
239 .and().isFalse(
"c.inactive"))
◆ createDao()
Dao org.turro.matching.ProcessHomonymsMatching.createDao |
( |
| ) |
|
|
protected |
◆ createMatchingInstance()
IMatching org.turro.matching.ProcessHomonymsMatching.createMatchingInstance |
( |
| ) |
|
|
protected |
◆ end()
void org.turro.matching.ProcessHomonymsMatching.end |
( |
| ) |
|
|
protected |
◆ entitiesRoot()
String org.turro.matching.ProcessHomonymsMatching.entitiesRoot |
( |
| ) |
|
|
protected |
◆ getEntityStream()
Stream<Contact> org.turro.matching.ProcessHomonymsMatching.getEntityStream |
( |
| ) |
|
|
protected |
Definition at line 66 of file ProcessHomonymsMatching.java.
67 WhereClause wc =
new WhereClause();
68 wc.addClause(
"select c from Contact c");
69 wc.addIn(
"where",
"c.id", selectedPaths.getIdList());
70 return createDao().stream(Contact.class, wc);
◆ getSelectedPaths()
List<String> org.turro.matching.ProcessHomonymsMatching.getSelectedPaths |
( |
| ) |
|
|
protected |
◆ indicatorsRoot()
String org.turro.matching.ProcessHomonymsMatching.indicatorsRoot |
( |
| ) |
|
|
protected |
◆ instanceClass()
Class org.turro.matching.ProcessHomonymsMatching.instanceClass |
( |
| ) |
|
|
protected |
◆ itsMine()
boolean org.turro.matching.ProcessHomonymsMatching.itsMine |
( |
Object |
entity | ) |
|
◆ relatedRoot()
String org.turro.matching.ProcessHomonymsMatching.relatedRoot |
( |
| ) |
|
|
protected |
◆ start()
void org.turro.matching.ProcessHomonymsMatching.start |
( |
| ) |
|
|
protected |
The documentation for this class was generated from the following file: