Mercurial > dive4elements > gnv-client
comparison gnv/src/main/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClientFactory.java @ 157:013d47662161
Switched the Communication for Describe-Calls to the artifact-database from get to post.
Added the possibility to tell the artifact-database that the ui should not be delivered
in describe-responses.
gnv/trunk@285 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Thu, 05 Nov 2009 14:53:24 +0000 |
parents | 23a4f196d7d6 |
children | 15ac78a91d1b |
comparison
equal
deleted
inserted
replaced
156:aa5197b3f930 | 157:013d47662161 |
---|---|
47 * Getting the ArtifactDatabaseClient | 47 * Getting the ArtifactDatabaseClient |
48 * @param locale teh Local that should be used for the Communication | 48 * @param locale teh Local that should be used for the Communication |
49 * @return the ArtifactDatabaseClient | 49 * @return the ArtifactDatabaseClient |
50 */ | 50 */ |
51 public ArtifactDatabaseClient getArtifactDatabaseClient(Locale locale) { | 51 public ArtifactDatabaseClient getArtifactDatabaseClient(Locale locale) { |
52 // TODO Read from Configuration? | |
53 DefaultArtifactDatabaseClient adc = new DefaultArtifactDatabaseClient(); | 52 DefaultArtifactDatabaseClient adc = new DefaultArtifactDatabaseClient(); |
54 adc.setLocale(locale); | 53 adc.setLocale(locale); |
55 return adc; | 54 return adc; |
56 | 55 |
57 } | 56 } |