package cn.javass.themes.smvcsm.actions; import cn.javass.xgen.genconf.vo.ModuleConfModel; import cn.javass.xgen.geninvocation.BaseGenAction; import cn.javass.xgen.geninvocation.decorator.GenComponent; public class GenAddPageAction extends BaseGenAction { public Object initObject() { return ""; } public Object execute(ModuleConfModel moduleConf, Object obj) { return obj; } public Object executeDecorators(ModuleConfModel moduleConf, Object obj, GenComponent gc) { return gc.operation(moduleConf, "GenAddPage", obj); } public GenComponent beforeAction(ModuleConfModel moduleConf) { return super.defaultBeforeAction(moduleConf); } }
原文地址:https://www.cnblogs.com/sunrunzhi/p/10119538.html
时间: 2024-11-07 18:10:30