Showing
1 changed file
with
53 additions
and
0 deletions
doc/reindex.puml
0 → 100644
1 | +@startuml | ||
2 | +actor Administrateur | ||
3 | +participant reindex.xhtml | ||
4 | +participant ReindexView | ||
5 | +participant PublisherServiceDefault as PublisherServiceDefault << PublisherService >> | ||
6 | +participant PublisherRepository | ||
7 | +participant PublisherSearchRepositorySolrj as PublisherSearchRepositorySolrj << PublisherSearchRepository >> | ||
8 | +participant AccountServiceDefault as AccountServiceDefault << AccountService >> | ||
9 | +participant AccountRepository | ||
10 | +participant AccountSearchRepositorySolrj as AccountSearchRepositorySolrj << AccountSearchRepository >> | ||
11 | + | ||
12 | +Administrateur -> reindex.xhtml: reindexAll() | ||
13 | +reindex.xhtml -> ReindexView: reindexAll() | ||
14 | +activate ReindexView | ||
15 | +ReindexView -> PublisherServiceDefault: reindexAllPublishers() | ||
16 | +activate PublisherServiceDefault | ||
17 | +PublisherServiceDefault -> PublisherRepository: findByValidatedVersionIsNotNull(); | ||
18 | +activate PublisherRepository | ||
19 | +PublisherRepository -> PublisherServiceDefault: List<Publisher> | ||
20 | +deactivate PublisherRepository | ||
21 | +PublisherServiceDefault -> PublisherServiceDefault: convertPublishersIntoIndexedPublishers(List<Publisher>) | ||
22 | +activate PublisherServiceDefault | ||
23 | +PublisherServiceDefault -> PublisherServiceDefault: List<InxdexedPublisher> | ||
24 | +deactivate PublisherServiceDefault | ||
25 | +PublisherServiceDefault -> PublisherSearchRepositorySolrj: reindex(List<InxdexedPublisher>) | ||
26 | +activate PublisherSearchRepositorySolrj | ||
27 | +PublisherSearchRepositorySolrj -> PublisherServiceDefault | ||
28 | +deactivate PublisherSearchRepositorySolrj | ||
29 | +PublisherServiceDefault -> ReindexView: indexedPublishersCount | ||
30 | +deactivate PublisherServiceDefault | ||
31 | + | ||
32 | +ReindexView -> AccountServiceDefault: reindexAllAccounts() | ||
33 | +activate AccountServiceDefault | ||
34 | +AccountServiceDefault -> AccountRepository: findByPresentationIsNotNull() | ||
35 | +activate AccountRepository | ||
36 | +AccountRepository -> AccountServiceDefault: List<Account> | ||
37 | +deactivate AccountRepository | ||
38 | +AccountServiceDefault -> AccountServiceDefault: convertAccountsIntoIndexedAccounts(List<Account>) | ||
39 | +activate AccountServiceDefault | ||
40 | +AccountServiceDefault -> AccountServiceDefault: List<IndexedAccount> | ||
41 | +deactivate AccountServiceDefault | ||
42 | +AccountServiceDefault -> AccountSearchRepositorySolrj: reindex(List<IndexedAccount>) | ||
43 | +activate AccountSearchRepositorySolrj | ||
44 | +AccountSearchRepositorySolrj -> AccountServiceDefault | ||
45 | +deactivate AccountSearchRepositorySolrj | ||
46 | + | ||
47 | +AccountServiceDefault -> ReindexView: indexedAccountsCount | ||
48 | +deactivate AccountServiceDefault | ||
49 | + | ||
50 | +ReindexView -> reindex.xhtml | ||
51 | +deactivate ReindexView | ||
52 | +reindex.xhtml -> Administrateur: resultPage | ||
53 | +@enduml | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or login to post a comment