ENTITY - The type of entity.public class ResultBeanBuilder<ENTITY> extends Object
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected String |
_tableDbName |
| コンストラクタと説明 |
|---|
ResultBeanBuilder(String tableDbName) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
ListResultBean<ENTITY> |
buildEmptyListOfPaging(PagingBean pb)
Build the result bean of list as empty.
|
ListResultBean<ENTITY> |
buildEmptyListSimply()
Build the result bean of list as empty.
|
ListResultBean<ENTITY> |
buildEmptyPagingSimply(int pageSize)
Build the result bean of paging as empty.
|
ListResultBean<ENTITY> |
buildListInherited(ListResultBean<?> inherited,
List<ENTITY> selectedList)
Build the result bean of list with all record count, order-by clause.
|
ListResultBean<ENTITY> |
buildListOfCB(ConditionBean cb,
List<ENTITY> selectedList)
Build the result bean of list.
|
ListResultBean<ENTITY> |
buildListSimply(List<ENTITY> selectedList)
Build the result bean of list without order-by clause.
|
PagingResultBean<ENTITY> |
buildPagingOfPaging(PagingBean pb,
int allRecordCount,
List<ENTITY> selectedList)
Build the result bean of paging.
|
PagingResultBean<ENTITY> |
buildPagingSimply(int pageSize,
int pageNumber,
int allRecordCount,
List<ENTITY> selectedList)
Build the result bean of paging.
|
protected ListResultBean<ENTITY> |
newListResultBean() |
protected PagingResultBean<ENTITY> |
newPagingResultBean() |
protected final String _tableDbName
public ResultBeanBuilder(String tableDbName)
public ListResultBean<ENTITY> buildListOfCB(ConditionBean cb, List<ENTITY> selectedList)
cb - The condition-bean. (NotNull)selectedList - The actually selected list of the entity. (NotNull)public ListResultBean<ENTITY> buildListInherited(ListResultBean<?> inherited, List<ENTITY> selectedList)
inherited - The result bean to inherit option info, e.g. all record count. (NotNull)selectedList - The actually selected list of the entity. (NotNull)public ListResultBean<ENTITY> buildListSimply(List<ENTITY> selectedList)
selectedList - The actually selected list of the entity. (NotNull)public ListResultBean<ENTITY> buildEmptyListOfPaging(PagingBean pb)
pb - The bean of paging. (NotNull)public ListResultBean<ENTITY> buildEmptyListSimply()
protected ListResultBean<ENTITY> newListResultBean()
public PagingResultBean<ENTITY> buildPagingOfPaging(PagingBean pb, int allRecordCount, List<ENTITY> selectedList)
pb - The bean of paging. (NotNull)allRecordCount - All record count.selectedList - The list of selected entity. (NotNull)public PagingResultBean<ENTITY> buildPagingSimply(int pageSize, int pageNumber, int allRecordCount, List<ENTITY> selectedList)
pageSize - The record count of one page.pageNumber - The number of current page.allRecordCount - All record count.selectedList - The list of selected entity. (NotNull)public ListResultBean<ENTITY> buildEmptyPagingSimply(int pageSize)
pageSize - The record count of one page.protected PagingResultBean<ENTITY> newPagingResultBean()
Copyright © 2014–2015 The DBFlute Project. All rights reserved.