Files
alfresco-community-repo/amps/ags/rm-community/documentation/destruction/resource/sequence/destruction-sequence.puml
2021-05-05 19:41:33 +01:00

40 lines
719 B
Plaintext

@startuml
Title: Content Destruction and Cleansing Flow
participant "Repository" as R
participant "Behaviour" as B
participant "ContentDestructionComponent" as CDC
participant "EagerContentStoreCleaner" as ECSC
participant ConentCleanser as CC
participant ContentStore as CS
R->B:beforeNodeDelete
activate B
note right of B: sensitive content
B->CDC:registerAllContentForDestruction
deactivate B
activate CDC
note right of CDC: cleansing enabled
CDC->ECSC:registerOrphanedContentUrlForCleansing
deactivate CDC
activate ECSC
ECSC->ECSC: registerOrphanedContentUrl
R->ECSC:afterCommit
ECSC->CC:cleanse
activate CC
CC->ECSC
deactivate CC
ECSC->CS:delete
activate CS
CS->ECSC
deactivate CS
deactivate ECSC
@enduml