Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/server/ArtifactHelper.java @ 6043:c47337657f8c
Doc.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 16 May 2013 17:57:55 +0200 |
parents | ea9eef426962 |
children | 477d2d18452e |
comparison
equal
deleted
inserted
replaced
6042:1803017160be | 6043:c47337657f8c |
---|---|
34 /** | 34 /** |
35 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 35 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
36 */ | 36 */ |
37 public class ArtifactHelper { | 37 public class ArtifactHelper { |
38 | 38 |
39 /** Private logging instance. */ | |
39 private static final Logger logger = Logger.getLogger(ArtifactHelper.class); | 40 private static final Logger logger = Logger.getLogger(ArtifactHelper.class); |
40 | 41 |
41 | 42 |
42 /** The error message key that is thrown if an error occured while artifact | 43 /** The error message key that is thrown if an error occured while artifact |
43 * creation.*/ | 44 * creation.*/ |
44 public static final String ERROR_CREATE_ARTIFACT = "error_create_artifact"; | 45 public static final String ERROR_CREATE_ARTIFACT = "error_create_artifact"; |
45 | 46 |
46 /** | 47 /** Name of the factory to generate a GaugeDischargeCurveArtifact. */ |
47 * Name of the factory to generate a GaugeDischargeCurveArtifact | |
48 */ | |
49 private static final String GAUGE_DISCHARGE_CURVE_ARTIFACT = "gaugedischargecurve"; | 48 private static final String GAUGE_DISCHARGE_CURVE_ARTIFACT = "gaugedischargecurve"; |
49 | |
50 /** Name of the factory to generate a MainvaluesArtifact. */ | |
51 private static final String MAINVALUE_ARTIFACT_FACTORY = "mainvalue"; | |
52 | |
50 private static final String SQ_RELATION_ARTIFACT = "staticsqrelation"; | 53 private static final String SQ_RELATION_ARTIFACT = "staticsqrelation"; |
51 | 54 |
52 private ArtifactHelper() { | 55 private ArtifactHelper() { |
53 } | 56 } |
54 | 57 |
121 | 124 |
122 return sendCreate(serverUrl, locale, create); | 125 return sendCreate(serverUrl, locale, create); |
123 } | 126 } |
124 | 127 |
125 /** | 128 /** |
126 * Sends a create document to the artifact server | 129 * Sends a create document to the artifact server. |
127 */ | 130 */ |
128 private static Artifact sendCreate( | 131 private static Artifact sendCreate( |
129 String serverUrl, | 132 String serverUrl, |
130 String locale, | 133 String locale, |
131 Document doc) | 134 Document doc) |