Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/OutputStateBase.java @ 803:feae2f9d6c6f
Removed trailing whitespace.
gnv-artifacts/trunk@885 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 07 Apr 2010 07:52:27 +0000 |
parents | a5526908f92f |
children | 22c18083225e |
comparison
equal
deleted
inserted
replaced
802:4abe172be970 | 803:feae2f9d6c6f |
---|---|
106 public OutputStateBase() { | 106 public OutputStateBase() { |
107 super(); | 107 super(); |
108 } | 108 } |
109 | 109 |
110 /** | 110 /** |
111 * | 111 * |
112 * @return | 112 * @return |
113 */ | 113 */ |
114 public Collection<OutputMode> getOutputModes() { | 114 public Collection<OutputMode> getOutputModes() { |
115 log.debug("OutputStateBase.getOutputModes"); | 115 log.debug("OutputStateBase.getOutputModes"); |
116 return this.outputModes; | 116 return this.outputModes; |
184 } | 184 } |
185 } | 185 } |
186 } | 186 } |
187 | 187 |
188 /** | 188 /** |
189 * @param uuid | 189 * @param uuid |
190 * @param context | 190 * @param context |
191 * @throws StateException | 191 * @throws StateException |
192 */ | 192 */ |
193 @Override | 193 @Override |
194 public void advance(String uuid, CallContext context) | 194 public void advance(String uuid, CallContext context) |
231 } | 231 } |
232 | 232 |
233 /** | 233 /** |
234 * This method needs to be defined by concrete subclasses. Nothing is done | 234 * This method needs to be defined by concrete subclasses. Nothing is done |
235 * here. | 235 * here. |
236 * | 236 * |
237 * @param outputMode | 237 * @param outputMode |
238 * @param inputData | 238 * @param inputData |
239 * @param outputStream | 239 * @param outputStream |
240 * @throws StateException | 240 * @throws StateException |
241 * @see de.intevation.gnv.state.OutputState#out(java.lang.String, | 241 * @see de.intevation.gnv.state.OutputState#out(java.lang.String, |
242 * java.util.Collection, java.io.OutputStream) | 242 * java.util.Collection, java.io.OutputStream) |
243 */ | 243 */ |
244 public void out(String outputMode, Collection<InputData> inputData, | 244 public void out(String outputMode, Collection<InputData> inputData, |
249 * Returns the data used to create charts. If a cache is configured, try to | 249 * Returns the data used to create charts. If a cache is configured, try to |
250 * fetch the data from cache. The database is queried if the data is not in | 250 * fetch the data from cache. The database is queried if the data is not in |
251 * cache yet, or if no cache is configured. If the cache is configured, but | 251 * cache yet, or if no cache is configured. If the cache is configured, but |
252 * the data is not in cache yet, put it into cache for a faster access | 252 * the data is not in cache yet, put it into cache for a faster access |
253 * in a later time. | 253 * in a later time. |
254 * | 254 * |
255 * @param uuid The uuid of an artifact. | 255 * @param uuid The uuid of an artifact. |
256 * @param callContext The CallContext. | 256 * @param callContext The CallContext. |
257 * @return the chart data. | 257 * @return the chart data. |
258 */ | 258 */ |
259 protected Object getChartResult(String uuid, CallContext callContext) { | 259 protected Object getChartResult(String uuid, CallContext callContext) { |
293 * proper. | 293 * proper. |
294 * | 294 * |
295 * @param uuid | 295 * @param uuid |
296 * @param callContext | 296 * @param callContext |
297 * @return | 297 * @return |
298 * @deprecated | 298 * @deprecated |
299 */ | 299 */ |
300 protected Object getChartFromCache(String uuid, CallContext callContext) { | 300 protected Object getChartFromCache(String uuid, CallContext callContext) { |
301 log.debug("Fetch chart [" + uuid + "] from cache"); | 301 log.debug("Fetch chart [" + uuid + "] from cache"); |
302 CacheFactory cacheFactory = CacheFactory.getInstance(); | 302 CacheFactory cacheFactory = CacheFactory.getInstance(); |
303 if (cacheFactory.isInitialized()) { | 303 if (cacheFactory.isInitialized()) { |
373 | 373 |
374 /** | 374 /** |
375 * This method should no longer be used. It removes a chart from cache. | 375 * This method should no longer be used. It removes a chart from cache. |
376 * | 376 * |
377 * @param uuid | 377 * @param uuid |
378 * @deprecated | 378 * @deprecated |
379 */ | 379 */ |
380 protected void removeChart(String uuid) { | 380 protected void removeChart(String uuid) { |
381 log.debug("OutputStateBase.removeChart from cache"); | 381 log.debug("OutputStateBase.removeChart from cache"); |
382 | 382 |
383 CacheFactory cacheFactory = CacheFactory.getInstance(); | 383 CacheFactory cacheFactory = CacheFactory.getInstance(); |