public abstract class AbstractModelEventTableItemActionImpl extends java.lang.Object implements ModelEventTableItemAction
修飾子とタイプ | フィールドと説明 |
---|---|
protected CommonService |
commonService
サービス呼び出しアダプタ
|
protected ModelEventErrorPolicy |
errorPolicy
エラー発生時の処理ポリシー
|
protected java.util.List |
errorServiceInfoList
エラーハンドラとなるサービスのリスト
|
protected Resource |
resource
カーネルリソース
|
protected SessionFactory |
sessionFactory
ServiceSessionファクトリ
|
修飾子 | コンストラクタと説明 |
---|---|
protected |
AbstractModelEventTableItemActionImpl(Resource resource,
ModelEventErrorPolicy errorPolicy,
java.util.List errorHandlerList)
コンストラクタ
|
修飾子とタイプ | メソッドと説明 |
---|---|
ModelEventContext |
doAction(ModelEvent event,
ModelEventContext context)
処理を実行する
|
protected abstract ModelEventContext |
doActionLocal(ModelEvent event,
ModelEventContext context)
派生クラスで実装してください。
|
protected CommonService |
getCommonService()
サービス呼び出しのアダプタを返す
|
protected ModelEventErrorPolicy |
getErrorPolicy()
エラー処理ポリシーを返す
|
protected java.util.List |
getErrorServiceInfoList()
エラーハンドラとして指定されているサービスの情報リストを返す
|
protected Resource |
getResource()
カーネルリソースを取得する
|
protected SessionFactory |
getSessionFactory()
Sessionファクトリを返す
|
protected Session |
initServiecSession(Session session,
ModelEvent modelEvent)
ServiceSessionを初期化する
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getActionType
protected Resource resource
protected CommonService commonService
protected SessionFactory sessionFactory
protected ModelEventErrorPolicy errorPolicy
protected java.util.List errorServiceInfoList
protected AbstractModelEventTableItemActionImpl(Resource resource, ModelEventErrorPolicy errorPolicy, java.util.List errorHandlerList)
resource
- カーネルリソースerrorPolicy
- エラー処理ポリシーerrorHandlerList
- エラーハンドラサービス情報リストpublic ModelEventContext doAction(ModelEvent event, ModelEventContext context) throws ModelEventException
doAction
インタフェース内 ModelEventTableItemAction
event
- モデルイベントcontext
- 実行前セッションModelEventException
- イベント処理実行でエラー発生protected abstract ModelEventContext doActionLocal(ModelEvent event, ModelEventContext context) throws ModelEventException
event
- モデルイベントcontext
- 実行コンテキストModelEventException
- イベント処理実行でエラー発生protected Session initServiecSession(Session session, ModelEvent modelEvent)
session
- 初期化対象のサービスセッションmodelEvent
- モデルイベントprotected Resource getResource()
protected CommonService getCommonService()
protected SessionFactory getSessionFactory()
protected ModelEventErrorPolicy getErrorPolicy()
protected java.util.List getErrorServiceInfoList()