Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/server/DeleteCollectionServiceImpl.java @ 8203:238fc722f87a
sed 's/logger/log/g' src/**/*.java
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Fri, 05 Sep 2014 13:19:22 +0200 |
parents | ea9eef426962 |
children | 0a5239a1e46e |
comparison
equal
deleted
inserted
replaced
8202:e4606eae8ea5 | 8203:238fc722f87a |
---|---|
24 */ | 24 */ |
25 public class DeleteCollectionServiceImpl | 25 public class DeleteCollectionServiceImpl |
26 extends DoCollectionAction | 26 extends DoCollectionAction |
27 implements DeleteCollectionService | 27 implements DeleteCollectionService |
28 { | 28 { |
29 private static final Logger logger = | 29 private static final Logger log = |
30 Logger.getLogger(DeleteCollectionServiceImpl.class); | 30 Logger.getLogger(DeleteCollectionServiceImpl.class); |
31 | 31 |
32 | 32 |
33 public static final String XPATH_RESULT = "/art:result/text()"; | 33 public static final String XPATH_RESULT = "/art:result/text()"; |
34 public static final String OPERATION_FAILURE = "FAILED"; | 34 public static final String OPERATION_FAILURE = "FAILED"; |
35 | 35 |
36 public void delete(Collection c) | 36 public void delete(Collection c) |
37 throws ServerException | 37 throws ServerException |
38 { | 38 { |
39 logger.info("Delete collection: " + c.identifier()); | 39 log.info("Delete collection: " + c.identifier()); |
40 | 40 |
41 String url = getServletContext().getInitParameter("server-url"); | 41 String url = getServletContext().getInitParameter("server-url"); |
42 | 42 |
43 Document del = ClientProtocolUtils.newDeleteCollectionDocument(); | 43 Document del = ClientProtocolUtils.newDeleteCollectionDocument(); |
44 | 44 |