case classPager(prev: Option[UUID], next: Option[UUID]) extends Product with Serializable
A simple structure to assist in handling paging through a list of resources.
prev and next contain the ID of the previous and next resources (respectively).
Currently this class is used for paging through files in a dataset, but could
be used to handle paging for any list of arbitrary UUIDs / resources in other contexts.
See:
views.files,
controllers.Files#file
prev
UUID of the previous resource in the list
next
UUID of the next resource in the list
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
A simple structure to assist in handling paging through a list of resources.
prev
andnext
contain the ID of the previous and next resources (respectively).Currently this class is used for paging through files in a dataset, but could be used to handle paging for any list of arbitrary UUIDs / resources in other contexts.
See:
views.files
,controllers.Files#file
UUID of the previous resource in the list
UUID of the next resource in the list