Mercurial > dive4elements > framework
comparison artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java @ 303:190aa68ae7a8
Added method to artifact database to load all artifacts.
artifacts/trunk@2408 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 27 Jul 2011 09:32:26 +0000 |
parents | a367a0d011af |
children | 824051dff018 |
comparison
equal
deleted
inserted
replaced
302:c066343c63b0 | 303:190aa68ae7a8 |
---|---|
270 Document setCollectionTTL(String collectionId, Document doc, CallMeta meta) | 270 Document setCollectionTTL(String collectionId, Document doc, CallMeta meta) |
271 throws ArtifactDatabaseException; | 271 throws ArtifactDatabaseException; |
272 | 272 |
273 Document setCollectionName(String collectionId, Document doc, CallMeta meta) | 273 Document setCollectionName(String collectionId, Document doc, CallMeta meta) |
274 throws ArtifactDatabaseException; | 274 throws ArtifactDatabaseException; |
275 | |
276 public interface ArtifactLoadedCallback { | |
277 void artifactLoaded( | |
278 String userId, | |
279 String collectionId, | |
280 String artifactId, | |
281 Artifact artifact); | |
282 }; | |
283 | |
284 public void loadAllArtifacts(ArtifactLoadedCallback callback) | |
285 throws ArtifactDatabaseException; | |
275 } | 286 } |
276 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 287 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |