diff artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactCollection.java @ 218:70cbbe144931

Added a describe() method for ArtifactCollections. artifacts/trunk@1558 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 24 Mar 2011 15:48:26 +0000
parents b2115f484edb
children f75f83af19e0
line wrap: on
line diff
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactCollection.java	Thu Mar 24 15:41:25 2011 +0000
+++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactCollection.java	Thu Mar 24 15:48:26 2011 +0000
@@ -26,6 +26,8 @@
 import de.intevation.artifacts.CallContext;
 import de.intevation.artifacts.User;
 
+import de.intevation.artifacts.common.utils.XMLUtils;
+
 
 /**
  * Trivial implementation of an artifact collection. Useful to be subclassed.
@@ -104,6 +106,13 @@
     }
 
 
+    public Document describe(CallContext context) {
+        logger.debug("DefaultArtifactCollection.describe: " + identifier);
+
+        return XMLUtils.newDocument();
+    }
+
+
     /**
      * Set a new identifier for this collection.
      * @param identifier New identifier for this collection.

http://dive4elements.wald.intevation.org