org.unitedfront2.web.controller.account
クラス MailAddrChangeAction

java.lang.Object
  上位を拡張 org.springframework.webflow.action.AbstractAction
      上位を拡張 org.springframework.webflow.action.MultiAction
          上位を拡張 org.springframework.webflow.action.FormAction
              上位を拡張 org.unitedfront2.web.controller.FormAction
                  上位を拡張 org.unitedfront2.web.controller.account.MailAddrChangeAction
すべての実装されたインタフェース:
InitializingBean, ServletContextAware, Action

@Repository(value="account.mailAddrChangeAction")
public class MailAddrChangeAction
extends FormAction

パスワード変更のアクションクラスです。

作成者:
kurokkie

入れ子のクラスの概要
 
クラス org.springframework.webflow.action.MultiAction から継承された入れ子のクラス/インタフェース
MultiAction.MethodResolver
 
フィールドの概要
static String MAIL_ADDR_CHANGE_MAIL_TEMPLATE_NAME
          メールテンプレート名 (account.MailAddrChange-mail)
static int PASSWORD_MAX_LENGTH
          発行するパスワードの最大文字列長 (8)
static int PASSWORD_MIN_LENGTH
          発行するパスワードの最小文字列長 (4)
 
クラス org.unitedfront2.web.controller.FormAction から継承されたフィールド
domainFactory, LOCAL_CONFIGURATION_BEAN_NAME, SEND_MAIL_PARAM_NAME, SYSYSTEM_MAIL_ADDR_PARAM_NAME, SYSYSTEM_URL_PARAM_NAME, VALIDATOR_PARAM_NAME
 
クラス org.springframework.webflow.action.FormAction から継承されたフィールド
DEFAULT_FORM_OBJECT_NAME, VALIDATOR_METHOD_ATTRIBUTE
 
クラス org.springframework.webflow.action.AbstractAction から継承されたフィールド
logger
 
コンストラクタの概要
MailAddrChangeAction()
           
 
メソッドの概要
 Event changeMailAddr(RequestContext context)
          メールアドレスの変更を行います。
 Event changeMailAddrAndReissuePassword(RequestContext context)
          メールアドレスの変更とパスワードの再発行を行います。
protected  void initAction()
          ドメインファクトリが設定されていてプロパティ変数 formObjectClass に値が設定さ れていない場合、formObjectClass にはドメインファクトリで生成されるクラスが設定 されます。
 void setValidator(Validator validator)
           
 
クラス org.unitedfront2.web.controller.FormAction から継承されたメソッド
bindAndValidate, createBinder, createFormObject, doSendMail, doSendMail, getBindingErrors, getBindingErrors, getDomainFactory, getFormObject, init, isSendMail, putFormObject, sendMail, setMailTemplateName, setMailTemplateNames, setMailTemplateNames, setServletContext, setupForm
 
クラス org.springframework.webflow.action.FormAction から継承されたメソッド
bind, createBinder, doBind, doValidate, getFormErrors, getFormErrorsScope, getFormObjectAccessor, getFormObjectClass, getFormObjectName, getFormObjectScope, getMessageCodesResolver, getPropertyEditorRegistrar, getValidateMethodInvoker, getValidator, initBinder, registerPropertyEditors, registerPropertyEditors, resetForm, setFormErrorsScope, setFormObjectClass, setFormObjectName, setFormObjectScope, setMessageCodesResolver, setPropertyEditorRegistrar, validate, validationEnabled
 
クラス org.springframework.webflow.action.MultiAction から継承されたメソッド
doExecute, getMethodResolver, setMethodResolver, setTarget
 
クラス org.springframework.webflow.action.AbstractAction から継承されたメソッド
afterPropertiesSet, doPostExecute, doPreExecute, error, error, execute, getActionNameForLogging, getEventFactorySupport, no, result, result, result, result, success, success, yes
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース org.springframework.beans.factory.InitializingBean から継承されたメソッド
afterPropertiesSet
 

フィールドの詳細

PASSWORD_MIN_LENGTH

public static final int PASSWORD_MIN_LENGTH
発行するパスワードの最小文字列長 (4)

関連項目:
定数フィールド値

PASSWORD_MAX_LENGTH

public static final int PASSWORD_MAX_LENGTH
発行するパスワードの最大文字列長 (8)

関連項目:
定数フィールド値

MAIL_ADDR_CHANGE_MAIL_TEMPLATE_NAME

public static final String MAIL_ADDR_CHANGE_MAIL_TEMPLATE_NAME
メールテンプレート名 (account.MailAddrChange-mail)

関連項目:
定数フィールド値
コンストラクタの詳細

MailAddrChangeAction

public MailAddrChangeAction()
メソッドの詳細

initAction

protected void initAction()
クラス FormAction の記述:
ドメインファクトリが設定されていてプロパティ変数 formObjectClass に値が設定さ れていない場合、formObjectClass にはドメインファクトリで生成されるクラスが設定 されます。メール送信テンプレートの生成はこのメソッドで行われます。

オーバーライド:
クラス FormAction 内の initAction

changeMailAddrAndReissuePassword

public Event changeMailAddrAndReissuePassword(RequestContext context)
                                       throws MailAddrUsedByOtherException
メールアドレスの変更とパスワードの再発行を行います。

パラメータ:
context - リクエストコンテキスト
戻り値:
イベント
例外:
MailAddrUsedByOtherException - メールアドレスが既に使われている

changeMailAddr

public Event changeMailAddr(RequestContext context)
                     throws MailAddrUsedByOtherException
メールアドレスの変更を行います。

パラメータ:
context - リクエストコンテキスト
戻り値:
イベント
例外:
MailAddrUsedByOtherException - メールアドレスが既に使われている

setValidator

public void setValidator(Validator validator)
オーバーライド:
クラス FormAction 内の setValidator


Copyright © 2007-2008 www.unitedfront2.org. All Rights Reserved.