org.exoplatform.contact.service
Class JCRPageList
java.lang.Object
org.exoplatform.contact.service.JCRPageList
- Direct Known Subclasses:
- ContactPageList, DataPageList
public abstract class JCRPageList
- extends java.lang.Object
- Since:
- Oct 21, 2004
- Version:
- $Id: PageList.java,v 1.2 2004/10/25 03:36:58 tuan08 Exp $
- Author:
- Tuan Nguyen (tuan08@users.sourceforge.net)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
available_
protected long available_
availablePage_
protected long availablePage_
currentPage_
protected long currentPage_
currentListPage_
protected java.util.List<Contact> currentListPage_
JCRPageList
public JCRPageList(long pageSize)
getPageSize
public long getPageSize()
setPageSize
public void setPageSize(long pageSize)
setCurrentPage
public void setCurrentPage(long page)
getCurrentPage
public long getCurrentPage()
getAvailable
public long getAvailable()
getAvailablePage
public long getAvailablePage()
currentPage
public java.util.List<Contact> currentPage(java.lang.String username)
throws java.lang.Exception
- Throws:
java.lang.Exception
setContact
public void setContact(java.util.List<Contact> contacts,
boolean isUpdate)
throws java.lang.Exception
- Throws:
java.lang.Exception
populateCurrentPage
protected abstract void populateCurrentPage(long page,
java.lang.String username)
throws java.lang.Exception
- Throws:
java.lang.Exception
getPage
public java.util.List<Contact> getPage(long page,
java.lang.String username)
throws java.lang.Exception
- Throws:
java.lang.Exception
getAll
public abstract java.util.List<Contact> getAll()
throws java.lang.Exception
- Throws:
java.lang.Exception
setList
public abstract void setList(java.util.List<Contact> contacts)
checkAndSetPage
protected void checkAndSetPage(long page)
throws java.lang.Exception
- Throws:
java.lang.Exception
setAvailablePage
protected void setAvailablePage(long available)
Copyright © 2010 eXo Platform SAS. All Rights Reserved.