org.unitedfront2.web.controller.blog
クラス FormAction
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.blog.FormAction
- すべての実装されたインタフェース:
- InitializingBean, ServletContextAware, Action
@Repository(value="blog.formAction")
public class FormAction
- extends FormAction
ブログ作成/編集用のアクションクラスです。コード以外は編集できません。
- 作成者:
- kurokkie
| クラス org.unitedfront2.web.controller.FormAction から継承されたメソッド |
bindAndValidate, createBinder, createFormObject, doSendMail, doSendMail, getBindingErrors, getBindingErrors, getDomainFactory, getFormObject, isSendMail, putFormObject, sendMail, setMailTemplateName, setMailTemplateNames, setMailTemplateNames, setServletContext |
| クラス org.springframework.webflow.action.FormAction から継承されたメソッド |
bind, createBinder, doBind, doValidate, getFormErrors, getFormErrorsScope, getFormObjectAccessor, getFormObjectClass, getFormObjectName, getFormObjectScope, getMessageCodesResolver, getPropertyEditorRegistrar, getValidateMethodInvoker, getValidator, registerPropertyEditors, registerPropertyEditors, resetForm, setFormErrorsScope, setFormObjectClass, setFormObjectName, setFormObjectScope, setMessageCodesResolver, setPropertyEditorRegistrar, validate, validationEnabled |
| クラス 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 |
BLOG_PARAM_NAME
public static final String BLOG_PARAM_NAME
- フロースコープに設定するブログオブジェクトの変数名 (blog)
- 関連項目:
- 定数フィールド値
LAST_SUBMIT_CODE_PARAM_NAME
public static final String LAST_SUBMIT_CODE_PARAM_NAME
- 画面遷移の最後の画面のボタン名のメッセージコードの変数名 (lastSubmitCode)
- 関連項目:
- 定数フィールド値
FormAction
public FormAction()
initAction
protected void initAction()
- クラス
FormAction の記述:
- ドメインファクトリが設定されていてプロパティ変数
formObjectClass に値が設定さ
れていない場合、formObjectClass にはドメインファクトリで生成されるクラスが設定
されます。メール送信テンプレートの生成はこのメソッドで行われます。
- オーバーライド:
- クラス
FormAction 内の initAction
initBinder
protected void initBinder(RequestContext context,
DataBinder binder)
- オーバーライド:
- クラス
FormAction 内の initBinder
init
public Event init(RequestContext context)
- 初期処理を行います。
- オーバーライド:
- クラス
FormAction 内の init
- パラメータ:
context - RequestContext
- 戻り値:
- 成功イベント
setupForm
public Event setupForm(RequestContext context)
throws Exception
- クラス
FormAction の記述:
FormAction.setupForm(
RequestContext) を呼び出した後、検証クラスを設定します。このメソッドはフォームを表示する度に呼
び出されます。初回アクセス時はもちろん、検証エラーによって戻ってきた際にも呼び出されます。
- オーバーライド:
- クラス
FormAction 内の setupForm
- パラメータ:
context - RequestContext
- 戻り値:
Event
- 例外:
Exception - Exception- 関連項目:
SpringValidator
store
public Event store(RequestContext context)
throws BlogCodeUsedByOtherException
- ブログを保存します。
- パラメータ:
context - RequestContext
- 戻り値:
- 成功イベント
- 例外:
BlogCodeUsedByOtherException - ブログのコードが既に使用されている
setValidator
public void setValidator(Validator validator)
- オーバーライド:
- クラス
FormAction 内の setValidator
Copyright © 2007-2008 www.unitedfront2.org. All Rights Reserved.