|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.web.util.PagingCursor.Rows
public static class PagingCursor.Rows
Rows based Cursor
Constructor Summary | |
---|---|
PagingCursor.Rows(long totalRows,
long maxRows,
long skipRows,
boolean zeroBasedRow)
Create a Rows based Cursor |
Method Summary | |
---|---|
long |
getEndRow()
Gets the end row within collection for this page |
long |
getMaxRows()
Gets the maximum number of rows to include in this page |
long |
getNextSkipRows()
Gets the next skip count |
long |
getSkipRows()
Gets the number rows skipped |
long |
getStartRow()
Gets the start row within collection for this page |
long |
getTotalRows()
Gets the total number of rows |
boolean |
isInRange()
Is the cursor within range of the total number of rows |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PagingCursor.Rows(long totalRows, long maxRows, long skipRows, boolean zeroBasedRow)
totalRows
- total rows in collectionmaxRows
- maximum number of rows in pageskipRows
- number of rows to skip (0 - none)zeroBasedRow
- true => 0 based, false => 1 basedMethod Detail |
---|
public long getTotalRows()
public long getSkipRows()
public long getMaxRows()
public boolean isInRange()
public long getStartRow()
public long getEndRow()
public long getNextSkipRows()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |