com.hamaf.hikyaku.security.ui
クラス GroupList

java.lang.Object
  上位を拡張 com.hamaf.hikyaku.ui.ProcessBase
      上位を拡張 com.hamaf.hikyaku.ui.ListProcessBase
          上位を拡張 com.hamaf.hikyaku.ui.StandardListProcess
              上位を拡張 com.hamaf.hikyaku.security.ui.GroupList

public class GroupList
extends StandardListProcess

タイトル:GroupList is .

説明:グループ一覧表示用クラス


著作権: Copyright (c) 2010/05/11

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

フィールドの概要
 
クラス com.hamaf.hikyaku.ui.StandardListProcess から継承されたフィールド
_chkFld, _jim, POSNM
 
クラス com.hamaf.hikyaku.ui.ListProcessBase から継承されたフィールド
_keyPos, _keys, _pageAct
 
クラス com.hamaf.hikyaku.ui.ProcessBase から継承されたフィールド
clnm, controlXml, log, msgHed, process, request, resource, response, saveObj, sconfig, session, sysId
 
コンストラクタの概要
GroupList(VGroupInfMap gim, GroupProcess gp)
          Creates a new GroupList.java instance.
 
メソッドの概要
protected  DetailItemsInterface callControl(DetailItemsInterface dii)
          Describe callControl method : コントロールクラスを呼び出す.
protected  java.lang.String[] checkDelete(DetailItemsInterface dii)
          Describe checkDelete method : 削除データのチェック.
protected  RetrieveKeysInterface findKeys(RetrieveKeysInterface rki)
          Describe findKeys method : 検索結果を取得する.
protected  DetailItemsInterface newDataObj()
          Describe newDataObj method : 詳細用DataObjectの生成.
protected  RetrieveKeysInterface setRetrieveVal(KeyList keyl)
          Describe setRetrieveVal method : 検索用DateObjectの生成、検索値の設定.
 
クラス com.hamaf.hikyaku.ui.StandardListProcess から継承されたメソッド
addItem, delCheck, editItems, getCheckFolder, getItem, getKeys, selectKeys, setGetKey, setItems, setJspMapping
 
クラス com.hamaf.hikyaku.ui.ListProcessBase から継承されたメソッド
exec, getSpare, saveSpare, spareAction, supplementEdit
 
クラス com.hamaf.hikyaku.ui.ProcessBase から継承されたメソッド
finish, getUerDto, getUserID, init, newCommonMessage, setSconfig
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

GroupList

public GroupList(VGroupInfMap gim,
                 GroupProcess gp)
Creates a new GroupList.java instance.
Default Constructor

メソッドの詳細

callControl

protected DetailItemsInterface callControl(DetailItemsInterface dii)
                                    throws java.lang.Exception
クラス StandardListProcess の記述:
Describe callControl method : コントロールクラスを呼び出す.
コントロールクラスを呼び出し、戻り値のDetaObjectを戻す。
  1. _Process_Control xcntl = new _Process_Control();
  2. return xcntl.getDetail(dii);

定義:
クラス StandardListProcess 内の callControl
パラメータ:
dii - a DetailItemsInterface :
戻り値:
a DetailItemsInterface :
例外:
java.lang.Exception - if an error occurs

checkDelete

protected java.lang.String[] checkDelete(DetailItemsInterface dii)
クラス StandardListProcess の記述:
Describe checkDelete method : 削除データのチェック.
DataObejctにデータが存在し、削除FLGがOFFかチェックする。
削除データの場合は、削除の旨を表示する項目名と表示内容のString[2]を戻します。
ex.
    if (dii.isNotFound() || dii.getCommFld(COMMFLD.DEL).equals("1")) {
      String[] ret = {"jsp項目名", super.resource.getString("DelLine")};
      return ret;
    }
    return null;
 

定義:
クラス StandardListProcess 内の checkDelete
パラメータ:
dii - a DetailItemsInterface
戻り値:
a String : メッセージを表示させる項目の名称

findKeys

protected RetrieveKeysInterface findKeys(RetrieveKeysInterface rki)
                                  throws java.lang.Exception
クラス StandardListProcess の記述:
Describe findKeys method : 検索結果を取得する.
コントロールクラスを呼び出し、戻り値のDetaObjectを戻す。
  1. _Process_Control xcntl = new _Process_Control();
  2. return xcntl.getKeys(rki);

定義:
クラス StandardListProcess 内の findKeys
パラメータ:
rki - a RetrieveKeysInterface
戻り値:
a RetrieveKeysInterface
例外:
java.lang.Exception - if an error occurs

newDataObj

protected DetailItemsInterface newDataObj()
クラス StandardListProcess の記述:
Describe newDataObj method : 詳細用DataObjectの生成.
詳細データ取得用のDataObjectを生成する。
基本的には、
return new _DetailDTO_();
となります。

定義:
クラス StandardListProcess 内の newDataObj
戻り値:
a DetailItemsInterface : DataObject

setRetrieveVal

protected RetrieveKeysInterface setRetrieveVal(KeyList keyl)
                                        throws IllegalRetrieveDataException
クラス StandardListProcess の記述:
Describe setRetrieveVal method : 検索用DateObjectの生成、検索値の設定.
検索用DetaObject (RetrieveKeysInterface rki) を生成し検索項目を設定する。
ex. RetrieveKeysInterface rki = new xxxxRetDtObj();
rki.setRetrieveValue(XXTblListDto.KEY_ITEM, keyl.getRetrieve("jsp項目名"));

検索項目設定時にエラーが発生した場合は、IllegalRetrieveDataException を生成して戻す。

 その際、エラー項目名とエラーメッセージを設定したMapを設定する。
    ex. Map<String, String> errmp = new HashMap<String, String>();
        errmp.put("jsp項目名", "エラーメッセージ");
        throws new IllegalRetrieveDataException("メッセージ", errmp);
 

定義:
クラス StandardListProcess 内の setRetrieveVal
パラメータ:
keyl - a KeyList
例外:
IllegalRetrieveDataException - if an error occurs