comparison gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/TestArtifactDatabase.java @ 1118:c01c220312d0

Made it compile again with an updated ArtifactDatabase. gnv-artifacts/trunk@4137 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 12 Mar 2012 08:31:46 +0000
parents f953c9a559d8
children
comparison
equal deleted inserted replaced
1117:dec4257ad570 1118:c01c220312d0
6 * or visit http://www.gnu.org/licenses/ if it does not exist. 6 * or visit http://www.gnu.org/licenses/ if it does not exist.
7 */ 7 */
8 8
9 package de.intevation.gnv.artifacts; 9 package de.intevation.gnv.artifacts;
10 10
11 import de.intevation.artifacts.Artifact;
11 import de.intevation.artifacts.ArtifactDatabase; 12 import de.intevation.artifacts.ArtifactDatabase;
12 import de.intevation.artifacts.ArtifactDatabaseException; 13 import de.intevation.artifacts.ArtifactDatabaseException;
13 import de.intevation.artifacts.ArtifactFactory; 14 import de.intevation.artifacts.ArtifactFactory;
14 import de.intevation.artifacts.CallMeta; 15 import de.intevation.artifacts.CallMeta;
15 16
83 } 84 }
84 85
85 /** 86 /**
86 * @see de.intevation.artifacts.ArtifactDatabase#out(java.lang.String, org.w3c.dom.Document, de.intevation.artifacts.CallMeta) 87 * @see de.intevation.artifacts.ArtifactDatabase#out(java.lang.String, org.w3c.dom.Document, de.intevation.artifacts.CallMeta)
87 */ 88 */
88 public DeferredOutput out(String artifact, Document format, 89 public DeferredOutput out(
89 CallMeta callMeta) 90 String artifact,
90 throws ArtifactDatabaseException { 91 Document format,
91 92 CallMeta callMeta)
92 return null; 93 throws ArtifactDatabaseException {
94
95 return null;
96 }
97
98 public DeferredOutput out(
99 String artifact,
100 String type,
101 Document format,
102 CallMeta callMeta)
103 throws ArtifactDatabaseException
104 {
105 return null;
106
93 } 107 }
94 108
95 public Document process(String service, Document input, CallMeta callMeta) { 109 public Document process(String service, Document input, CallMeta callMeta) {
96 return null; 110 return null;
97 } 111 }
106 120
107 public Document importArtifact(Document data, CallMeta callMeta) throws ArtifactDatabaseException { 121 public Document importArtifact(Document data, CallMeta callMeta) throws ArtifactDatabaseException {
108 throw new UnsupportedOperationException("Not supported yet."); 122 throw new UnsupportedOperationException("Not supported yet.");
109 } 123 }
110 124
125
126 public void loadAllArtifacts(ArtifactLoadedCallback callback)
127 throws ArtifactDatabaseException
128 {
129 throw new UnsupportedOperationException("Not supported yet.");
130 }
131
132 public Artifact getRawArtifact(String identifier)
133 throws ArtifactDatabaseException {
134 throw new UnsupportedOperationException("Not supported yet.");
135 }
136
137
138
139 // COLLECTION API
140
141 public Document setCollectionTTL(String collectionId, Document doc, CallMeta meta)
142 throws ArtifactDatabaseException {
143 throw new UnsupportedOperationException("Not supported yet.");
144 }
145
146 public Document setCollectionName(String collectionId, Document doc, CallMeta meta)
147 throws ArtifactDatabaseException {
148 throw new UnsupportedOperationException("Not supported yet.");
149 }
150
151
152 public DeferredOutput outCollection(String collectionId, Document format, CallMeta callMeta)
153 throws ArtifactDatabaseException
154 {
155 throw new UnsupportedOperationException("Not supported yet.");
156 }
157
158 public DeferredOutput outCollection(String collectionId, String type, Document format, CallMeta callMeta)
159 throws ArtifactDatabaseException
160 {
161 throw new UnsupportedOperationException("Not supported yet.");
162 }
163
164 /**
165 * @param collectionId
166 * @param meta
167 *
168 * @throws ArtifactDatabaseException
169 *
170 * @return
171 */
172 public Document getCollectionsMasterArtifact(
173 String collectionId,
174 CallMeta meta
175 )
176 throws ArtifactDatabaseException
177 {
178 throw new UnsupportedOperationException("Not supported yet.");
179 }
180
181 /**
182 * @param userId
183 * @param callMeta
184 *
185 * @throws ArtifactDatabaseException
186 *
187 * @return
188 */
189 public Document listCollections(String userId, CallMeta callMeta)
190 throws ArtifactDatabaseException {
191 throw new UnsupportedOperationException("Not supported yet.");
192 }
193
194 /**
195 * @param ownerId
196 * @param data
197 * @param callMeta
198 *
199 * @throws ArtifactDatabaseException
200 *
201 * @return
202 */
203 public Document createCollection(
204 String ownerId,
205 Document data,
206 CallMeta callMeta
207 )
208 throws ArtifactDatabaseException
209 {
210 throw new UnsupportedOperationException("Not supported yet.");
211 }
212
213 /**
214 * @param collectionId
215 * @param callMeta
216 *
217 * @throws ArtifactDatabaseException
218 *
219 * @return
220 */
221 public Document deleteCollection(String collectionId, CallMeta callMeta)
222 throws ArtifactDatabaseException {
223 throw new UnsupportedOperationException("Not supported yet.");
224 }
225
226 /**
227 * @param collectionId
228 * @param callMeta
229 *
230 * @throws ArtifactDatabaseException
231 *
232 * @return
233 */
234 public Document describeCollection(String collectionId, CallMeta callMeta)
235 throws ArtifactDatabaseException {
236 throw new UnsupportedOperationException("Not supported yet.");
237 }
238
239 /**
240 * @param collectionId
241 * @param callMeta
242 *
243 * @throws ArtifactDatabaseException
244 *
245 * @return
246 */
247 public Document getCollectionAttribute(
248 String collectionId,
249 CallMeta callMeta
250 )
251 throws ArtifactDatabaseException
252 {
253 throw new UnsupportedOperationException("Not supported yet.");
254 }
255
256 public Document setCollectionAttribute(
257 String collectionId,
258 CallMeta callMeta,
259 Document attribute)
260 throws ArtifactDatabaseException
261 {
262 throw new UnsupportedOperationException("Not supported yet.");
263 }
264
265 /**
266 * @param collectionId
267 * @param artifactId
268 * @param callMeta
269 *
270 * @throws ArtifactDatabaseException
271 *
272 * @return
273 */
274 public Document getCollectionItemAttribute(
275 String collectionId,
276 String artifactId,
277 CallMeta callMeta
278 )
279 throws ArtifactDatabaseException
280 {
281 throw new UnsupportedOperationException("Not supported yet.");
282 }
283
284 /**
285 * @param collectionId
286 * @param artifactId
287 * @param attribute
288 * @param callMeta
289 *
290 * @throws ArtifactDatabaseException
291 *
292 * @return
293 */
294 public Document setCollectionItemAttribute(
295 String collectionId,
296 String artifactId,
297 Document attribute,
298 CallMeta callMeta
299 )
300 throws ArtifactDatabaseException
301 {
302 throw new UnsupportedOperationException("Not supported yet.");
303 }
304
305 /**
306 * @param collectionId
307 * @param artifactId
308 * @param input
309 * @param callMeta
310 *
311 * @throws ArtifactDatabaseException
312 *
313 * @return
314 */
315 public Document addCollectionArtifact(
316 String collectionId,
317 String artifactId,
318 Document input,
319 CallMeta callMeta
320 )
321 throws ArtifactDatabaseException
322 {
323 throw new UnsupportedOperationException("Not supported yet.");
324 }
325
326 /**
327 * @param collectionId
328 * @param artifactId
329 * @param callMeta
330 *
331 * @throws ArtifactDatabaseException
332 *
333 * @return
334 */
335 public Document removeCollectionArtifact(
336 String collectionId,
337 String artifactId,
338 CallMeta callMeta
339 )
340 throws ArtifactDatabaseException
341 {
342 throw new UnsupportedOperationException("Not supported yet.");
343 }
344
345 /**
346 * @param collectionId
347 * @param callMeta
348 *
349 * @throws ArtifactDatabaseException
350 *
351 * @return
352 */
353 public Document listCollectionArtifacts(
354 String collectionId,
355 CallMeta callMeta
356 )
357 throws ArtifactDatabaseException
358 {
359 throw new UnsupportedOperationException("Not supported yet.");
360 }
361
362
363 public Document listUsers(CallMeta callMeta)
364 throws ArtifactDatabaseException
365 {
366 throw new UnsupportedOperationException("Not supported yet.");
367 }
368
369 public Document createUser(Document data, CallMeta callMeta)
370 throws ArtifactDatabaseException
371 {
372 throw new UnsupportedOperationException("Not supported yet.");
373 }
374
375 public Document deleteUser(String userId, CallMeta callMeta)
376 throws ArtifactDatabaseException
377 {
378 throw new UnsupportedOperationException("Not supported yet.");
379 }
111 } 380 }

http://dive4elements.wald.intevation.org