Skip to content

Commit

Permalink
Clarify import activity diagram
Browse files Browse the repository at this point in the history
according to the discussions of the meeting today
  • Loading branch information
egli committed Jun 6, 2024
1 parent c15d674 commit 7b365c3
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions doc/import_from_ABACUS.org
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
- (disabled) update the content in /ueberarbeiten/

* State diagram
** Import
#+begin_src plantuml :file ABACUS_import.png
@startuml
start
Expand All @@ -86,31 +87,29 @@
:Create a product with given product_number, product_type and document;
:Create an initial default XML with the given metadata;
endif
partition #Wheat "Checkout (Disabled)" {
if (product_number has never been seen before) then (yes)
:Try to check out the document in the archive;
endif
}
partition "Fetch content" {
stop
@enduml
#+end_src

#+RESULTS:
[[file:ABACUS_import.png]]

** Alfresco synchronization
#+begin_src plantuml :file Alfresco_sync.png
@startuml
start
if (document has been archived before) then (yes)
:Get the latest content from the archive;
:Update it with the metadata;
:Validate it;
:Create a new Version from it;
endif
}
partition #Wheat "Update archive (Disabled)" {
if (document is checked out) then (yes)
:find the document in ueberarbeiten;
:update it with the content;
endif
}
stop
@enduml
#+end_src

#+RESULTS:
[[file:ABACUS_import.png]]
[[file:Alfresco_sync.png]]

* Database Model

Expand Down

0 comments on commit 7b365c3

Please sign in to comment.