|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.mosp.common.common.BaseVo
jp.mosp.common.common.ListVo
public class ListVo
一覧表示に有用な機能を提供する。
頁送り情報、ソート情報等を保持し、そのアクセサメソッドを有する。
フィールドの概要 | |
---|---|
protected int |
count
|
protected int |
countAllData
総件数。 |
protected int |
dataPerPage
1頁あたりの表示件数。 |
protected String |
formerKey
|
protected boolean |
isAscending
|
protected List<?> |
list
|
protected int |
listLength
|
protected String |
pageCommand
頁繰りコマンド。 |
protected int |
selectIndex
選択頁番号。 |
protected String |
selectKey
ソートキー。 |
クラス jp.mosp.common.common.BaseVo から継承されたフィールド |
---|
aryMenu, cfg, cmd, docXml, errDetails, errFields, errMessage, isValid, msg, nam, needDirectJs, retUrl, subTitle, xmlRetCode |
コンストラクタの概要 | |
---|---|
ListVo()
コンストラクタ。 |
メソッドの概要 | |
---|---|
int |
getCount()
|
int |
getCountAllData()
|
int |
getDataPerPage()
|
int |
getEnd()
|
String |
getFormerKey()
|
boolean |
getIsAscending()
|
List<?> |
getList()
|
boolean |
getNeedFormer()
|
boolean |
getNeedNext()
|
int |
getOffset()
OFFSET取得。 |
String |
getPageCommand()
|
int |
getSelectIndex()
|
String |
getSelectKey()
|
String |
getSortMark(String key)
ソートマーク出力。 |
int |
getStart()
|
void |
initListInfo()
リスト情報初期化。 |
void |
initVo(Properties cfg,
Properties msg,
String cmd,
CmAspUserDto aspUserDto,
CmUserDto userDto)
VO初期化。 |
void |
pageFormer()
リスト頁戻し。 |
void |
pageNext()
リスト頁送り。 |
void |
setCount(int count)
|
void |
setCountAllData(int countAllData)
|
void |
setDataPerPage(int dataPerPage)
|
void |
setFormerKey(String formerKey)
|
void |
setIsAscending(boolean isAscending)
|
void |
setPageButton()
頁ボタン要否設定。 |
void |
setPageCommand(String pageCommand)
|
void |
setSelectIndex(int selectIndex)
|
void |
setSelectKey(String selectKey)
|
void |
setSortKey(String sortKey)
ソートキー設定。 |
void |
sortList(Comparator<Object> comp)
リストソート(ソート情報の変更無し)。 |
void |
sortList(String key,
Comparator<Object> comp)
リストソート。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected int count
protected List<?> list
protected String formerKey
protected boolean isAscending
protected int listLength
protected String pageCommand
HtmlUtility.getListInfoFlex(ListVo)
で用いる。
protected String selectKey
HtmlUtility.getListInfoFlex(ListVo)
で用いる。
protected int selectIndex
HtmlUtility.getListInfoFlex(ListVo)
で用いる。
protected int countAllData
HtmlUtility.getListInfoFlex(ListVo)
で用いる。
protected int dataPerPage
HtmlUtility.getListInfoFlex(ListVo)
で用いる。
コンストラクタの詳細 |
---|
public ListVo()
メソッドの詳細 |
---|
public void initVo(Properties cfg, Properties msg, String cmd, CmAspUserDto aspUserDto, CmUserDto userDto)
BaseVo
内の initVo
cfg
- 設定ファイルmsg
- メッセージファイルcmd
- コマンドaspUserDto
- ASPユーザーuserDto
- ユーザーpublic void initListInfo() throws MospException
MospException
public void pageNext()
public void pageFormer()
public void setPageButton()
public void sortList(String key, Comparator<Object> comp) throws MospException
MospException
public void sortList(Comparator<Object> comp)
public String getSortMark(String key)
key
- ソートキー
public int getOffset()
public void setSortKey(String sortKey)
sortKey
- ソートキーpublic List<?> getList()
public int getCount()
public int getStart()
public int getEnd()
public boolean getNeedFormer()
public boolean getNeedNext()
public boolean getIsAscending()
public String getFormerKey()
public void setCount(int count)
public void setFormerKey(String formerKey)
public void setIsAscending(boolean isAscending)
public String getPageCommand()
public String getSelectKey()
public int getSelectIndex()
public int getCountAllData()
public int getDataPerPage()
public void setPageCommand(String pageCommand)
public void setSelectKey(String selectKey)
public void setSelectIndex(int selectIndex)
public void setCountAllData(int countAllData)
public void setDataPerPage(int dataPerPage)
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |