mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-01 20:43:49 +00:00
adding doc about pagination
This commit is contained in:
BIN
source/static/puml/pagination-sequence.png
Normal file
BIN
source/static/puml/pagination-sequence.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
20
source/static/puml/pagination-sequence.puml
Normal file
20
source/static/puml/pagination-sequence.puml
Normal file
@@ -0,0 +1,20 @@
|
||||
@startuml
|
||||
|
||||
actor "controller, service, ..." as x
|
||||
participant "paginator"
|
||||
participant "Request"
|
||||
|
||||
x -> paginator: getCurrentPage()
|
||||
activate paginator
|
||||
|
||||
paginator -> Request: read the `page` parameter in GET request
|
||||
activate Request
|
||||
Request -> paginator
|
||||
deactivate Request
|
||||
|
||||
paginator -> paginator: construct a page object for current page number
|
||||
paginator -> x: return the `page`
|
||||
deactivate paginator
|
||||
|
||||
@enduml
|
||||
|
Reference in New Issue
Block a user