Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java @ 4528:cbd0fafcb26b
Documentation.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 15 Nov 2012 14:23:03 +0100 |
parents | 2b3c4abe034f |
children | ac48ab9e1715 |
comparison
equal
deleted
inserted
replaced
4527:06c10ad39280 | 4528:cbd0fafcb26b |
---|---|
133 String key = sd.getName().replace('.', '-').toUpperCase(); | 133 String key = sd.getName().replace('.', '-').toUpperCase(); |
134 parameters.put(key, value); | 134 parameters.put(key, value); |
135 } | 135 } |
136 } | 136 } |
137 | 137 |
138 | |
139 /** | |
140 * Put Key/Values from \param src to \param dst, but uppercase | |
141 * both Keys and Values. | |
142 */ | |
138 public static void convertKeysToUpperCase( | 143 public static void convertKeysToUpperCase( |
139 Map<String, Object> src, | 144 Map<String, Object> src, |
140 Map<String, Object> dst | 145 Map<String, Object> dst |
141 ) { | 146 ) { |
142 for (Map.Entry<String, Object> entry: src.entrySet()) { | 147 for (Map.Entry<String, Object> entry: src.entrySet()) { |
145 } | 150 } |
146 | 151 |
147 | 152 |
148 /** | 153 /** |
149 * Append recommendations to \param result. | 154 * Append recommendations to \param result. |
155 * @param extraParameters parameters (typicall example: 'recommended') | |
150 */ | 156 */ |
151 public void recommend( | 157 public void recommend( |
152 FLYSArtifact artifact, | 158 FLYSArtifact artifact, |
153 String userId, | 159 String userId, |
154 String [] outs, | 160 String [] outs, |