public abstract class JCRPageList extends Object
| Modifier and Type | Field and Description |
|---|---|
protected long |
available_ |
protected long |
availablePage_ |
protected List<CalendarEvent> |
currentListPage_ |
protected long |
currentPage_ |
| Constructor and Description |
|---|
JCRPageList(long pageSize) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkAndSetPage(long page) |
List<CalendarEvent> |
currentPage(String username) |
abstract List |
getAll() |
long |
getAvailable() |
long |
getAvailablePage() |
long |
getCurrentPage() |
List<CalendarEvent> |
getPage(long page,
String username) |
long |
getPageSize() |
protected abstract void |
populateCurrentPage(long page,
String username) |
protected void |
setAvailablePage(long available) |
void |
setPageSize(long pageSize) |
protected long available_
protected long availablePage_
protected long currentPage_
protected List<CalendarEvent> currentListPage_
public long getPageSize()
public void setPageSize(long pageSize)
public long getCurrentPage()
public long getAvailable()
public long getAvailablePage()
public List<CalendarEvent> currentPage(String username) throws Exception
Exceptionprotected abstract void populateCurrentPage(long page,
String username)
throws Exception
Exceptionpublic List<CalendarEvent> getPage(long page, String username) throws Exception
Exceptionprotected void setAvailablePage(long available)
Copyright © 2003–2014 eXo Platform SAS. All rights reserved.