com.hamaf.hikyaku.security.access
クラス UserAccess

java.lang.Object
  上位を拡張 com.hamaf.hikyaku.access.AccessBase
      上位を拡張 com.hamaf.hikyaku.access.DefaultTableAccess
          上位を拡張 com.hamaf.hikyaku.security.access.UserAccess

public class UserAccess
extends DefaultTableAccess

タイトル:UserAccess.

説明:ユーザーマスタのアクセスクラス


著作権: Copyright (c) 2010/03/15

バージョン:
1.0
作成者:
y-hamanaka

入れ子のクラスの概要
static class UserAccess.PWD_FLG
           
static class UserAccess.USER_TYPE
           
 
フィールドの概要
 
クラス com.hamaf.hikyaku.access.DefaultTableAccess から継承されたフィールド
connectionParameter, tableName
 
クラス com.hamaf.hikyaku.access.AccessBase から継承されたフィールド
_conn, _DbConnect, _stmt
 
コンストラクタの概要
UserAccess()
          Creates a new UserAccess.java instance.
 
メソッドの概要
 void delete(DetailItemsInterface dii)
          Describe delete method : delete TABLE items by PrimaryKey.
 void deleteNoExclusion(DetailItemsInterface dii)
          Describe deleteNoExclusion method : delete TABLE items by PrimaryKey.
 RetrieveKeysInterface find(RetrieveKeysInterface rki)
          Describe find method : get primaryKey List.
 DetailItemsInterface findByPrimaryKey(DetailItemsInterface dii)
          Describe findByPrimaryKey method : get record by primaryKey.
 void regist(DetailItemsInterface dii)
          Describe regist method : insert TABLE.
 void update(DetailItemsInterface dii)
          Describe update method : update TABLE items by PrimaryKey.
 void updateNoExclusion(DetailItemsInterface dii)
          Describe updateNoExclusion method : update TABLE items by PrimaryKey.
 
クラス com.hamaf.hikyaku.access.DefaultTableAccess から継承されたメソッド
setConnectionParameter, setDebug, setTableName
 
クラス com.hamaf.hikyaku.access.AccessBase から継承されたメソッド
closeStatement, destroy, exclusion, getPkeys, getProductName, getStatement, setConnection
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

UserAccess

public UserAccess()
Creates a new UserAccess.java instance.
Default Constructor

メソッドの詳細

find

public RetrieveKeysInterface find(RetrieveKeysInterface rki)
                           throws java.sql.SQLException
クラス DefaultTableAccess の記述:
Describe find method : get primaryKey List.
検索条件にしたがってプライマリーキーを設定して戻す。
キー項目はListに設定されます。

オーバーライド:
クラス DefaultTableAccess 内の find
パラメータ:
rki - a RetrieveKeysInterface
戻り値:
a RetrieveKeysInterface
例外:
java.sql.SQLException

findByPrimaryKey

public DetailItemsInterface findByPrimaryKey(DetailItemsInterface dii)
                                      throws java.sql.SQLException
クラス DefaultTableAccess の記述:
Describe findByPrimaryKey method : get record by primaryKey.
指定されたプライマリキー値のレコードデータを取得する。
データオブジェクトの使用において排他制御用の処理 (getSelectStringWithExclusion,setExclusion)を利用する。

オーバーライド:
クラス DefaultTableAccess 内の findByPrimaryKey
戻り値:
a DetailItemsInterface
例外:
java.sql.SQLException

regist

public void regist(DetailItemsInterface dii)
            throws java.sql.SQLException
クラス DefaultTableAccess の記述:
Describe regist method : insert TABLE.
データを登録する。
データオブジェクトの使用において排他制御用の処理 (getInsertItemWithExclusion,getInsertValueWithExclusion)を利用する。

オーバーライド:
クラス DefaultTableAccess 内の regist
パラメータ:
dii - a DetailItemsInterface
例外:
java.sql.SQLException

update

public void update(DetailItemsInterface dii)
            throws ExclusionException,
                   java.sql.SQLException
クラス DefaultTableAccess の記述:
Describe update method : update TABLE items by PrimaryKey.
プライマリキーでTABLEを更新する。
更新前に排他チェックを行う。
データオブジェクトの使用において排他制御用の処理 (getUpdateStringWithExclusion)を利用する。

オーバーライド:
クラス DefaultTableAccess 内の update
パラメータ:
dii - a DetailItemsInterface
例外:
ExclusionException - : 排他エラーの場合
java.sql.SQLException

delete

public void delete(DetailItemsInterface dii)
            throws ExclusionException,
                   java.sql.SQLException
クラス DefaultTableAccess の記述:
Describe delete method : delete TABLE items by PrimaryKey.
プライマリキーでTABLEを削除する。
削除前に排他チェックを行う。

オーバーライド:
クラス DefaultTableAccess 内の delete
パラメータ:
dii - a DetailItemsInterface
例外:
ExclusionException - : 排他エラーの場合
java.sql.SQLException

deleteNoExclusion

public void deleteNoExclusion(DetailItemsInterface dii)
                       throws java.sql.SQLException
クラス DefaultTableAccess の記述:
Describe deleteNoExclusion method : delete TABLE items by PrimaryKey.
排他チェックを行なわずに、プライマリキーでTABLEを削除する。

オーバーライド:
クラス DefaultTableAccess 内の deleteNoExclusion
パラメータ:
dii - a DetailItemsInterface
例外:
java.sql.SQLException

updateNoExclusion

public void updateNoExclusion(DetailItemsInterface dii)
                       throws java.sql.SQLException
クラス DefaultTableAccess の記述:
Describe updateNoExclusion method : update TABLE items by PrimaryKey.
排他チェックを行なわずに、プライマリキーでTABLEを更新する。

オーバーライド:
クラス DefaultTableAccess 内の updateNoExclusion
パラメータ:
dii - a DetailItemsInterface
例外:
java.sql.SQLException