com.jalios.jcms.db
Class PageResult<E>
java.lang.Object
com.jalios.jcms.db.PageResult<E>
- Type Parameters:
E
- any object type
public class PageResult<E>
- extends Object
This class contains the result of a paged query (i.e. the sliced result list and total size of the query).
- Since:
- jcms-6.0.0
- Author:
- Olivier Dedieu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REVISION
public static final String REVISION
- See Also:
- Constant Field Values
PageResult
public PageResult()
- Builds a new empty PageResults
PageResult
public PageResult(int totalSize,
PageResult.Status status)
PageResult
public PageResult(int totalSize,
List<E> resultList)
PageResult
public PageResult(int totalSize,
List<E> resultList,
PageResult.Status status)
PageResult
public PageResult(int totalSize,
LinkedHashMap<E,Float> resultMap)
PageResult
public PageResult(int totalSize,
LinkedHashMap<E,Float> resultMap,
PageResult.Status status)
getTotalSize
public int getTotalSize()
setTotalSize
public void setTotalSize(int totalSize)
getResultList
public List<E> getResultList()
setResultList
public void setResultList(List<E> resultList)
getScore
public float getScore(E obj)
setStatus
public void setStatus(PageResult.Status status)
getStatus
public PageResult.Status getStatus()
Copyright © 2001-2010 Jalios SA. All Rights Reserved.