Class CometSnippetPagingDTO<T>

java.lang.Object
com.priint.pubserver.comet.bridge.snippet.CometSnippetPagingDTO<T>

public class CometSnippetPagingDTO<T> extends Object
  • Method Details

    • from

      public static <T, Y> CometSnippetPagingDTO<T> from(List<T> enrichedSnippets, CometSnippetPagingDTO<Y> cometSnippets)
    • getContent

      public List<T> getContent()
    • getTotalNumberOfElement

      public int getTotalNumberOfElement()
    • isFirst

      public boolean isFirst()
    • isLast

      public boolean isLast()
    • getNumberOfPages

      public int getNumberOfPages()
    • getPageSize

      public int getPageSize()
    • from

      public static <T> CometSnippetPagingDTO<T> from(List<T> content, int startPage, int pageSize, int totalRows)