Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ImportResource.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 | 8447467cef86 |
children | d348fe1fd822 |
comparison
equal
deleted
inserted
replaced
87:0f48188a6e02 | 88:69c84cf7c5d7 |
---|---|
18 import org.restlet.representation.Representation; | 18 import org.restlet.representation.Representation; |
19 | 19 |
20 import org.w3c.dom.Document; | 20 import org.w3c.dom.Document; |
21 | 21 |
22 /** | 22 /** |
23 * Resource to import an XML document containg an artifact produced by | |
24 * the ExportResource. | |
25 * | |
23 * @author <a href="mailto:sascha.teichmann@intevation">Sascha L. Teichmann</a> | 26 * @author <a href="mailto:sascha.teichmann@intevation">Sascha L. Teichmann</a> |
24 */ | 27 */ |
25 public class ImportResource | 28 public class ImportResource |
26 extends BaseResource | 29 extends BaseResource |
27 { | 30 { |
28 private static Logger logger = Logger.getLogger(ImportResource.class); | 31 private static Logger logger = Logger.getLogger(ImportResource.class); |
29 | 32 |
33 /** | |
34 * server URL where to reach the resource. | |
35 */ | |
30 public static final String PATH = "/import"; | 36 public static final String PATH = "/import"; |
31 | 37 |
32 protected Representation innerPost(Representation requestRepr) { | 38 protected Representation innerPost(Representation requestRepr) { |
33 | 39 |
34 Document inputDocument = null; | 40 Document inputDocument = null; |