Jean-Francois Leveque

Diagramme de conception indexation et recherche, mise à jour.

@startuml
Actor Visiteur
Visiteur -> PublisherSearchPage: (String)
PublisherSearchPage -> PublisherSearchView: search(String)
participant PublisherSearch.xhtml
participant PublisherSearchView
participant PublisherServiceSpring as PublisherServiceSpring << PublisherService >>
Visiteur -> PublisherSearch.xhtml: (String)
PublisherSearch.xhtml -> PublisherSearchView: search(String)
Activate PublisherSearchView
PublisherSearchView -> PublisherService: search(String)
Activate PublisherService
PublisherService -> PublisherServiceSpring: search(String)
PublisherSearchView -> PublisherServiceSpring: search(String)
Activate PublisherServiceSpring
PublisherServiceSpring -> PublisherSearchRepository: search(String)
......@@ -22,11 +24,9 @@ Deactivate PublisherVersionRepository
PublisherServiceSpring --> PublisherServiceSpring: (List<PublisherVersion>)
Deactivate PublisherServiceSpring
PublisherServiceSpring --> PublisherService: (List<PublisherVersion>)
PublisherServiceSpring --> PublisherSearchView: (List<PublisherVersion>)
Deactivate PublisherServiceSpring
PublisherService --> PublisherSearchView: (List<PublisherVersion>)
Deactivate PublisherService
PublisherSearchView --> PublisherSearchPage: (List<PublisherVersion>)
PublisherSearchView --> PublisherSearch.xhtml: (List<PublisherVersion>)
Deactivate PublisherSearchView
PublisherSearchPage --> Visiteur: resultPage
PublisherSearch.xhtml -> Visiteur: resultPage
@enduml
......
@startuml
Actor Validator
Validator -> ListPublisherVersionsPage: validate(PublisherVersion)
ListPublisherVersionsPage -> ListPublisherVersionsView: validate(PublisherVersion)
participant listPublisherVersions.xhtml
participant ListPublisherVersionsView
participant PublisherServiceSpring as PublisherServiceSpring << PublisherService >>
Validator -> listPublisherVersions.xhtml: validate(PublisherVersion)
listPublisherVersions.xhtml -> ListPublisherVersionsView: validate(PublisherVersion)
Activate ListPublisherVersionsView
ListPublisherVersionsView -> PublisherService: validatePublisherVersion(PublisherVersion)
Activate PublisherService
PublisherService -> PublisherServiceSpring: validatePublisherVersion(PublisherVersion)
ListPublisherVersionsView -> PublisherServiceSpring: validatePublisherVersion(PublisherVersion)
Activate PublisherServiceSpring
PublisherServiceSpring -> PublisherServiceSpring: savePublisher(Publisher)
Activate PublisherServiceSpring
......@@ -15,6 +17,7 @@ PublisherServiceSpring -> PublisherRepository: save(Publisher)
Activate PublisherRepository
PublisherRepository --> PublisherServiceSpring
Deactivate PublisherRepository
PublisherServiceSpring --> PublisherServiceSpring
Deactivate PublisherServiceSpring
PublisherServiceSpring -> PublisherSearchRepository: save(IndexedPublisher)
......@@ -27,12 +30,10 @@ Activate PublisherActionRepository
PublisherActionRepository --> PublisherServiceSpring
Deactivate PublisherActionRepository
PublisherServiceSpring --> PublisherService
PublisherServiceSpring --> ListPublisherVersionsView
Deactivate PublisherServiceSpring
PublisherService --> ListPublisherVersionsView
Deactivate PublisherService
ListPublisherVersionsView --> ListPublisherVersionsPage
ListPublisherVersionsView --> listPublisherVersions.xhtml
Deactivate ListPublisherVersionsView
ListPublisherVersionsPage -> Validator: (resultPage)
listPublisherVersions.xhtml -> Validator: (resultPage)
@enduml
\ No newline at end of file
......