comparison flys-client/src/main/java/de/intevation/flys/client/server/ArtifactServiceImpl.java @ 807:6f65e70fa11d

Repaired broken recommendation parsing from Artifact's DESCRIBE document (which structure has changed). flys-client/trunk@2391 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 21 Jul 2011 15:23:03 +0000
parents 653ae84533e7
children 78ef14dc1877
comparison
equal deleted inserted replaced
806:e50da1f74e58 807:6f65e70fa11d
29 * creation.*/ 29 * creation.*/
30 public static final String ERROR_CREATE_ARTIFACT = "error_create_artifact"; 30 public static final String ERROR_CREATE_ARTIFACT = "error_create_artifact";
31 31
32 32
33 public Artifact create( 33 public Artifact create(
34 String serverUrl, 34 String serverUrl,
35 String locale, 35 String locale,
36 String factory, 36 String factory,
37 String uuid) 37 String uuid,
38 String ids)
38 throws ServerException 39 throws ServerException
39 { 40 {
40 System.out.println("ArtifactServiceImpl.create"); 41 System.out.println("ArtifactServiceImpl.create");
41 42
42 Document create = null; 43 Document create = null;
43 44
44 if (uuid != null && uuid.length() > 0) { 45 if (uuid != null && uuid.length() > 0) {
45 create = ClientProtocolUtils.newCreateDocument(factory, uuid); 46 create = ClientProtocolUtils.newCreateDocument(factory, uuid, ids);
46 } 47 }
47 else { 48 else {
48 create = ClientProtocolUtils.newCreateDocument(factory); 49 create = ClientProtocolUtils.newCreateDocument(factory);
49 } 50 }
50 51

http://dive4elements.wald.intevation.org