1 package org.jahia.clipbuilder.html.bean; 2 3 import org.jahia.clipbuilder.html.util.*; 4 5 10 public class ConfigureBean extends Bean implements ConfigureInterface { 11 private String proxy; 12 private String enableSSL; 13 private String enableJavascript; 14 private String client; 15 private String htmlDocument; 16 private String enableCSS; 17 private String browserJavascriptEvent; 18 private String browserJavascriptCode; 19 private String portletEnableSSL; 20 private String portletContinualClipping; 21 private String portletCacheExpiration; 22 private String portletCacheContext; 23 24 25 26 29 public ConfigureBean() { 30 proxy = ""; 31 enableSSL = "on"; 32 client = "1"; 33 htmlDocument = "0"; 34 enableCSS = "on"; 35 enableJavascript = ""; 36 browserJavascriptCode = "2"; 37 browserJavascriptEvent = "2"; 38 portletEnableSSL = ""; 39 portletContinualClipping = "0"; 40 portletCacheExpiration = "6000"; 41 } 42 43 44 49 public void setPortletCacheContext(String portletCacheContext) { 50 this.portletCacheContext = portletCacheContext; 51 } 52 53 54 55 60 public void setHtmlDocument(String htmlDocument) { 61 this.htmlDocument = htmlDocument; 62 } 63 64 65 70 public void setProxy(String proxy) { 71 this.proxy = proxy; 72 } 73 74 75 80 public void setClient(String client) { 81 this.client = client; 82 } 83 84 85 90 public void setEnableSSL(String enableSSL) { 91 this.enableSSL = enableSSL; 92 } 93 94 95 100 public void setEnableJavascript(String enableJavascript) { 101 this.enableJavascript = enableJavascript; 102 } 103 104 105 110 public void setEnableCSS(String enableCSS) { 111 this.enableCSS = enableCSS; 112 } 113 114 115 120 public void setBrowserJavascriptEvent(String browserJavascriptEvent) { 121 this.browserJavascriptEvent = browserJavascriptEvent; 122 } 123 124 125 130 public void setBrowserJavascriptCode(String browserJavascriptCode) { 131 this.browserJavascriptCode = browserJavascriptCode; 132 } 133 134 135 140 public void setPortletContinualClipping(String portletContinualClipping) { 141 this.portletContinualClipping = portletContinualClipping; 142 } 143 144 145 150 public void setPortletEnableSSL(String portletEnableSSL) { 151 this.portletEnableSSL = portletEnableSSL; 152 } 153 154 155 160 public void setPortletCacheExpiration(String portletCacheExpiration) { 161 this.portletCacheExpiration = portletCacheExpiration; 162 } 163 164 165 170 public String getPortletCacheContext() { 171 return portletCacheContext; 172 } 173 174 175 180 public String getProxy() { 181 return proxy; 182 } 183 184 185 190 public String getClient() { 191 return client; 192 } 193 194 195 200 public String getEnableSSL() { 201 return enableSSL; 202 } 203 204 205 210 public String getEnableJavascript() { 211 return enableJavascript; 212 } 213 214 215 220 public String getHtmlDocument() { 221 return htmlDocument; 222 } 223 224 225 230 public String getEnableCSS() { 231 return enableCSS; 232 } 233 234 235 240 public String getBrowserJavascriptEvent() { 241 return browserJavascriptEvent; 242 } 243 244 245 250 public String getBrowserJavascriptCode() { 251 return browserJavascriptCode; 252 } 253 254 255 260 public String getPortletContinualClipping() { 261 return portletContinualClipping; 262 } 263 264 265 270 public String getPortletEnableSSL() { 271 return portletEnableSSL; 272 } 273 274 275 280 public String getPortletCacheExpiration() { 281 return portletCacheExpiration; 282 } 283 284 285 290 public void load(ConfigureInterface configuration) { 291 ClassUtilities.synchronize(configuration, this); 292 } 293 294 } 295 | Popular Tags |