Mercurial > dive4elements > river
comparison flys-client/src/main/java/org/dive4elements/river/client/server/GetArtifactServiceImpl.java @ 5835:821a02bbfb4e
Fixed internal java dependencies
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 25 Apr 2013 13:12:15 +0200 |
parents | f507086aa94b |
children |
comparison
equal
deleted
inserted
replaced
5834:f507086aa94b | 5835:821a02bbfb4e |
---|---|
1 package de.intevation.flys.client.server; | 1 package org.dive4elements.river.client.server; |
2 | 2 |
3 import org.w3c.dom.Document; | 3 import org.w3c.dom.Document; |
4 | 4 |
5 import org.apache.log4j.Logger; | 5 import org.apache.log4j.Logger; |
6 | 6 |
7 import com.google.gwt.user.server.rpc.RemoteServiceServlet; | 7 import com.google.gwt.user.server.rpc.RemoteServiceServlet; |
8 | 8 |
9 import de.intevation.artifacts.common.ArtifactNamespaceContext; | 9 import org.dive4elements.artifacts.common.ArtifactNamespaceContext; |
10 import de.intevation.artifacts.common.utils.ClientProtocolUtils; | 10 import org.dive4elements.artifacts.common.utils.ClientProtocolUtils; |
11 import de.intevation.artifacts.common.utils.XMLUtils; | 11 import org.dive4elements.artifacts.common.utils.XMLUtils; |
12 | 12 |
13 import de.intevation.artifacts.httpclient.exceptions.ConnectionException; | 13 import org.dive4elements.artifacts.httpclient.exceptions.ConnectionException; |
14 import de.intevation.artifacts.httpclient.http.HttpClient; | 14 import org.dive4elements.artifacts.httpclient.http.HttpClient; |
15 import de.intevation.artifacts.httpclient.http.HttpClientImpl; | 15 import org.dive4elements.artifacts.httpclient.http.HttpClientImpl; |
16 import de.intevation.artifacts.httpclient.http.response.DocumentResponseHandler; | 16 import org.dive4elements.artifacts.httpclient.http.response.DocumentResponseHandler; |
17 | 17 |
18 import de.intevation.flys.client.shared.exceptions.ServerException; | 18 import org.dive4elements.river.client.shared.exceptions.ServerException; |
19 import de.intevation.flys.client.shared.model.Artifact; | 19 import org.dive4elements.river.client.shared.model.Artifact; |
20 import de.intevation.flys.client.client.services.GetArtifactService; | 20 import org.dive4elements.river.client.client.services.GetArtifactService; |
21 | 21 |
22 | 22 |
23 /** | 23 /** |
24 * This service provides a method that returns an artifact based on its | 24 * This service provides a method that returns an artifact based on its |
25 * identifier. | 25 * identifier. |
57 | 57 |
58 HttpClient client = new HttpClientImpl(url, locale); | 58 HttpClient client = new HttpClientImpl(url, locale); |
59 | 59 |
60 try { | 60 try { |
61 Document description = (Document) client.describe( | 61 Document description = (Document) client.describe( |
62 new de.intevation.artifacts.httpclient.objects.Artifact( | 62 new org.dive4elements.artifacts.httpclient.objects.Artifact( |
63 uuid, hash), | 63 uuid, hash), |
64 describe, | 64 describe, |
65 new DocumentResponseHandler()); | 65 new DocumentResponseHandler()); |
66 | 66 |
67 if (description == null) { | 67 if (description == null) { |