Mercurial > dive4elements > framework
comparison artifacts/src/main/java/de/intevation/artifacts/Artifact.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 |
---|---|
54 /** | 54 /** |
55 * A description used to build a interface to interact with this artifact. | 55 * A description used to build a interface to interact with this artifact. |
56 * @param context The global context of the runtime system. | 56 * @param context The global context of the runtime system. |
57 * @return An XML representation of the current state of the artifact. | 57 * @return An XML representation of the current state of the artifact. |
58 */ | 58 */ |
59 Document describe(CallContext context); | 59 Document describe(Document data, CallContext context); |
60 | 60 |
61 /** | 61 /** |
62 * Change the internal state of the artifact. | 62 * Change the internal state of the artifact. |
63 * @return An XML representation of the success of the advancing. | 63 * @return An XML representation of the success of the advancing. |
64 * @param target Target of internal state to move to. | 64 * @param target Target of internal state to move to. |