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

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 -> PublisherSearchRepository: save(IndexedPublisher)
Activate PublisherSearchRepository
PublisherSearchRepository --> PublisherServiceSpring
Deactivate PublisherSearchRepository

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

PublisherServiceSpring --> ListPublisherVersionsView
Deactivate PublisherServiceSpring

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