openGionopenGion
5.0.2.0

org.opengion.hayabusa.mail
クラス MailManager_DIRECT

java.lang.Object
  上位を拡張 org.opengion.hayabusa.mail.AbstractMailManager
      上位を拡張 org.opengion.hayabusa.mail.MailManager_DIRECT

public class MailManager_DIRECT
extends AbstractMailManager


フィールドの概要
 
クラス org.opengion.hayabusa.mail.AbstractMailManager から継承されたフィールド
appInfo, FGJ_ACNT_ERR, FGJ_ADDR_ERR, FGJ_SEND_OVER, FGJ_SEND_WAIT
 
コンストラクタの概要
MailManager_DIRECT()
           
 
メソッドの概要
 void create(java.util.Map<java.lang.String,java.lang.String> params, DBTableModel table)
          action="SEND"の時にこのメソッドが呼ばれます。
 DBTableModel makeDstTable()
          画面に各宛先の送信状況を表示するために、送信の宛先マップに基づいてテーブルモデルを作成します。
 void setResourceManager(ResourceManager res)
          リソースマネージャーをセットします。
protected  void setTableDBColumn(DBTableModel table, java.lang.String[] names)
          DBColumn オブジェクトをテーブルモデルに設定します。
 
クラス org.opengion.hayabusa.mail.AbstractMailManager から継承されたメソッド
commitMailDB, create, getContent, getErrList, getFromAddr, getMailDstMap, getTitle, send, setAttachFiles, setContent, setDebug, setFromAddr, setInitParams, setMailDstMap, setTitle, trim
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

MailManager_DIRECT

public MailManager_DIRECT()
メソッドの詳細

create

public void create(java.util.Map<java.lang.String,java.lang.String> params,
                   DBTableModel table)
action="SEND"の時にこのメソッドが呼ばれます。 セッションから取得した宛先テーブルにより宛先マップを作成します。 まだ、action="CHECK"の時に、確認画面から添付ファイルを追加するケースがあるため、 パラメータを再読込を行います。そして、action="SEND"の時に添付ファイルを送信します。

パラメータ:
table - DBTableModel

makeDstTable

public DBTableModel makeDstTable()
画面に各宛先の送信状況を表示するために、送信の宛先マップに基づいてテーブルモデルを作成します。 作成されたテーブルモデルを指定されるスコープに入れます。

戻り値:
table DBTableModel

setResourceManager

public void setResourceManager(ResourceManager res)
リソースマネージャーをセットします。 これは、言語(ロケール)に応じた DBColumn をあらかじめ設定しておく為に 必要です。 リソースマネージャーが設定されていない、または、所定のキーの DBColumn が リソースに存在しない場合は、内部で DBColumn オブジェクトを作成します。

パラメータ:
res - リソースマネージャー

setTableDBColumn

protected void setTableDBColumn(DBTableModel table,
                                java.lang.String[] names)
DBColumn オブジェクトをテーブルモデルに設定します。

パラメータ:
names - String[]

openGion 5.0.2.0

Webアプリケーションフレームワーク openGion
SourceForge.JPCopyright (c) 2009 The openGion Project.