View Javadoc
1   /**
2    * Copyright By Grandsoft Company Limited.  
3    * 2014年6月26日 下午1:13:17
4    */
5   package gboat2.base.view.jsp;
6   
7   import gboat2.base.view.GboatViewUtil;
8   import gboat2.base.view.components.AbstractAttach;
9   
10  import org.apache.struts2.views.jsp.ui.AbstractUITag;
11  
12  /**
13   * @see AbstractAttach
14   * 
15   * @date 2014年7月21日
16   * @author <a href="mailto:[email protected]">何明旺</a>
17   * @since 3.0.0-SNAPSHOT
18   */
19  public abstract class AbstractAttachTag extends AbstractUITag {
20  
21      private static final long serialVersionUID = 1904115256861121844L;
22  
23      protected String belongId;
24      protected String deleteUrl;
25  
26      protected String url;
27      protected String fileDataName;
28      protected String flashSwfUrl;
29      protected String headers;
30      protected String maxFileSize;
31      protected String maxRetries;
32      protected String multipart;
33      protected String multipartParams;
34      protected String requiredFeatures;
35      protected String runtimes;
36      protected String silverlightXapUrl;
37      protected String autostart;
38      protected String dragdrop;
39      
40      protected String onReadyTopics;
41      protected String onSelectedTopics;
42      protected String onRemovedTopics;
43      protected String onStartTopics;
44      protected String onStopTopics;
45      protected String onProgressTopics;
46      protected String onUploadedTopics;
47      protected String onCompleteTopics;
48      protected String onErrorTopics;
49  
50      @Override
51      protected void populateParams() {
52          super.populateParams();
53          GboatViewUtil.populateParams(this, component);
54      }
55  
56      public void setBelongId(String belongId) {
57          this.belongId = belongId;
58      }
59  
60      public void setDeleteUrl(String deleteUrl) {
61          this.deleteUrl = deleteUrl;
62      }
63  
64      public void setUrl(String url) {
65          this.url = url;
66      }
67  
68      public void setFileDataName(String fileDataName) {
69          this.fileDataName = fileDataName;
70      }
71  
72      public void setFlashSwfUrl(String flashSwfUrl) {
73          this.flashSwfUrl = flashSwfUrl;
74      }
75  
76      public void setHeaders(String headers) {
77          this.headers = headers;
78      }
79  
80      public void setMaxFileSize(String maxFileSize) {
81          this.maxFileSize = maxFileSize;
82      }
83  
84      public void setMaxRetries(String maxRetries) {
85          this.maxRetries = maxRetries;
86      }
87  
88      public void setMultipart(String multipart) {
89          this.multipart = multipart;
90      }
91  
92      public void setMultipartParams(String multipartParams) {
93          this.multipartParams = multipartParams;
94      }
95  
96      public void setRequiredFeatures(String requiredFeatures) {
97          this.requiredFeatures = requiredFeatures;
98      }
99  
100     public void setRuntimes(String runtimes) {
101         this.runtimes = runtimes;
102     }
103 
104     public void setSilverlightXapUrl(String silverlightXapUrl) {
105         this.silverlightXapUrl = silverlightXapUrl;
106     }
107 
108     public void setAutostart(String autostart) {
109         this.autostart = autostart;
110     }
111 
112     public void setDragdrop(String dragdrop) {
113         this.dragdrop = dragdrop;
114     }
115 
116     public void setOnReadyTopics(String onReadyTopics) {
117         this.onReadyTopics = onReadyTopics;
118     }
119 
120     public void setOnSelectedTopics(String onSelectedTopics) {
121         this.onSelectedTopics = onSelectedTopics;
122     }
123 
124     public void setOnRemovedTopics(String onRemovedTopics) {
125         this.onRemovedTopics = onRemovedTopics;
126     }
127 
128     public void setOnStartTopics(String onStartTopics) {
129         this.onStartTopics = onStartTopics;
130     }
131 
132     public void setOnStopTopics(String onStopTopics) {
133         this.onStopTopics = onStopTopics;
134     }
135 
136     public void setOnProgressTopics(String onProgressTopics) {
137         this.onProgressTopics = onProgressTopics;
138     }
139 
140     public void setOnUploadedTopics(String onUploadedTopics) {
141         this.onUploadedTopics = onUploadedTopics;
142     }
143 
144     public void setOnCompleteTopics(String onCompleteTopics) {
145         this.onCompleteTopics = onCompleteTopics;
146     }
147 
148     public void setOnErrorTopics(String onErrorTopics) {
149         this.onErrorTopics = onErrorTopics;
150     }
151     
152 }