comparison artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java @ 320:b46c5b13ac94

Extract the collection and artifact creation times when doing the initial, too. artifacts/trunk@2482 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 10 Aug 2011 14:18:33 +0000
parents 824051dff018
children 542caebea773
comparison
equal deleted inserted replaced
319:61017c6031b8 320:b46c5b13ac94
10 10
11 import java.io.IOException; 11 import java.io.IOException;
12 import java.io.OutputStream; 12 import java.io.OutputStream;
13 13
14 import org.w3c.dom.Document; 14 import org.w3c.dom.Document;
15
16 import java.util.Date;
15 17
16 /** 18 /**
17 * Interface of an artifact managing database. 19 * Interface of an artifact managing database.
18 * 20 *
19 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a> 21 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a>
276 public interface ArtifactLoadedCallback { 278 public interface ArtifactLoadedCallback {
277 void artifactLoaded( 279 void artifactLoaded(
278 String userId, 280 String userId,
279 String collectionId, 281 String collectionId,
280 String collectionName, 282 String collectionName,
283 Date collectionCreated,
281 String artifactId, 284 String artifactId,
285 Date artifactCreated,
282 Artifact artifact); 286 Artifact artifact);
283 }; 287 };
284 288
285 public void loadAllArtifacts(ArtifactLoadedCallback callback) 289 public void loadAllArtifacts(ArtifactLoadedCallback callback)
286 throws ArtifactDatabaseException; 290 throws ArtifactDatabaseException;

http://dive4elements.wald.intevation.org