Constructor and Description |
---|
DefaultPageInfo()
Deprecated.
|
DefaultPageInfo(ConnectionCursor startCursor,
ConnectionCursor endCursor,
boolean hasPreviousPage,
boolean hasNextPage) |
Modifier and Type | Method and Description |
---|---|
ConnectionCursor |
getEndCursor() |
ConnectionCursor |
getStartCursor() |
boolean |
isHasNextPage() |
boolean |
isHasPreviousPage() |
void |
setEndCursor(ConnectionCursor endCursor)
Deprecated.
prefer
DefaultPageInfo(ConnectionCursor, ConnectionCursor, boolean, boolean) and avoid mutation |
void |
setHasNextPage(boolean hasNextPage)
Deprecated.
|
void |
setHasPreviousPage(boolean hasPreviousPage)
Deprecated.
prefer
DefaultPageInfo(ConnectionCursor, ConnectionCursor, boolean, boolean) and avoid mutation |
void |
setStartCursor(ConnectionCursor startCursor)
Deprecated.
prefer
DefaultPageInfo(ConnectionCursor, ConnectionCursor, boolean, boolean) and avoid mutation |
java.lang.String |
toString() |
@Deprecated public DefaultPageInfo()
DefaultPageInfo(ConnectionCursor, ConnectionCursor, boolean, boolean)
public DefaultPageInfo(ConnectionCursor startCursor, ConnectionCursor endCursor, boolean hasPreviousPage, boolean hasNextPage)
public ConnectionCursor getStartCursor()
getStartCursor
in interface PageInfo
@Deprecated public void setStartCursor(ConnectionCursor startCursor)
DefaultPageInfo(ConnectionCursor, ConnectionCursor, boolean, boolean)
and avoid mutationstartCursor
- startCursorpublic ConnectionCursor getEndCursor()
getEndCursor
in interface PageInfo
@Deprecated public void setEndCursor(ConnectionCursor endCursor)
DefaultPageInfo(ConnectionCursor, ConnectionCursor, boolean, boolean)
and avoid mutationendCursor
- endCursorpublic boolean isHasPreviousPage()
isHasPreviousPage
in interface PageInfo
last
argument.@Deprecated public void setHasPreviousPage(boolean hasPreviousPage)
DefaultPageInfo(ConnectionCursor, ConnectionCursor, boolean, boolean)
and avoid mutationhasPreviousPage
- previous pagepublic boolean isHasNextPage()
isHasNextPage
in interface PageInfo
first
argument.@Deprecated public void setHasNextPage(boolean hasNextPage)
DefaultPageInfo(ConnectionCursor, ConnectionCursor, boolean, boolean)
hasNextPage
- has next pagepublic java.lang.String toString()
toString
in class java.lang.Object