Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/server/ArtifactHelper.java @ 1318:ecd0243bc09e
Cosmetics, docs.
flys-client/trunk@2959 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 13 Oct 2011 12:25:07 +0000 |
parents | 478a571f1f94 |
children | ab8eb2f544f2 |
comparison
equal
deleted
inserted
replaced
1317:45b9b1fc26e2 | 1318:ecd0243bc09e |
---|---|
31 | 31 |
32 private ArtifactHelper() { | 32 private ArtifactHelper() { |
33 } | 33 } |
34 | 34 |
35 | 35 |
36 /** | |
37 * @param factory ArtifactFactory to use. | |
38 */ | |
36 public static Artifact createArtifact( | 39 public static Artifact createArtifact( |
37 String serverUrl, | 40 String serverUrl, |
38 String locale, | 41 String locale, |
39 String factory, | 42 String factory, |
40 Recommendation recommendation) | 43 Recommendation recommendation) |
71 | 74 |
72 throw new ServerException(ERROR_CREATE_ARTIFACT); | 75 throw new ServerException(ERROR_CREATE_ARTIFACT); |
73 } | 76 } |
74 | 77 |
75 | 78 |
79 /** | |
80 * Create CreationFilter from Recommendation.Filter. | |
81 */ | |
76 public static CreationFilter convertFilter(Recommendation.Filter filter) { | 82 public static CreationFilter convertFilter(Recommendation.Filter filter) { |
77 | 83 |
78 if (filter == null) { | 84 if (filter == null) { |
79 return null; | 85 return null; |
80 } | 86 } |