searchPublisher.puml 1.45 KB
@startuml
Actor Visiteur
participant PublisherSearch.xhtml
participant PublisherSearchView
participant PublisherServiceSpring as PublisherServiceSpring << PublisherService >>
participant PublisherSearchRepositorySolrj as PublisherSearchRepositorySolrj << PublisherSearchRepository >>

Visiteur -> PublisherSearch.xhtml: (String)
PublisherSearch.xhtml -> PublisherSearchView: search(String)

Activate PublisherSearchView
PublisherSearchView -> PublisherServiceSpring: search(String)
Activate PublisherServiceSpring

PublisherServiceSpring -> PublisherSearchRepositorySolrj: search(String)
Activate PublisherSearchRepositorySolrj
PublisherSearchRepositorySolrj --> PublisherServiceSpring: (List<IndexedPublisher>)
Deactivate PublisherSearchRepositorySolrj
PublisherServiceSpring -> PublisherServiceSpring: convert(List<IndexedPublisher>)
Activate PublisherServiceSpring
PublisherServiceSpring -> PublisherVersionRepository: findByPublisherVersionIdIn(List<int>)
Activate PublisherVersionRepository
PublisherVersionRepository --> PublisherServiceSpring: (List<PublisherVersion>)
Deactivate PublisherVersionRepository
PublisherServiceSpring --> PublisherServiceSpring: (List<PublisherVersion>)
Deactivate PublisherServiceSpring

PublisherServiceSpring --> PublisherSearchView: (List<PublisherVersion>)
Deactivate PublisherServiceSpring
PublisherSearchView --> PublisherSearch.xhtml: (List<PublisherVersion>)
Deactivate PublisherSearchView
PublisherSearch.xhtml -> Visiteur: resultPage
@enduml