|
||||||||||
前 次 | フレームあり フレームなし |
jp.littlesoft.data での DataException の使用 |
---|
jp.littlesoft.data での DataException のサブクラス | |
---|---|
static class |
Column.NoAccessibleObjectException
|
static class |
Column.TypeMismatchException
|
DataException をスローする jp.littlesoft.data のメソッド | ||
---|---|---|
void |
Table.activate()
Table オブジェクトをアクティブ化します。 |
|
void |
Table.addColumn(Column column)
カラムの追加(作成したオブジェクトを登録)します。 |
|
void |
Params.addColumn(Column column)
Column オブジェクトを追加します。 |
|
Column |
Table.addColumn(String fieldName)
カラムの追加(名前で作成)します。 |
|
Column |
Params.addColumn(String columnName)
名前を指定してColumnオブジェクトを追加します。 |
|
Column |
Table.addColumn(String fieldName,
Column.Type type)
カラムの追加(名前とタイプを指定して作成)します。 |
|
Column |
Params.addColumn(String columnName,
Column.Type dataType)
名前、データ型を指定してColumnオブジェクトを追加します。 |
|
Column |
Params.addColumn(String columnName,
Column.Type dataType,
Column.ParamType paramType)
名前、データ型、パラメータ型を指定してColumnオブジェクトを追加します。 |
|
void |
Table.addColumns(String[] names)
カラムの追加(名前配列で作成)します。 |
|
Row<E> |
Table.appendRow()
行を追加します。 |
|
Row<E> |
Table.appendRow(E entity)
行を追加します。 |
|
void |
Table.applyFilter()
Tableにフィルターを適用する指示を行います。 |
|
void |
Table.applySortFilter(Table.SortKey[] sortKeys)
Tableにフィルターを適用する指示を行うと同時にその結果をソートします。 |
|
void |
Table.cancelUpdates(boolean initial)
行に対する変更、行追加をキャンセルします。 |
|
protected void |
Table.checkActive()
Table オブジェクトの状態チェックし、アクティブでなかったらアクティブ化します。 |
|
protected void |
Table.checkDeactive()
アクティブ時にしてはいけない事をした場合の例外処理を実装します。 |
|
int[] |
Table.checkDuplicate(String[] columnNameArray)
指定したColumnの重複値チェックを行います。 |
|
int[] |
Table.checkDuplicate(String[] columnNameArray,
int rowIndex)
指定したColumnの重複値チェックを行います。 |
|
boolean |
Table.checkMoreRow(boolean toLast)
追加行が存在するかどうかを調べます。 |
|
boolean |
DataProvider.checkMoreRow(Table<?> table,
boolean toLast)
テーブルオブジェクトに追加でロードできるデータ行が検査するメソッド |
|
void |
Table.clearColumns()
全カラムを削除します。 |
|
void |
Params.clearColumns()
全 Column オブジェクトを削除します。 |
|
void |
Params.copyValues(Params<?> sourceParams)
sourceParamsの各項目値がnullでないとき、その値を当オブジェクトにコピーします. |
|
void |
Table.deleteAllRows()
すべての行を削除します。 |
|
void |
Table.deleteRow()
現在行を削除します。 |
|
protected void |
Table.doLoadData()
データのロードを行います。 |
|
protected void |
Table.doSetupColumn(IndexedMap<String,Column> fields)
DataFieldのセットアップを行います。 |
|
void |
DataResolver.execute(Table<?> dataTable)
テーブルオブジェクトの内容をデータベースあるいはデータファイル等に書き出す処理を実装します。 |
|
void |
Table.fireRowDeleting(TableEvent<E> e)
rowDeletingイベントを送出します。 |
|
boolean |
Table.first()
行カーソルを先頭に移動します。 |
|
void |
DataProvider.free()
内部リソースの開放を行います。 |
|
BigDecimal |
Row.getBigDecimal(int index)
Row オブジェクトより引数 index で指定された列のjava.math.BigDecimal値を取得します。 |
|
BigDecimal |
Row.getBigDecimal(String columnName)
Row オブジェクトより引数 columnName で指定された列のjava.math.BigDecimal値を取得します。 |
|
byte[] |
Row.getBinary(int index)
Row オブジェクトより引数 index で指定された列のバイナリ値(byte[])を取得します。 |
|
byte[] |
Row.getBinary(String columnName)
Row オブジェクトより引数 columnName で指定された列のバイナリ値(byte[])を取得します。 |
|
boolean |
Row.getBoolean(int index)
Row オブジェクトより引数 index で指定された列のboolean値を取得します。 |
|
boolean |
Row.getBoolean(String columnName)
Row オブジェクトより引数 columnName で指定された列のboolean値を取得します。 |
|
byte |
Row.getByte(int index)
Row オブジェクトより引数 index で指定された列のbyte値を取得します。 |
|
byte |
Row.getByte(String columnName)
Row オブジェクトより引数 columnName で指定された列のbyte値を取得します。 |
|
Column |
Table.getColumn(String columnName)
引数 columnName で指定されたカラム名から Column オブジェクトを取得します。 |
|
protected Column |
Row.getColumn(String name)
|
|
Column |
Params.getColumn(String name)
|
|
Date |
Row.getDate(int index)
Row オブジェクトより引数 index で指定された列のjava.sql.Date値を取得します。 |
|
Date |
Row.getDate(String columnName)
Row オブジェクトより引数 columnName で指定された列のjava.sql.Date値を取得します。 |
|
double |
Row.getDouble(int index)
Row オブジェクトより引数 index で指定された列のdouble値を取得します。 |
|
double |
Row.getDouble(String columnName)
Row オブジェクトより引数 columnName で指定された列のdouble値を取得します。 |
|
E |
Table.getEntity()
カーソル行のエンティティオブジェクトを取得します。 |
|
E |
Table.getEntity(int rowIndex)
引数 rowIndex にカーソルを移動し、エンティティオブジェクトを取得します。 |
|
float |
Row.getFloat(int index)
Row オブジェクトより引数 index で指定された列のfloat値を取得します。 |
|
float |
Row.getFloat(String columnName)
Row オブジェクトより引数 columnName で指定された列のfloat値を取得します。 |
|
int |
Row.getInt(int index)
Row オブジェクトより引数 index で指定された列のint値を取得します。 |
|
int |
Row.getInt(String columnName)
Row オブジェクトより引数 columnName で指定された列のint値を取得します。 |
|
long |
Row.getLong(int index)
Row オブジェクトより引数 index で指定された列のlong値を取得します。 |
|
long |
Row.getLong(String columnName)
Row オブジェクトより引数 columnName で指定された列のlong値を取得します。 |
|
boolean[] |
Table.getNullables()
Nullable属性の配列を取得します。 |
|
Serializable |
Row.getObject(int index)
Row オブジェクトより引数 index で指定された列のjava.lang.Object値を取得します。 |
|
Serializable |
Row.getObject(String columnName)
Row オブジェクトより引数 columnName で指定された列のjava.lang.Object値を取得します。 |
|
Row<E> |
Table.getRow()
カーソル行の Row オブジェクトを取得します。 |
|
Row<E> |
Table.getRow(int rowIndex)
引数 rowIndex で指定された Row オブジェクトを取得します。 |
|
Row.RowID |
Table.getRowID(int rowIndex)
行インデックスを指定して、RowIDを取得します。 |
|
short |
Row.getShort(int index)
Row オブジェクトより引数 index で指定された列のshort値を取得します。 |
|
short |
Row.getShort(String columnName)
Row オブジェクトより引数 columnName で指定された列のshort値を取得します。 |
|
String |
Row.getString(int index)
Row オブジェクトより引数 index で指定された列のjava.lang.String値を取得します。 |
|
String |
Row.getString(String columnName)
Row オブジェクトより引数 columnName で指定された列のjava.lang.String値を取得します。 |
|
Time |
Row.getTime(int index)
Row オブジェクトより引数 index で指定された列のjava.sql.Time値を取得します。 |
|
Time |
Row.getTime(String columnName)
Row オブジェクトより引数 columnName で指定された列のjava.sql.Time値を取得します。 |
|
Timestamp |
Row.getTimestamp(int index)
Row オブジェクトより引数 index で指定された列のjava.sql.Timestamp値を取得します。 |
|
Timestamp |
Row.getTimestamp(String columnName)
Row オブジェクトより引数 columnName で指定された列のjava.sql.Timestamp値を取得します。 |
|
Serializable |
Row.getValue(int index)
Row オブジェクトより引数 index で指定された列のjava.lang.Object値を取得します。 |
|
Serializable |
Row.getValue(String columnName)
Row オブジェクトより引数 columnName で指定された列のjava.lang.Object値を取得します。 |
|
String |
Row.getValueAsString(int index)
Row オブジェクトより引数 index で指定された列のjava.lang.String値を取得します。 |
|
String |
Row.getValueAsString(String columnName)
Row オブジェクトより引数 columnName で指定された列のjava.lang.String値を取得します。 |
|
Row<E> |
Table.insertRow(int index)
行を挿入します。 |
|
Row<E> |
Table.insertRow(int index,
E entity)
エンティティオブジェクトを行を挿入します。 |
|
protected void |
Table.internalFree()
deActiveの時の後始末を行います。 |
|
boolean |
Table.internalMoveTo(int index)
引数 index で指定されたインデックスへ行カーソルを移動します。 |
|
protected void |
Table.internalOnActivate()
アクティブ時の内部設定を実装します。 |
|
boolean |
Table.internalPut(Row<E> row,
boolean visible,
boolean insert)
自分が使う行テーブルの登録します。 |
|
void |
Table.internalRemove(Row.RowID rowID)
RowIDを指定して内部テーブルから行オブジェクトを削除します。 |
|
protected void |
Table.internalSetup()
内部データのセットアップします。 |
|
boolean |
Row.isNull(String columnName)
引数 columnName で指定された列がNULLであるか検査します。 |
|
boolean |
Table.last()
行カーソルを最終行へ移動します。 |
|
void |
DataProvider.loadData(Table<?> table)
テーブルオブジェクトにデータをロードするメソッド |
|
static Column.Type |
Column.mapToJava(int sqlType)
SQLデータ型をデータ型値にマッピングします。 |
|
static int |
Column.mapToSql(Column.Type type)
データ型値をにSQLデータ型マッピングします。 |
|
static String |
Column.mapToSQLString(Column.Type type)
データ型値をにSQLデータ型マッピングします。 |
|
boolean |
Table.moveTo(int index)
引数 index で指定されたインデックスへ行カーソルを移動します。 |
|
boolean |
Table.next()
行カーソルを1行次へ移動します。 |
|
String |
Params.parseSQL(String sqlText)
SQL文に含まれているパラメータを解析し、対応する Column オブジェクトを生成します。 |
|
void |
Table.passivate()
Table オブジェクトを非アクティブ化します。 |
|
boolean |
Table.previous()
行カーソルを1行前へ移動します。 |
|
void |
Table.releaseFilter()
Tableにフィルターを解除する指示を行います。 |
|
void |
Table.releaseFilter(boolean doneFilter)
Tableにフィルターを解除する指示を行います。 |
|
void |
Table.resolveChanges()
Table オブジェクトの変更内容をDBや外部ファイルに書き出します。 |
|
protected void |
Table.setActive(boolean activation)
Table オブジェクトの状態を設定します。 |
|
void |
Row.setBigDecimal(int index,
BigDecimal value)
Row オブジェクトの引数 index で指定された列にjava.math.BigDecimal値を設定します。 |
|
void |
Row.setBigDecimal(String columnName,
BigDecimal value)
Row オブジェクトの引数 columnName で指定された列にjava.math.BigDecimal値を設定します。 |
|
void |
Row.setBinary(int index,
byte[] value)
Row オブジェクトの引数 index で指定された列にバイナリ値(byte[])を設定します。 |
|
void |
Row.setBinary(String columnName,
byte[] value)
Row オブジェクトの引数 columnName で指定された列にバイナリ値(byte[])を設定します。 |
|
void |
Row.setBoolean(int index,
Boolean value)
Row オブジェクトの引数 index で指定された列にboolean値を設定します。 |
|
void |
Row.setBoolean(String columnName,
Boolean value)
Row オブジェクトの引数 columnName で指定された列にboolean値を設定します。 |
|
void |
Row.setByte(int index,
Byte value)
Row オブジェクトの引数 index で指定された列にbyte値を設定します。 |
|
void |
Row.setByte(String columnName,
Byte value)
Row オブジェクトの引数 columnName で指定された列にbyte値を設定します。 |
|
void |
Row.setDate(int index,
Date value)
Row オブジェクトの引数 index で指定された列にjava.sql.Date値を設定します。 |
|
void |
Row.setDate(String columnName,
Date value)
Row オブジェクトの引数 columnName で指定された列にjava.sql.Date値を設定します。 |
|
void |
Row.setDouble(int index,
Double value)
Row オブジェクトの引数 index で指定された列にdouble値を設定します。 |
|
void |
Row.setDouble(String columnName,
Double value)
Row オブジェクトの引数 columnName で指定された列にdouble値を設定します。 |
|
void |
Table.setEntityType(Class<E> entityType)
|
|
void |
Row.setFloat(int index,
Float value)
Row オブジェクトの引数 index で指定された列にfloat値を設定します。 |
|
void |
Row.setFloat(String columnName,
Float value)
Row オブジェクトの引数 columnName で指定された列にfloat値を設定します。 |
|
void |
Row.setInt(int index,
Integer value)
Row オブジェクトの引数 index で指定された列にint値を設定します。 |
|
void |
Row.setInt(String columnName,
Integer value)
Row オブジェクトの引数 columnName で指定された列にint値を設定します。 |
|
void |
Row.setLong(int index,
Long value)
Row オブジェクトの引数 index で指定された列にlong値を設定します。 |
|
void |
Row.setLong(String columnName,
Long value)
Row オブジェクトの引数 columnName で指定された列にlong値を設定します。 |
|
void |
Column.setName(String name)
カラム名を設定します。 |
|
void |
Row.setNull(int index)
Row オブジェクトの引数 index で指定された列にnull値を設定します。 |
|
void |
Row.setNull(String columnName)
Row オブジェクトの引数 columnName で指定された列にnull値を設定します。 |
|
void |
Table.setNullableAll(boolean nullable)
引数 nullable で指定されたNullable属性を全てのフィールドに設定します。 |
|
void |
Table.setNullables(boolean[] nullables)
引数 nullables で指定されたNullable属性の配列を設定します。 |
|
void |
Row.setObject(int index,
Serializable value)
Row オブジェクトの引数 index で指定された列にjava.lang.Object値を設定します。 |
|
void |
Row.setObject(String columnName,
Serializable value)
Row オブジェクトの引数 columnName で指定された列にjava.lang.Object値を設定します。 |
|
void |
Row.setShort(int index,
Short value)
Row オブジェクトの引数 index で指定された列にshort値を設定します。 |
|
void |
Row.setShort(String columnName,
Short value)
Row オブジェクトの引数 columnName で指定された列にshort値を設定します。 |
|
void |
Row.setString(int index,
String value)
Row オブジェクトの引数 index で指定された列にjava.lang.String値を設定します。 |
|
void |
Row.setString(String columnName,
String value)
Row オブジェクトの引数 columnName で指定された列にjava.lang.String値を設定します。 |
|
void |
Row.setTime(int index,
Time value)
Row オブジェクトの引数 index で指定された列にjava.sql.Time値を設定します。 |
|
void |
Row.setTime(String columnName,
Time value)
Row オブジェクトの引数 columnName で指定された列にjava.sql.Time値を設定します。 |
|
void |
Row.setTimestamp(int index,
Timestamp value)
Row オブジェクトの引数 index で指定された列にjava.sql.Timestamp値を設定します。 |
|
void |
Row.setTimestamp(String columnName,
Timestamp value)
Row オブジェクトの引数 columnName で指定された列にjava.sql.Timestamp値を設定します。 |
|
|
DataProvider.setupColumn(Table<?> table)
テーブルオブジェクトのカラムを構築するメソッド |
|
void |
Row.setValue(int index,
Serializable value)
Row オブジェクトの引数 index で指定された列にjava.lang.Object値を設定します。 |
|
void |
Row.setValue(String columnName,
Serializable value)
Row オブジェクトの引数 columnName で指定された列にjava.lang.Object値を設定します。 |
|
void |
Params.setValue(String columnName,
Serializable value)
|
|
void |
Row.setValueAsString(int index,
String value)
Row オブジェクトの引数 index で指定された列にjava.lang.String値を設定します。 |
|
void |
Row.setValueAsString(String columnName,
String value)
Row オブジェクトの引数 columnName で指定された列にjava.lang.String値を設定します。 |
|
void |
Row.setValueFromResultSet(ResultSet resultSet,
String[] resultSetColumnNames)
Row オブジェクトに JDBC ResultSetの内容を設定します。 |
|
void |
Table.sortRows()
前回と同じソート順序で、ソートをやり直します。 |
|
void |
Table.sortRows(Table.SortKey... sortKey)
引数 sortKeyで指定された順序で行データを並び替えます。 |
|
E |
Table.startEditing()
カーソル行のエンティティオブジェクトを編集・更新可能な状態にします。 |
|
void |
Table.startEditing(E entity)
指定されたエンティティオブジェクトを編集・更新可能な状態にします。 |
|
void |
EntityList.startEditing(E entity)
entityの編集を開始します. |
|
void |
Table.validate()
カーソルのエンティティオブジェクトをチェックし、問題がなければ値を受け入れます. |
|
void |
Row.validate()
行オブジェクトに設定された全てのデータ値(1行分)の検証を行い、設定内容を確定します。 |
|
void |
Params.validate()
パラメータオブジェクトに設定された全てのデータ値の検証を行います。 |
|
void |
Table.validate(E entity)
内容が編集・更新されたエンティティオブジェクトをチェックし、問題がなければ値を受け入れます. |
|
void |
EntityList.validate(E entity)
entityの編集内容を検証します. |
|
void |
Table.validateAllRows()
テーブルオブジェクトに含まれる全ての行を検証し、編集内容を確定します。 |
jp.littlesoft.data.exception での DataException の使用 |
---|
jp.littlesoft.data.exception での DataException のサブクラス | |
---|---|
class |
InvalidColumnException
カラムに関連する例外. |
class |
InvalidValueException
データ検証例外。 |
jp.littlesoft.data.text での DataException の使用 |
---|
DataException をスローする jp.littlesoft.data.text のメソッド | |
---|---|
boolean |
TextTable.checkMoreRow(boolean toLast)
追加行が存在するかどうかを調べます. |
protected void |
TextTable.doLoadData()
|
protected void |
TextTable.internalOnActivate()
アクティブ時の内部設定. |
jp.littlesoft.soja での DataException の使用 |
---|
DataException をスローする jp.littlesoft.soja のメソッド | ||
---|---|---|
boolean |
LSJsonConnection.Provider.checkMoreRow(Table<?> table,
boolean toLast)
|
|
void |
LSJsonConnection.Provider.close()
|
|
void |
LSJsonConnection.Resolver.close()
|
|
void |
LSJsonConnection.Resolver.execute(Table<?> dataTable)
|
|
void |
LSJsonConnection.Provider.free()
|
|
|
LSJsonConnection.Provider.internalLoadData(Table<T> table)
|
|
void |
LSJsonConnection.Provider.loadData(Table table)
|
|
void |
LSJsonConnection.Provider.setConnection(Connection conn)
|
|
void |
LSJsonConnection.Resolver.setConnection(Connection conn)
|
|
void |
LSJsonConnection.Resolver.setKeyColumns(String[] newResolveKeyColumns)
|
|
void |
LSJsonConnection.Provider.setPageSQL(String sql,
int i,
int showRows)
|
|
void |
LSJsonConnection.Provider.setSQL(String sql)
|
|
void |
LSJsonConnection.Resolver.setTargetDBCatalog(String targetDBCatalog)
|
|
void |
LSJsonConnection.Resolver.setTargetDBSchema(String targetDBSchema)
|
|
void |
LSJsonConnection.Resolver.setTargetDBTable(String targetDBTable)
|
|
|
LSJsonConnection.Provider.setupColumn(Table<?> table)
|
jp.littlesoft.sql での DataException の使用 |
---|
DataException をスローする jp.littlesoft.sql のメソッド | ||
---|---|---|
void |
SQLTreeModel.activate(Connection conn)
|
|
void |
SQLTableSequentialReadOnly.activate(Connection conn)
JDBCコネクションを設定すると同時にテーブルを活性化します。 |
|
SchemaUpdator |
SchemaUpdator.addForeginKeys(Class<?>... types)
typesで指定したエンティティクラスに対応するデータベーステーブルの外部キーを追加します. |
|
SchemaUpdator |
SchemaUpdator.addPrimaryKeys(Class<?>... types)
typesで指定したエンティティクラスに対応するデータベーステーブルに主キーを追加します. |
|
void |
SQLAdaptor.bindParamValues(CallableStatement cstmt,
Params<?> params)
CallableStatement内のパラメータにDataMapのパラメータの値を割り当てます。 |
|
void |
SQLAdaptor.bindParamValues(PreparedStatement pstmt,
Params<?> params)
PreparedStatement内のパラメータにParamsのパラメータの値を割り当てます。 |
|
void |
SQLAdaptor.bindResultValues(CallableStatement cstmt,
Params<?> params)
クエリー実行後のCallableStatementのout、inoutパラメータの値をParamsのパラメータに設定します。 |
|
void |
SQLDataProviderImpl.cancelQuery()
実行中のJDBCStatementを中断します。 |
|
void |
JDBCTableMetaData.checkDifference(ITableDef.MetaData<?> newMetaData,
List<String> alterSQLs)
|
|
boolean |
SQLDataProviderImpl.checkMoreRow(Table table,
boolean toLast)
追加行が存在するかどうかを調べます。 |
|
void |
ISQLDataResolver.close()
|
|
void |
ISQLDataProvider.close()
|
|
SchemaUpdator |
SchemaUpdator.createIndexes(Class<?>... types)
typesで指定したエンティティクラスに対応するデータベーステーブルのインデクスをCREATEします. |
|
SchemaUpdator |
SchemaUpdator.createOrAlterTable(Class<?>... types)
typesで指定したエンティティクラスに対応するデータベーステーブルが存在しない場合CREATEし、既に存在する場合、変更箇所を検出し、ALTER文を生成・適用します. |
|
SchemaUpdator |
SchemaUpdator.createOrReplaceTable(Class<?>... types)
|
|
void |
SQL.Select.createRemoteSnapshot(Connection conn)
|
|
SchemaUpdator |
SchemaUpdator.createTable(Class<?>... types)
typesで指定したエンティティクラスに対応するデータベーステーブルをCREATEします. |
|
SchemaUpdator |
SchemaUpdator.dropForeginKeys(Class<?>... types)
typesで指定したエンティティクラスに対応するデータベーステーブルの外部キーをドロップします. |
|
SchemaUpdator |
SchemaUpdator.dropIndexes(Class<?>... types)
typesで指定したエンティティクラスに対応するデータベーステーブルのインデクスをドロップします. |
|
SchemaUpdator |
SchemaUpdator.dropPrimaryKeys(Class<?>... types)
typesで指定したエンティティクラスに対応するデータベーステーブルの主キーをドロップします. |
|
void |
SQL.Select.dropRemoteSnapshot(Connection conn)
|
|
SchemaUpdator |
SchemaUpdator.dropTables(Class<?>... types)
typesで指定したエンティティクラスに対応するデータベーステーブルをドロップします. |
|
List<T> |
SQL.execute(Connection conn)
SELECTを実行し、結果リストを返します. |
|
|
SQL.Select.execute(Connection conn)
SELECTを実行し、結果リストを返します. |
|
int |
SQL.execute(Connection conn,
boolean pendingCommit,
boolean reuseStatement)
SELECT以外のSQLを実行します. |
|
void |
SQLDataResolverImpl.execute(Table<?> table)
テーブルオブジェクトの変更内容をもとにデータベーステーブルの更新・追加・削除を行います。 |
|
void |
SQLDataResolverImpl.execute(Table<?> table,
boolean pendingCommit)
テーブルオブジェクトの変更内容をもとにデータベーステーブルの更新・追加・削除を行います。 |
|
|
SQLDataResolverImpl.execute(Table<E> table,
boolean pendingCommit,
ResolvingEvent.Type resolveType)
テーブルオブジェクトの変更内容をもとにデータベーステーブルの更新・追加・削除を行います。 |
|
int |
UpdateSQL.executeUpdate(boolean pendingCommit,
boolean reuseStatement)
SQL文を実行します。 |
|
boolean |
SQLTableSequentialReadOnly.first()
|
|
void |
SQLDataProviderImpl.free()
内部リソースを解放します。 |
|
Table<T> |
SQL.getActiveTable(Connection conn)
SELECTを実行し、テーブルオブジェクトを返します. |
|
List<String> |
SQLAdaptor.getPrimaryKeyColumns(String catalog,
String schema,
String tableName)
指定されたテーブルの主キー列を取得します。 |
|
ISQLDataProvider |
SQL.getProvider(Connection conn)
コネクションをもとに適切なデータプロバイダーのインスタンスを生成する. |
|
ISQLDataResolver |
SQL.getResolver(Connection conn)
コネクションをもとに適切なデータリゾルバーのインスタンスを生成する. |
|
Row<E> |
SQLTableSequentialReadOnly.getRow()
|
|
protected IndexedMap<String,Column> |
SQLDataResolverImpl.getUpdateTableColumns(DatabaseMetaData metaData,
String catalog,
String schema,
String tableName,
boolean isSearchMetaDataWithinSchema,
boolean isSearchMetaDataByUpperCase,
boolean isSearchMetaDataByLowerCase)
更新テーブルのColumnsを作成します。 |
|
void |
StoredProcDataProvider.loadData(Table table)
データのロードを行います。 |
|
void |
SQLDataSequentialProvider.loadData(Table table)
|
|
void |
SQLDataProviderImpl.loadData(Table table)
データのロードを行います。 |
|
Row |
SQLDataSequentialProvider.loadDataSeq(Table table,
boolean isFirst)
|
|
boolean |
SQLTableSequentialReadOnly.next()
|
|
CallableStatement |
SQLAdaptor.prepareCall(String sqlText)
データベースのストアドプロシージャを呼び出すためのjava.sql.CallableStatementオブジェクトを生成します。 |
|
PreparedStatement |
SQLAdaptor.preparedStatement(String sqlText)
パラメータ付きSQL文をデータベースに送るためのjava.sql.PreparedStatementオブジェクトを生成します。 |
|
void |
SQLTreeModel.resolveChanges(Connection conn)
|
|
void |
SQL.selectCopyToTable(Connection selectConn,
WebSQLTable<?> targetTable,
Connection insertConn)
SELECTを実行し、結果リストを指定したTableへ格納します。 |
|
void |
UpdateSQL.setConnection(Connection conn)
JDBCのコネクションを設定します。 |
|
void |
SQLTableSequentialReadOnly.setConnection(Connection conn)
JDBCコネクションを設定します。 |
|
void |
ISQLDataResolver.setConnection(Connection conn)
|
|
void |
ISQLDataProvider.setConnection(Connection conn)
|
|
void |
SQLDataResolverImpl.setKeyColumns(String[] keyColumns)
データベース更新対象行を識別するカラム名配列を設定します。 |
|
void |
ISQLDataResolver.setKeyColumns(String[] newResolveKeyColumns)
|
|
void |
SQLDataProviderImpl.setPageSQL(String newPageSQL,
int offset,
int limit)
ページ取得の際のSQL問い合わせ文を設定します。 |
|
void |
ISQLDataProvider.setPageSQL(String sql,
int i,
int showRows)
|
|
void |
SQLDataProviderImpl.setPageSQL(String newPageSQL,
int offset,
int limit,
boolean parseParam)
ページ取得の際のSQL問い合わせ文を設定します。 |
|
void |
UpdateSQL.setSQL(String newSQL)
実行するSQL文を設定します。 |
|
void |
SQLTableSequentialReadOnly.setSQL(String selectSQL)
WebSQLTable オブジェクトを活性化する際に実行されるSELECT文を設定します。 |
|
void |
SQLDataProviderImpl.setSQL(String newSQL)
このTableの基となるSQL問い合わせ文を設定します。 |
|
void |
ISQLDataProvider.setSQL(String SQL)
|
|
void |
SQLDataProviderImpl.setSQL(String newSQL,
boolean parseParam)
このSQLTableの元となるSQL問い合わせ文を設定します。 |
|
void |
SQLDataResolverImpl.setTargetDBCatalog(String targetDBCatalog)
更新対象データベーステーブルが存在するカタログ名を設定します。 |
|
void |
ISQLDataResolver.setTargetDBCatalog(String targetDBCatalog)
|
|
void |
SQLDataResolverImpl.setTargetDBSchema(String targetDBSchema)
更新対象データベーステーブルが存在するスキーマ名を設定します。 |
|
void |
ISQLDataResolver.setTargetDBSchema(String targetDBSchema)
|
|
void |
SQLDataResolverImpl.setTargetDBTable(String targetDBTable)
更新対象とするデータベーステーブル名を設定します。 |
|
void |
ISQLDataResolver.setTargetDBTable(String targetDBTable)
|
|
|
StoredProcDataProvider.setupColumn(Table<?> table)
カラムのセットアップを行います。 |
|
|
SQLDataProviderImpl.setupColumn(Table<?> table)
カラムのセットアップを行います。 |
DataException をスローする jp.littlesoft.sql のコンストラクタ | |
---|---|
UpdateSQL(Connection conn)
JDBCのコネクションを再設定します。 |
jp.littlesoft.sql.exception での DataException の使用 |
---|
jp.littlesoft.sql.exception での DataException のサブクラス | |
---|---|
class |
LSSQLException
java.sql.SQLExceptionをラップした例外クラス。 |
jp.littlesoft.util での DataException の使用 |
---|
DataException をスローする jp.littlesoft.util のメソッド | |
---|---|
static void |
DataUtil.checkDate(int year,
int month,
int date)
年月日が正しいかどうかを調べます。 |
void |
DataUtil.XWareki.checkWareki(String gengo,
int year,
int month,
int date)
和暦が正しい日付かどうかをチェックします。 |
String |
DataUtil.XWareki.format(Date date,
String formatPattern)
java.util.Dateオブジェクトを和暦フォーマットパターンに従って文字列に変換します。 |
jp.littlesoft.util.res での DataException の使用 |
---|
DataException をスローする jp.littlesoft.util.res のメソッド | |
---|---|
String |
ResourceString.getValue()
JVMのロケールを適用して、リソースの値を取得します。 |
String |
ResourceString.getValue(Locale locale)
リソースの値を取得します。 |
static String |
ResourceString.getValue(String resourceClassName,
String resourceFieldName,
Locale locale)
リソースクラス名とフィールド名とロケールを指定して、リソースの値を取得します。 |
static String |
ResourceString.getValue(String resourceClassName,
String resourceFieldName,
Locale locale,
ClassLoader loader)
リソースの値を取得します。 |
jp.littlesoft.web での DataException の使用 |
---|
DataException をスローする jp.littlesoft.web のメソッド | |
---|---|
protected void |
DefaultDialog.acceptCleintData()
ダイアログの呼び出しもとからデータを取得します. |
void |
WebSQLTable.activate(Connection conn)
JDBCコネクションを設定すると同時にテーブルを活性化します。 |
Row<E> |
WebSQLTable.appendRow()
SQLテーブル最後に新規行を追加します。 |
Row<E> |
WebDataTable.appendRow()
|
void |
WebDataTable.applyFilter()
|
void |
WebDataTable.cancelUpdates(boolean initial)
checkRequest() メソッドで発生したエラーを解除します。 |
void |
WebSQLTable.deleteRow()
現在行を削除します。 |
void |
WebDataTable.deleteRow()
|
void |
WebSQLTable.emptyActivate(Connection conn)
|
String |
WebDataTable.getEscapeString(int colIndex)
引数 colIndex で指定された列値をエスケープされた文字列として取得します。 |
String |
WebDataTable.getEscapeString(int row,
int col)
引数 row、col で指定された列値をエスケープされた文字列として取得します。 |
String |
WebDataTable.getEscapeString(String columnName)
引数 columnName で指定された列値をエスケープされた文字列として取得します。 |
Row<E> |
WebSQLTable.getRow(int rowIndex)
|
Row<E> |
WebSQLTable.insertRow(int index)
SQLテーブルに新規行を追加します。 |
Row<E> |
WebDataTable.insertRow(int index)
|
void |
WebSQLTable.pageFirst(Connection conn)
先頭ページの内容をデータベースより取得し、テーブルオブジェクトに格納します。 |
void |
WebSQLTable.pageLast(Connection conn)
最終ページの内容をデータベースより取得し、テーブルオブジェクトに格納します。 |
void |
WebSQLTable.pageMoveTo(int page,
Connection conn)
引数で指定されたページの内容をデータベースより取得し、テーブルオブジェクトに格納します。 |
void |
WebSQLTable.pageNext(Connection conn)
次ページの内容をデータベースより取得し、テーブルオブジェクトに格納します。 |
void |
WebSQLTable.pagePrevious(Connection conn)
前ページの内容をデータベースより取得し、テーブルオブジェクトに格納します。 |
void |
WebSQLTable.resolveChanges()
WebSQLTable オブジェクトに対して行われた編集結果をもとに、データベーステーブルの内容を書き換えます。 |
void |
WebSQLTable.resolveChanges(Connection conn)
WebSQLTable オブジェクトに対して行われた編集結果をもとに、データベーステーブルの内容を書き換えます。 |
protected void |
WebDataTable.setActive(boolean b)
|
void |
WebSQLTable.setConnection(Connection conn)
JDBCコネクションを設定します。 |
protected void |
DefaultDialog.setDataTable(WebDataTable<E> dataTable)
|
void |
WebDataTable.setPageDivReserve(boolean usePageDivReserve)
ページの分割取得を使用するか否かを設定します。 |
void |
WebSQLTable.setResolveKeyColumns(String[] newResolveKeyColumns)
データベーステーブルの更新対象行を検索するキーとなる列を設定します。 |
void |
WebSQLTable.setResolveTargetDBCatalog(String targetDBCatalog)
更新対象データベーステーブルのカタログ名を設定します。 |
void |
WebSQLTable.setResolveTargetDBSchema(String targetDBSchema)
更新対象データベーステーブルのスキーマ名を設定します。 |
void |
WebSQLTable.setResolveTargetDBTable(String targetDBTable)
更新対象データベーステーブル名を設定します。 |
void |
WebSQLTable.setSQL(String selectSQL)
WebSQLTable オブジェクトを活性化する際に実行されるSELECT文を設定します。 |
void |
WebSQLTable.setSQLDelete(String sqlDelete)
resolveChange() メソッド使用するDELETE文を設定します。 |
void |
WebSQLTable.setSQLInsert(String sqlInsert)
resolveChange() メソッド使用するINSERT文を設定します。 |
void |
WebSQLTable.setSQLUpdate(String sqlUpdate)
resolveChange() メソッド使用するUPDATE文を設定します。 |
WebDataTable.PageRow<String,String> |
WebDataTable.toPageRow(WebDataTable.PageContext ctx,
int row)
引数 row で指定された行オブジェクトを PageRow オブジェクトに変換します。 |
String |
WebDataTable.toRequestParameterName(int row,
String colName)
引数 row、colName で指定された項目のリクエストパラメータ名を取得します。 |
String |
WebDataTable.toRequestParameterName(String colName)
引数 colName で指定された項目のリクエストパラメータ名を取得します。 |
protected void |
DefaultDialog.updateCleintData()
|
void |
WebDataTable.validateAllRows()
|
|
||||||||||
前 次 | フレームあり フレームなし |