|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
java.lang.Objectwisdomx.ui.builder.StatementPageListBuilder
PreparedStatementからIPageListを作成するIPageListBuilderの実装クラス
クラス内部ではPreparedStatement#executeQuery()を実行した後のResultSetから
IPageListを作成します。ResultSetはカーソル・スクロールを使用するため、
PreparedStatementは
Connection#prepareStatement(sql, ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
| コンストラクタの概要 | |
StatementPageListBuilder(java.sql.PreparedStatement statement,
IPageListDecorator decorator)
コンストラクタ |
|
| メソッドの概要 | |
IPageList |
buildFullRowsPage(int perPageRows,
int currentPageIndex)
IPageListオブジェクトを作成します。 |
IPageList |
buildPerPageRows(int perPageRows,
int currentPageIndex)
IPageListオブジェクトを作成します。 |
| クラス java.lang.Object から継承したメソッド |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
public StatementPageListBuilder(java.sql.PreparedStatement statement,
IPageListDecorator decorator)
statement - 実行するPreparedStatementdecorator - | メソッドの詳細 |
public IPageList buildPerPageRows(int perPageRows,
int currentPageIndex)
throws java.lang.Exception
IPageListBuilder の記述: PerPageRowsPageListです。
IPageListBuilder 内の buildPerPageRowsperPageRows - 1ページの表示行数currentPageIndex - 現在のページインデックス
java.lang.Exception
public IPageList buildFullRowsPage(int perPageRows,
int currentPageIndex)
throws java.lang.Exception
IPageListBuilder の記述: FullRowsPageListです。
IPageListBuilder 内の buildFullRowsPageperPageRows - 1ページの表示行数currentPageIndex - 現在のページインデックス
java.lang.Exception
|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||