Jean-Francois Leveque

Diagramme de conception indexation et recherche, mise à jour.

1 @startuml 1 @startuml
2 Actor Visiteur 2 Actor Visiteur
3 -Visiteur -> PublisherSearchPage: (String) 3 +participant PublisherSearch.xhtml
4 -PublisherSearchPage -> PublisherSearchView: search(String) 4 +participant PublisherSearchView
5 +participant PublisherServiceSpring as PublisherServiceSpring << PublisherService >>
6 +
7 +Visiteur -> PublisherSearch.xhtml: (String)
8 +PublisherSearch.xhtml -> PublisherSearchView: search(String)
5 9
6 Activate PublisherSearchView 10 Activate PublisherSearchView
7 -PublisherSearchView -> PublisherService: search(String) 11 +PublisherSearchView -> PublisherServiceSpring: search(String)
8 -Activate PublisherService
9 -PublisherService -> PublisherServiceSpring: search(String)
10 Activate PublisherServiceSpring 12 Activate PublisherServiceSpring
11 13
12 PublisherServiceSpring -> PublisherSearchRepository: search(String) 14 PublisherServiceSpring -> PublisherSearchRepository: search(String)
...@@ -22,11 +24,9 @@ Deactivate PublisherVersionRepository ...@@ -22,11 +24,9 @@ Deactivate PublisherVersionRepository
22 PublisherServiceSpring --> PublisherServiceSpring: (List<PublisherVersion>) 24 PublisherServiceSpring --> PublisherServiceSpring: (List<PublisherVersion>)
23 Deactivate PublisherServiceSpring 25 Deactivate PublisherServiceSpring
24 26
25 -PublisherServiceSpring --> PublisherService: (List<PublisherVersion>) 27 +PublisherServiceSpring --> PublisherSearchView: (List<PublisherVersion>)
26 Deactivate PublisherServiceSpring 28 Deactivate PublisherServiceSpring
27 -PublisherService --> PublisherSearchView: (List<PublisherVersion>) 29 +PublisherSearchView --> PublisherSearch.xhtml: (List<PublisherVersion>)
28 -Deactivate PublisherService
29 -PublisherSearchView --> PublisherSearchPage: (List<PublisherVersion>)
30 Deactivate PublisherSearchView 30 Deactivate PublisherSearchView
31 -PublisherSearchPage --> Visiteur: resultPage
32 -@enduml
...\ No newline at end of file ...\ No newline at end of file
31 +PublisherSearch.xhtml -> Visiteur: resultPage
32 +@enduml
......
1 @startuml 1 @startuml
2 Actor Validator 2 Actor Validator
3 -Validator -> ListPublisherVersionsPage: validate(PublisherVersion) 3 +participant listPublisherVersions.xhtml
4 -ListPublisherVersionsPage -> ListPublisherVersionsView: validate(PublisherVersion) 4 +participant ListPublisherVersionsView
5 +participant PublisherServiceSpring as PublisherServiceSpring << PublisherService >>
6 +
7 +Validator -> listPublisherVersions.xhtml: validate(PublisherVersion)
8 +listPublisherVersions.xhtml -> ListPublisherVersionsView: validate(PublisherVersion)
5 Activate ListPublisherVersionsView 9 Activate ListPublisherVersionsView
6 10
7 -ListPublisherVersionsView -> PublisherService: validatePublisherVersion(PublisherVersion) 11 +ListPublisherVersionsView -> PublisherServiceSpring: validatePublisherVersion(PublisherVersion)
8 -Activate PublisherService
9 -PublisherService -> PublisherServiceSpring: validatePublisherVersion(PublisherVersion)
10 Activate PublisherServiceSpring 12 Activate PublisherServiceSpring
11 PublisherServiceSpring -> PublisherServiceSpring: savePublisher(Publisher) 13 PublisherServiceSpring -> PublisherServiceSpring: savePublisher(Publisher)
12 Activate PublisherServiceSpring 14 Activate PublisherServiceSpring
...@@ -15,6 +17,7 @@ PublisherServiceSpring -> PublisherRepository: save(Publisher) ...@@ -15,6 +17,7 @@ PublisherServiceSpring -> PublisherRepository: save(Publisher)
15 Activate PublisherRepository 17 Activate PublisherRepository
16 PublisherRepository --> PublisherServiceSpring 18 PublisherRepository --> PublisherServiceSpring
17 Deactivate PublisherRepository 19 Deactivate PublisherRepository
20 +PublisherServiceSpring --> PublisherServiceSpring
18 Deactivate PublisherServiceSpring 21 Deactivate PublisherServiceSpring
19 22
20 PublisherServiceSpring -> PublisherSearchRepository: save(IndexedPublisher) 23 PublisherServiceSpring -> PublisherSearchRepository: save(IndexedPublisher)
...@@ -27,12 +30,10 @@ Activate PublisherActionRepository ...@@ -27,12 +30,10 @@ Activate PublisherActionRepository
27 PublisherActionRepository --> PublisherServiceSpring 30 PublisherActionRepository --> PublisherServiceSpring
28 Deactivate PublisherActionRepository 31 Deactivate PublisherActionRepository
29 32
30 -PublisherServiceSpring --> PublisherService 33 +PublisherServiceSpring --> ListPublisherVersionsView
31 Deactivate PublisherServiceSpring 34 Deactivate PublisherServiceSpring
32 -PublisherService --> ListPublisherVersionsView
33 -Deactivate PublisherService
34 35
35 -ListPublisherVersionsView --> ListPublisherVersionsPage 36 +ListPublisherVersionsView --> listPublisherVersions.xhtml
36 Deactivate ListPublisherVersionsView 37 Deactivate ListPublisherVersionsView
37 -ListPublisherVersionsPage -> Validator: (resultPage) 38 +listPublisherVersions.xhtml -> Validator: (resultPage)
38 @enduml 39 @enduml
...\ No newline at end of file ...\ No newline at end of file
......