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>
-
Field Summary
Fields inherited from class com.atlassian.crowd.plugin.rest.entity.page.RestPage
LAST_PAGE_PROPERTY, LIMIT_PROPERTY, SIZE_PROPERTY, START_PROPERTY, VALUES_PROPERTY
-
Constructor Summary
ConstructorDescriptionVersionedRestPage
(List<T> results, int size, int start, int limit, int totalCount, boolean isLastPage, boolean upToDate) -
Method Summary
Modifier and TypeMethodDescriptionboolean
static <T> VersionedRestPage<T>
fromList
(List<T> results, int totalCount, boolean isUpToDate, RestPageRequest pageRequest) int
int
hashCode()
boolean
Methods inherited from class com.atlassian.crowd.plugin.rest.entity.page.RestPage
allResultsToLongMax, fromListPlusOne, fromListPlusOne, getLimit, getResults, getSize, getStart, isLastPage, limitPlusOne, toString
-
Constructor Details
-
VersionedRestPage
-
-
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
-
hashCode
public int hashCode()
-