comparison artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java @ 196:171b6200d26d

Added a describe() action for collections - the implementation in the artifact server is currently just a stub that throws an not implemented exception. artifacts/trunk@1426 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 08 Mar 2011 10:38:14 +0000
parents dad6071c9072
children 6370369412e9
comparison
equal deleted inserted replaced
195:63f555bbdbc0 196:171b6200d26d
1237 root.setTextContent(success ? OPERATION_SUCCESSFUL: OPERATION_FAILURE); 1237 root.setTextContent(success ? OPERATION_SUCCESSFUL: OPERATION_FAILURE);
1238 1238
1239 return result; 1239 return result;
1240 } 1240 }
1241 1241
1242 public Document describeCollection(String collectionId, CallMeta callMeta)
1243 throws ArtifactDatabaseException
1244 {
1245 logger.debug("Describe collection: " + collectionId);
1246
1247 throw new ArtifactDatabaseException("Not implemented yet.");
1248 }
1249
1242 public Document getCollectionAttribute(String collectionId, String artifactId, 1250 public Document getCollectionAttribute(String collectionId, String artifactId,
1243 CallMeta callMeta) throws ArtifactDatabaseException 1251 CallMeta callMeta) throws ArtifactDatabaseException
1244 { 1252 {
1245 logger.debug("Fetch the attribute for the artifact: " + artifactId); 1253 logger.debug("Fetch the attribute for the artifact: " + artifactId);
1246 1254

http://dive4elements.wald.intevation.org