Class ContentCursor
- java.lang.Object
-
- com.atlassian.confluence.api.model.pagination.ContentCursor
-
-
Field Summary
Fields Modifier and Type Field Description static ContentCursorEMPTY_CURSORstatic ContentCursorEMPTY_CURSOR_PREV
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContentCursorcreateCursor(boolean isReverse, long contentId)booleanequals(Object o)LonggetContentId()CursorTypegetCursorType()inthashCode()booleanisEmpty()Indicates that cursor is empty (first cursor in forward direction)booleanisReverse()Indicates that records should be sorted in backward direction when this cursor is usedStringtoString()static ContentCursorvalueOf(@NonNull String cursorToken)
-
-
-
Field Detail
-
EMPTY_CURSOR
public static final ContentCursor EMPTY_CURSOR
-
EMPTY_CURSOR_PREV
public static final ContentCursor EMPTY_CURSOR_PREV
-
-
Method Detail
-
createCursor
public static ContentCursor createCursor(boolean isReverse, long contentId)
-
getCursorType
public CursorType getCursorType()
- Specified by:
getCursorTypein interfaceCursor- Returns:
- Type of the cursor
-
isReverse
public boolean isReverse()
Description copied from interface:CursorIndicates that records should be sorted in backward direction when this cursor is used
-
getContentId
public Long getContentId()
-
isEmpty
public boolean isEmpty()
Description copied from interface:CursorIndicates that cursor is empty (first cursor in forward direction)
-
valueOf
public static ContentCursor valueOf(@NonNull String cursorToken)
-
-