View Javadoc
1   /**
2    * Copyright By Grandsoft Company Limited.  
3    * 2013-9-12 下午01:27:11
4    */
5   package gboat2.web.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.annotation.Preference;
12  import gboat2.base.core.dao.QuerySupport;
13  import gboat2.base.core.model.Parameter;
14  import gboat2.base.core.web.BaseActionSupport;
15  
16  import java.util.Map;
17  
18  import org.apache.struts2.convention.annotation.ResultPath;
19  
20  /**
21   * 
22   * 平台级参数配置
23   * @author zhangxj-a
24   * @since jdk1.6
25   * @date 2013-9-12
26   *  
27   */
28  @ResultPath("/content/parmeter")
29  @Domain(value = Parameter.class)
30  @Module(name = "参数配置", desc = "参数配置")
31  @Preference("/系统配置/参数设置")
32  @Operations(value = { 
33          @Operation(name = "编辑", code = "edit")})
34  public class ParameterAction extends BaseActionSupport {
35  	
36  	@Override
37  	protected void initList(Map<String, Object> params) {
38  		params.put(QuerySupport.PARAM_ORDERBY, " groupName ");
39  	}
40  }