Class VersionedRestPage<T>

java.lang.Object
com.atlassian.crowd.plugin.rest.entity.page.RestPage<T>
com.atlassian.crowd.plugin.rest.entity.VersionedRestPage<T>
All Implemented Interfaces:
Page<T>

public class VersionedRestPage<T> extends RestPage<T>
  • Constructor Details

    • VersionedRestPage

      public VersionedRestPage(List<T> results, int size, int start, int limit, int totalCount, boolean isLastPage, boolean upToDate)
  • Method Details

    • fromList

      public static <T> VersionedRestPage<T> fromList(List<T> results, int totalCount, boolean isUpToDate, RestPageRequest pageRequest)
    • isUpToDate

      public boolean isUpToDate()
    • getTotalCount

      public int getTotalCount()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class RestPage<T>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class RestPage<T>