com.easyjf.web.tools
Class AbstractCmdAction

java.lang.Object
  extended bycom.easyjf.web.tools.AbstractCmdAction
All Implemented Interfaces:
IWebAction

public abstract class AbstractCmdAction
extends java.lang.Object
implements IWebAction

Title: 通过命令式Action类

Description: 这是一个对Action命令进行封装的抽象类,用于为提供命令式WebAction的写法用户直接调用,可以减少书写繁锁的if语句

easyJWebCommand命令del(或Del)对应Action类的doDel方法

Copyright: Copyright (c) 2006

Company: www.easyjf.com

Version:
1.0
Author:
蔡世友

Constructor Summary
AbstractCmdAction()
           
 
Method Summary
 java.lang.Object doAfter(WebForm form, Module module)
           
 java.lang.Object doBefore(WebForm form, Module module)
           
abstract  Page doInit(WebForm form, Module module)
           
 Page execute(WebForm form, Module module)
          执行Action接口
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCmdAction

public AbstractCmdAction()
Method Detail

execute

public Page execute(WebForm form,
                    Module module)
             throws java.lang.Exception
Description copied from interface: IWebAction
执行Action接口

Specified by:
execute in interface IWebAction
Parameters:
form -
module -
Returns:
显示数据的模板或直接跳转的URL
Throws:
java.lang.Exception

doBefore

public java.lang.Object doBefore(WebForm form,
                                 Module module)

doInit

public abstract Page doInit(WebForm form,
                            Module module)

doAfter

public java.lang.Object doAfter(WebForm form,
                                Module module)

main

public static void main(java.lang.String[] args)
Parameters:
args -