Class OutputPage<O>
- java.lang.Object
-
- com.alon.spring.crud.api.controller.output.OutputPage<O>
-
public class OutputPage<O> extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOutputPage.Builder<O>
-
Constructor Summary
Constructors Constructor Description OutputPage()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<O>getContent()intgetPage()intgetPageSize()intgetTotalPages()intgetTotalSize()static OutputPage.Builderof()
-
-
-
Field Detail
-
content
protected java.util.List<O> content
-
page
protected int page
-
pageSize
protected int pageSize
-
totalPages
protected int totalPages
-
totalSize
protected int totalSize
-
-
Method Detail
-
getContent
public java.util.List<O> getContent()
-
getPage
public int getPage()
-
getPageSize
public int getPageSize()
-
getTotalPages
public int getTotalPages()
-
getTotalSize
public int getTotalSize()
-
of
public static OutputPage.Builder of()
-
-