Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java @ 55:9a29899b31e5
describe() in REST interface is also handled as POST to pass
optional parameters.
artifacts/trunk@283 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 04 Nov 2009 14:38:37 +0000 |
parents | 4ae4dc99127d |
children | d4c4c23847f5 |
comparison
equal
deleted
inserted
replaced
54:c2fc85e55f9f | 55:9a29899b31e5 |
---|---|
38 + identifier + " (" + hash + ")"); | 38 + identifier + " (" + hash + ")"); |
39 } | 39 } |
40 return hash; | 40 return hash; |
41 } | 41 } |
42 | 42 |
43 public Document describe(CallContext context) { | 43 public Document describe(Document data, CallContext context) { |
44 if (logger.isDebugEnabled()) { | 44 if (logger.isDebugEnabled()) { |
45 logger.debug("DefaultArtifact.describe: " + identifier); | 45 logger.debug("DefaultArtifact.describe: " + identifier); |
46 } | 46 } |
47 return XMLUtils.newDocument(); | 47 return XMLUtils.newDocument(); |
48 } | 48 } |