Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/server/CreateCollectionServiceImpl.java @ 2941:9cff19a02743
Minor Cosmetics.
flys-client/trunk@4898 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Sun, 08 Jul 2012 09:40:06 +0000 |
parents | 6bb6d43eeb2d |
children |
comparison
equal
deleted
inserted
replaced
2940:2867a0192aed | 2941:9cff19a02743 |
---|---|
29 */ | 29 */ |
30 public class CreateCollectionServiceImpl | 30 public class CreateCollectionServiceImpl |
31 extends RemoteServiceServlet | 31 extends RemoteServiceServlet |
32 implements CreateCollectionService | 32 implements CreateCollectionService |
33 { | 33 { |
34 /** Private logger. */ | |
34 private static final Logger logger = | 35 private static final Logger logger = |
35 Logger.getLogger(CreateCollectionServiceImpl.class); | 36 Logger.getLogger(CreateCollectionServiceImpl.class); |
36 | |
37 | 37 |
38 /** XPath to figure out the uuid of the created collection.*/ | 38 /** XPath to figure out the uuid of the created collection.*/ |
39 public static final String XPATH_COLLECTION_UUID = | 39 public static final String XPATH_COLLECTION_UUID = |
40 "/art:result/art:artifact-collection/@art:uuid"; | 40 "/art:result/art:artifact-collection/@art:uuid"; |
41 | 41 |
47 * a new collection.*/ | 47 * a new collection.*/ |
48 public static final String ERROR_CREATE_COLLECTION = | 48 public static final String ERROR_CREATE_COLLECTION = |
49 "error_create_collection"; | 49 "error_create_collection"; |
50 | 50 |
51 | 51 |
52 /** Attempt creation of Collection. */ | |
52 public Collection create(String locale, String ownerId) | 53 public Collection create(String locale, String ownerId) |
53 throws ServerException | 54 throws ServerException |
54 { | 55 { |
55 logger.info("Start creating a new collection."); | 56 logger.info("Start creating a new collection."); |
56 | 57 |