Adding new state and system diagrams/pages
[policy/parent.git] / docs / clamp / acm / plantuml / system-dialogues / DeprimeElements.puml
1 @startuml
2 participant ACM_Runtime
3 participant Participant
4
5 ACM_Runtime -> Participant: [ASYNC] Deprime AC Element Types for this AC Type
6
7 loop over AC Element Types in AC Type
8  alt Does the deprimed Participant ID on this AC Element Type\nmatch my Participant ID
9   alt Does this AC Element Type Exist
10    Participant -> Participant: Delete AC Element Type
11    activate Participant
12    deactivate Participant
13    note left of Participant
14     Deletion of an AC Element Type always returns success
15    end note
16    ACM_Runtime <- Participant: [ASYNC] INFO: AC Element successfully primed
17   else
18     ACM_Runtime <- Participant: [ASYNC] WARN: AC Element Type is already deprimed
19   end
20  else
21   note left of Participant
22    ignore this AC Element Type as its for another participant
23   end note
24  end
25 end
26
27 @enduml