comparison artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ExportResource.java @ 88:69c84cf7c5d7

Added javadoc to the REST package of the artifact database (complete). artifacts/trunk@840 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 26 Mar 2010 15:05:11 +0000
parents f69e5b87f05f
children d348fe1fd822
comparison
equal deleted inserted replaced
87:0f48188a6e02 88:69c84cf7c5d7
16 import org.restlet.representation.Representation; 16 import org.restlet.representation.Representation;
17 17
18 import org.restlet.resource.ResourceException; 18 import org.restlet.resource.ResourceException;
19 19
20 /** 20 /**
21 * Resource to produce an external XML representation of a given
22 * artifact to be import by ImportResource later on.
23 *
21 * @author <a href="mailto:sascha.teichmann@intevation">Sascha L. Teichmann</a> 24 * @author <a href="mailto:sascha.teichmann@intevation">Sascha L. Teichmann</a>
22 */ 25 */
23 public class ExportResource 26 public class ExportResource
24 extends BaseResource 27 extends BaseResource
25 { 28 {
26 private static Logger logger = Logger.getLogger(ExportResource.class); 29 private static Logger logger = Logger.getLogger(ExportResource.class);
27 30
31 /**
32 * server URL where to reach the resource.
33 */
28 public static final String PATH = "/export/{uuid}"; 34 public static final String PATH = "/export/{uuid}";
29 35
30 protected Representation innerGet() 36 protected Representation innerGet()
31 throws ResourceException 37 throws ResourceException
32 { 38 {

http://dive4elements.wald.intevation.org