Skip to content

Instantly share code, notes, and snippets.

@tfuji
Created November 5, 2020 15:38
Show Gist options
  • Save tfuji/b18fe31d9696c31094bd0f6b33f522d6 to your computer and use it in GitHub Desktop.
Save tfuji/b18fe31d9696c31094bd0f6b33f522d6 to your computer and use it in GitHub Desktop.
@startuml DDBJ
skinparam componentStyle rectangle
node "[Status: Deleted]" as Deleted #lightpink {
(物理削除)
}
node "[Status: Canceled]" as Canceled #lightpink {
(論理削除)
}
node "Status: Unsubmitted" as Unsubmitted #lightgray {
(エントリー内データ表示) as UnsubmittedView
(アップロード) as UnsubmittedUpload
(Validateボタンを押す) as UnsubmittedValidation
(バリデーションステイタス表示) as UnsubmittedValidationStatusView
UnsubmittedView -down-> UnsubmittedUpload
UnsubmittedUpload -down-> UnsubmittedValidation
UnsubmittedValidation -down-> UnsubmittedValidationStatusView
'TODO validation true/false
[valid]
[invalid]
UnsubmittedValidationStatusView --> [valid]
UnsubmittedValidationStatusView --> [invalid]
[valid] --> (Submitボタンを押す)
[invalid] --> UnsubmittedUpload
(Submitボタンを押す)
(Request to Publicボタンを押す)
(Deleteボタンを押す)
note "Issue: ユーザがEntryを作らない代理申請\n→ Create Entry後にentriesの一覧ページでアカウント(メールアドレス)選択して\n一般ユーザ権限に移譲できるようにする" as NoteIssue1 #LightPink
(Request to Publicボタンを押す) .. NoteIssue1
Submitボタンを押す .. NoteIssue1
}
node "Status: Submitted" as Submitted #lightblue {
(エントリー内データ表示) as SubmittedView
(アップロード) as SubmittedUpload #Orange
(Validateボタンを押す) as SubmittedValidation #Orange
(バリデーションステイタス表示) as SubmittedValidationStatusView
[査定する] #Orange
(Request to Cancelボタンを押す) as RequestToCancelatSubmitted
(ToCanceledボタンを押す) as ToCanceledatSubmitted #Orange
(ToUnsubmittedボタンを押す) #Orange
(ToPrivateボタンを押す) #Orange
(ToPublicボタンを押す) as ToPublicatSubmitted #Orange
[査定する] --> SubmittedUpload
[査定する] --> (ToUnsubmittedボタンを押す)
[査定する] --> (ToPrivateボタンを押す)
SubmittedView -down-> SubmittedUpload
SubmittedUpload -down-> SubmittedValidation
SubmittedValidation -down-> SubmittedValidationStatusView
RequestToCancelatSubmitted --> ToUnsubmittedボタンを押す
RequestToCancelatSubmitted --> ToCanceledatSubmitted
note "Issue: エントリー取下げ申請ボタン追加\nSubmittedステイタスではUnsubmiittedに差し戻し、\nPrivate(ID発行後)は論理削除で良いか確認する" as NoteIssue2 #LightPink
RequestToCancelatSubmitted .up. NoteIssue2
note "Issue: toPrivateとtoPublicの一括操作" as NoteIssue3 #LightPink
ToPrivateボタンを押す .. NoteIssue3
note "取下げ申請許可" as NoteToCanceledatSubmitted
ToCanceledatSubmitted .. NoteToCanceledatSubmitted
note "エントリー差し戻し" as NoteToUnsubmitted
ToUnsubmittedボタンを押す .. NoteToUnsubmitted
note "Accession No.発行許可" as NoteToPrivate
ToPrivateボタンを押す .. NoteToPrivate
}
node "Status: Private" as Private #LightCyan {
(エントリー内データ表示) as PrivateView
(アップロード) as PrivateUpload #Orange
(Validateボタンを押す) as PrivateValidation #Orange
(バリデーションステイタス表示) as PrivateValidationStatusView
(Request to Cancelボタンを押す) as RequestToCancelatPrivate
(ToCanceledボタンを押す) as ToCanceledatPrivate #Orange
RequestToCancelatPrivate --> ToCanceledatPrivate
PrivateView ..> PrivateUpload #Gray
PrivateUpload ..> PrivateValidation #Gray
PrivateValidation --> PrivateValidationStatusView
(ToPublicボタンを押す) as ToPublicatPrivate #Orange
note "ID発行後の取下げ申請許可" as NoteToCanceledatPrivate
ToCanceledatPrivate .. NoteToCanceledatPrivate
note "Issue: ID発行後のアップロード、Validateは差分チェックID引継ぎなど\nデータ更新査定の課題(R3年度)" as NoteIssue5 #LightPink
PrivateUpload .. NoteIssue5
}
node "Status: Public" as Public {
(Replacedボタンを押す) #Orange
(ToSuppressedボタンを押す) #Orange
(ToKilledボタンを押す) #Orange
}
[Accession発行]
node "Status: Suppressed" as Suppressed {
}
node "Status: Replaced" as Replaced {
}
note "Issue: Replace先の入力操作\n→ エントリー単位でのReplacedステイタスの変更操作自体が不要" as NoteIssue4 #LightPink
Replaced .down. NoteIssue4
node "Status: Killed" as Killed {
}
'(Request to Publicボタンを押す) -right-> (ToPublicボタンを押す)
(ToUnsubmittedボタンを押す) -up-> Unsubmitted
(Deleteボタンを押す) -up-> Deleted
(Submitボタンを押す) --> Submitted
ToCanceledatSubmitted --> Canceled
ToCanceledatPrivate --> Canceled
(ToPrivateボタンを押す) --> [Accession発行処理]
[Accession発行処理] --> Private
(ToSuppressedボタンを押す) --> Suppressed
(Replacedボタンを押す) -down-> Replaced
(ToKilledボタンを押す) -down-> Killed
ToPublicatSubmitted -down-> [Accession発行処理] #Blue
ToPublicatPrivate -down-> Public
[Accession発行処理] -down-> Public #Blue
' Unsubmitted -down-> Submitted
@enduml
@tfuji
Copy link
Author

tfuji commented Nov 10, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment