commoninfoaction.java
来自「OBPM是一个开源」· Java 代码 · 共 45 行
JAVA
45 行
package cn.myapps.core.commoninfo.action;
import cn.myapps.base.action.BaseAction;
import cn.myapps.core.commoninfo.ejb.CommonInfo;
import cn.myapps.core.commoninfo.ejb.CommonInfoProcess;
import cn.myapps.util.ProcessFactory;
/**
* @see cn.myapps.base.action.BaseAction CommonInfoAction class.
* @author Darvense
* @since JDK1.4
*/
public class CommonInfoAction extends BaseAction {
/**
*
* CommonInfoAction structure function.
*
* @throws ClassNotFoundException
*/
public CommonInfoAction() throws ClassNotFoundException {
super(ProcessFactory.createProcess(CommonInfoProcess.class),
new CommonInfo());
}
/**
* Select Type .
*
* @return If the action execution was successful.return "SUCCESS".Show an
* success view .
* <p>
* If the action execution was a failure. return "ERROR".Show an
* error view, possibly asking the user to retry entering data.
* <p>
* The "INPUT" is also used if the given input params are invalid,
* meaning the user should try providing input again.
*
* @throws Exception
*/
public String doSelectType() throws Exception {
((CommonInfoProcess) proxy).doQueryType(getUser().getApplicationid());
return SUCCESS;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?