|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.scooterframework.orm.misc.PageListSource
com.scooterframework.orm.misc.DataPageListSourceImpl
public class DataPageListSourceImpl
DataPageListSourceImpl class retrieves paged record list from an existing data list.
Field Summary |
---|
Fields inherited from class com.scooterframework.orm.misc.PageListSource |
---|
inputOptions, limit, log, offset, recordList, recount, totalCount |
Constructor Summary | |
---|---|
DataPageListSourceImpl(java.util.List<java.lang.Object> dataList)
Constructs a PageListSource object. |
|
DataPageListSourceImpl(java.util.List<java.lang.Object> dataList,
java.util.Map<java.lang.String,java.lang.String> inputOptions)
Constructs a PageListSource object. |
|
DataPageListSourceImpl(java.util.List<java.lang.Object> dataList,
java.util.Map<java.lang.String,java.lang.String> inputOptions,
boolean recount)
Constructs a PageListSource object. |
Method Summary | |
---|---|
protected int |
countTotalRecords()
Counts total number of records. |
protected java.util.List<java.lang.Object> |
retrieveList()
Retrieves list of records. |
Methods inherited from class com.scooterframework.orm.misc.PageListSource |
---|
checkOffset, execute, getLimitX, getOffset, getRecordList, getTotalCount, setInputs, setLimit, setOffset, setRecount |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataPageListSourceImpl(java.util.List<java.lang.Object> dataList)
dataList
- a list of data.public DataPageListSourceImpl(java.util.List<java.lang.Object> dataList, java.util.Map<java.lang.String,java.lang.String> inputOptions)
dataList
- a list of data to be paginated.inputOptions
- Map of control information.public DataPageListSourceImpl(java.util.List<java.lang.Object> dataList, java.util.Map<java.lang.String,java.lang.String> inputOptions, boolean recount)
dataList
- a list of data to be paginated.inputOptions
- Map of control information.recount
- true if recount of total records is allowed;
false otherwise.Method Detail |
---|
protected int countTotalRecords()
PageListSource
countTotalRecords
in class PageListSource
protected java.util.List<java.lang.Object> retrieveList()
PageListSource
retrieveList
in class PageListSource
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |