1
2
3
4
5 package gboat2.cxf.action;
6
7 import gboat2.base.core.annotation.Domain;
8 import gboat2.base.core.annotation.Module;
9 import gboat2.base.core.annotation.Operation;
10 import gboat2.base.core.annotation.Operations;
11 import gboat2.base.core.web.BaseActionSupport;
12 import gboat2.cxf.model.WebServiceConfigParam;
13
14 import org.apache.struts2.convention.annotation.ParentPackage;
15 import org.apache.struts2.convention.annotation.ResultPath;
16
17
18
19
20
21
22
23
24
25 @Domain(WebServiceConfigParam.class)
26 @ParentPackage(value = "webservice")
27 @ResultPath("/content/webServiceConfigParam")
28 @Module(name = "web服务参数配置", desc = "用来增删查改web服务参数")
29 @Operations(value = { @Operation(name = "添加web参数", code = "add"), @Operation(name = "编辑web参数", code = "edit"),
30 @Operation(name = "删除web服务参数", code = "delete") })
31 public class WebServiceConfigParamAction extends BaseActionSupport {
32
33 private transient WebServiceConfigParam webSerConfParam;
34
35 @Override
36 protected void initEdit() {
37 webSerConfParam = (WebServiceConfigParam) getModel();
38 }
39
40 public WebServiceConfigParam getWebSerConfParam() {
41 return webSerConfParam;
42 }
43
44 public void setWebSerConfParam(WebServiceConfigParam webSerConfParam) {
45 this.webSerConfParam = webSerConfParam;
46 }
47 }