1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package com.macvu.tiles.actions;
20
21 import org.apache.struts.action.ActionErrors;
22 import org.apache.struts.action.ActionForm;
23 import org.apache.struts.action.ActionMapping;
24
25 import javax.servlet.http.HttpServletRequest;
26 import java.util.List;
27
28 /***
29 * User: MVu
30 */
31 public class CacheInformationForm extends ActionForm {
32
33 String tileName;
34
35 boolean cacheEnabled;
36 String repositoryName;
37 String repositoryFactory;
38 String keyFactory;
39
40 String cacheFields;
41
42
43 List cachingAttributeList;
44
45 public String getTileName() {
46 return tileName;
47 }
48
49 public void setTileName(String tileName) {
50 this.tileName = tileName;
51 }
52
53 public boolean getCacheEnabled() {
54 return cacheEnabled;
55 }
56
57 public boolean isCacheEnabled() {
58 return cacheEnabled;
59 }
60
61 public void setCacheEnabled(boolean cacheEnabled) {
62 this.cacheEnabled = cacheEnabled;
63 }
64
65 public String getKeyFactory() {
66 return keyFactory;
67 }
68
69 public void setKeyFactory(String keyFactory) {
70 this.keyFactory = keyFactory;
71 }
72
73 public String getRepositoryFactory() {
74 return repositoryFactory;
75 }
76
77 public void setRepositoryFactory(String repositoryFactory) {
78 this.repositoryFactory = repositoryFactory;
79 }
80
81 public String getRepositoryName() {
82 return repositoryName;
83 }
84
85 public void setRepositoryName(String repositoryName) {
86 this.repositoryName = repositoryName;
87 }
88
89 public String getCacheFields() {
90 return cacheFields;
91 }
92
93 public void setCacheFields(String cacheFields) {
94 this.cacheFields = cacheFields;
95 }
96
97 public List getCachingAttributeList() {
98 return cachingAttributeList;
99 }
100
101 public void setCachingAttributeList(List cachingAttributeList) {
102 this.cachingAttributeList = cachingAttributeList;
103 }
104
105 public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
106 return null;
107 }
108 }