validatePublisherVersion.puml 1.61 KB
@startuml
Actor Validator
participant listPublisherVersions.xhtml
participant ListPublisherVersionsView
participant PublisherServiceSpring as PublisherServiceSpring << PublisherService >>
participant PublisherSearchRepositorySolrj as PublisherSearchRepositorySolrj << PublisherSearchRepository >>

Validator -> listPublisherVersions.xhtml: validate(PublisherVersion)
listPublisherVersions.xhtml -> ListPublisherVersionsView: validate(PublisherVersion)
Activate ListPublisherVersionsView

ListPublisherVersionsView -> PublisherServiceSpring: validatePublisherVersion(PublisherVersion)
Activate PublisherServiceSpring
PublisherServiceSpring -> PublisherServiceSpring: savePublisher(Publisher)
Activate PublisherServiceSpring

PublisherServiceSpring -> PublisherRepository: save(Publisher)
Activate PublisherRepository
PublisherRepository --> PublisherServiceSpring
Deactivate PublisherRepository
PublisherServiceSpring --> PublisherServiceSpring
Deactivate PublisherServiceSpring

PublisherServiceSpring -> PublisherSearchRepositorySolrj: save(IndexedPublisher)
Activate PublisherSearchRepositorySolrj
PublisherSearchRepositorySolrj --> PublisherServiceSpring
Deactivate PublisherSearchRepositorySolrj

PublisherServiceSpring -> PublisherActionRepository: save(PublisherAction)
Activate PublisherActionRepository
PublisherActionRepository --> PublisherServiceSpring
Deactivate PublisherActionRepository

PublisherServiceSpring --> ListPublisherVersionsView
Deactivate PublisherServiceSpring

ListPublisherVersionsView --> listPublisherVersions.xhtml
Deactivate ListPublisherVersionsView
listPublisherVersions.xhtml -> Validator: (resultPage)
@enduml