prepareaction.java

来自「webwork source」· Java 代码 · 共 38 行

JAVA
38
字号
/* * WebWork, Web Application Framework * * Distributable under Apache license. * See terms of license at opensource.org */package webwork.action;/** *	An Action wanting to prepare its state before receiving parameters * should implement this interface. * * A common use is to get current state from a database, which then * is overwritten partially by input parameters. The new state,  * including the old that was not overwritten, may then be sent * back to the database *       *	@see Action *	@author Rickard 謆erg (rickard@middleware-company.com) *	@version $Revision: 1.6 $ */public interface PrepareAction{   // Public --------------------------------------------------------	/**	 * This method is called to allow the action to prepare itself    * before receiving parameters through its set-methods.    *    * All *Aware interfaces are checked before this, so the action can rely on    * addition information to have been sent through the callbacks     * (e.g. the application session, or user session)	 *	 * @exception   Exception  thrown if a system level exception occurs.	 */   public void prepare()      throws Exception;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?