E
- any object typepublic class PageResult<E>
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
PageResult.Status |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REVISION |
Constructor and Description |
---|
PageResult()
Builds a new empty PageResults
|
PageResult(int totalSize,
java.util.LinkedHashMap<E,java.lang.Float> resultMap) |
PageResult(int totalSize,
java.util.LinkedHashMap<E,java.lang.Float> resultMap,
PageResult.Status status) |
PageResult(int totalSize,
java.util.List<E> resultList) |
PageResult(int totalSize,
java.util.List<E> resultList,
PageResult.Status status) |
PageResult(int totalSize,
PageResult.Status status) |
Modifier and Type | Method and Description |
---|---|
java.util.List<E> |
getResultList() |
float |
getScore(E obj) |
PageResult.Status |
getStatus() |
int |
getTotalSize() |
void |
setResultList(java.util.List<E> resultList) |
void |
setStatus(PageResult.Status status) |
void |
setTotalSize(int totalSize) |
public static final java.lang.String REVISION
public PageResult()
public PageResult(int totalSize, PageResult.Status status)
public PageResult(int totalSize, java.util.List<E> resultList)
public PageResult(int totalSize, java.util.List<E> resultList, PageResult.Status status)
public PageResult(int totalSize, java.util.LinkedHashMap<E,java.lang.Float> resultMap)
public PageResult(int totalSize, java.util.LinkedHashMap<E,java.lang.Float> resultMap, PageResult.Status status)
public int getTotalSize()
public void setTotalSize(int totalSize)
public java.util.List<E> getResultList()
public void setResultList(java.util.List<E> resultList)
public float getScore(E obj)
public void setStatus(PageResult.Status status)
public PageResult.Status getStatus()
Copyright © 2001-2010 Jalios SA. All Rights Reserved.