Package pro.taskana.common.rest.models
Class PagedRepresentationModel<T extends org.springframework.hateoas.RepresentationModel<? super T>>
- java.lang.Object
-
- org.springframework.hateoas.RepresentationModel<CollectionRepresentationModel<T>>
-
- pro.taskana.common.rest.models.CollectionRepresentationModel<T>
-
- pro.taskana.common.rest.models.PagedRepresentationModel<T>
-
- Direct Known Subclasses:
ClassificationSummaryPagedRepresentationModel,TaskSummaryPagedRepresentationModel,WorkbasketAccessItemPagedRepresentationModel,WorkbasketSummaryPagedRepresentationModel
public abstract class PagedRepresentationModel<T extends org.springframework.hateoas.RepresentationModel<? super T>> extends CollectionRepresentationModel<T>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPagedRepresentationModel(Collection<T> content, PageMetadata pageMetadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PageMetadatagetPageMetadata()-
Methods inherited from class pro.taskana.common.rest.models.CollectionRepresentationModel
getContent
-
-
-
-
Constructor Detail
-
PagedRepresentationModel
protected PagedRepresentationModel(Collection<T> content, PageMetadata pageMetadata)
-
-
Method Detail
-
getPageMetadata
public PageMetadata getPageMetadata()
-
-