|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.web.util.paging.WindowedCursor
public class WindowedCursor
Cursor implementation based on notion of a Window.
| Method Summary | |
|---|---|
int |
getCurrentPage()
Gets the current page number |
int |
getEndRow()
Gets the end row within result set for this page |
int |
getFirstPage()
Gets the first page number |
boolean |
getHasFirstPage()
Is there a known first page? |
boolean |
getHasLastPage()
Is there a known last page? |
boolean |
getHasNextPage()
Is there a known next page? |
boolean |
getHasPrevPage()
Is there a known prev page? |
int |
getLastPage()
Gets the last page number |
int |
getNextPage()
Gets the next page number |
int |
getPageSize()
Gets the page size |
java.lang.String |
getPageType()
Gets the page type |
int |
getPrevPage()
Gets the previous page number |
int |
getRowCount()
Gets the count of rows within result set for this page |
int |
getStartRow()
Gets the start row within result set for this page |
int |
getTotalPages()
Gets total number of pages |
int |
getTotalRows()
Gets total rows |
boolean |
isInRange()
Is the page within range of the result set |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String getPageType()
Cursor
getPageType in interface Cursorpublic int getPageSize()
Cursor
getPageSize in interface Cursorpublic int getTotalPages()
Cursor
getTotalPages in interface Cursorpublic int getTotalRows()
Cursor
getTotalRows in interface Cursorpublic int getCurrentPage()
Cursor
getCurrentPage in interface Cursorpublic int getFirstPage()
Cursor
getFirstPage in interface Cursorpublic int getLastPage()
Cursor
getLastPage in interface Cursorpublic int getNextPage()
Cursor
getNextPage in interface Cursorpublic int getPrevPage()
Cursor
getPrevPage in interface Cursorpublic boolean isInRange()
Cursor
isInRange in interface Cursorpublic boolean getHasFirstPage()
Cursor
getHasFirstPage in interface Cursorpublic boolean getHasLastPage()
Cursor
getHasLastPage in interface Cursorpublic boolean getHasNextPage()
Cursor
getHasNextPage in interface Cursorpublic boolean getHasPrevPage()
Cursor
getHasPrevPage in interface Cursorpublic int getStartRow()
Cursor
getStartRow in interface Cursorpublic int getEndRow()
Cursor
getEndRow in interface Cursorpublic int getRowCount()
Cursor
getRowCount in interface Cursor
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||