Mercurial > dive4elements > river
comparison flys-client/src/main/java/org/dive4elements/river/client/server/FeedServiceImpl.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 java.util.ArrayList; | 3 import java.util.ArrayList; |
4 import java.util.List; | 4 import java.util.List; |
5 | 5 |
6 import org.w3c.dom.Document; | 6 import org.w3c.dom.Document; |
7 | 7 |
8 import org.apache.log4j.Logger; | 8 import org.apache.log4j.Logger; |
9 | 9 |
10 import com.google.gwt.user.server.rpc.RemoteServiceServlet; | 10 import com.google.gwt.user.server.rpc.RemoteServiceServlet; |
11 | 11 |
12 import de.intevation.artifacts.common.ArtifactNamespaceContext; | 12 import org.dive4elements.artifacts.common.ArtifactNamespaceContext; |
13 import de.intevation.artifacts.common.utils.ClientProtocolUtils; | 13 import org.dive4elements.artifacts.common.utils.ClientProtocolUtils; |
14 import de.intevation.artifacts.common.utils.XMLUtils; | 14 import org.dive4elements.artifacts.common.utils.XMLUtils; |
15 | 15 |
16 import de.intevation.artifacts.httpclient.exceptions.ConnectionException; | 16 import org.dive4elements.artifacts.httpclient.exceptions.ConnectionException; |
17 import de.intevation.artifacts.httpclient.http.HttpClient; | 17 import org.dive4elements.artifacts.httpclient.http.HttpClient; |
18 import de.intevation.artifacts.httpclient.http.HttpClientImpl; | 18 import org.dive4elements.artifacts.httpclient.http.HttpClientImpl; |
19 import de.intevation.artifacts.httpclient.http.response.DocumentResponseHandler; | 19 import org.dive4elements.artifacts.httpclient.http.response.DocumentResponseHandler; |
20 | 20 |
21 import de.intevation.flys.client.shared.exceptions.ServerException; | 21 import org.dive4elements.river.client.shared.exceptions.ServerException; |
22 import de.intevation.flys.client.shared.model.Artifact; | 22 import org.dive4elements.river.client.shared.model.Artifact; |
23 import de.intevation.flys.client.shared.model.Data; | 23 import org.dive4elements.river.client.shared.model.Data; |
24 import de.intevation.flys.client.shared.model.DataItem; | 24 import org.dive4elements.river.client.shared.model.DataItem; |
25 import de.intevation.flys.client.client.services.FeedService; | 25 import org.dive4elements.river.client.client.services.FeedService; |
26 | 26 |
27 /** | 27 /** |
28 * This interface provides a method that bundles the artifact specific | 28 * This interface provides a method that bundles the artifact specific |
29 * operation FEED. | 29 * operation FEED. |
30 */ | 30 */ |
75 | 75 |
76 HttpClient client = new HttpClientImpl(url, locale); | 76 HttpClient client = new HttpClientImpl(url, locale); |
77 | 77 |
78 try { | 78 try { |
79 Document description = (Document) client.feed( | 79 Document description = (Document) client.feed( |
80 new de.intevation.artifacts.httpclient.objects.Artifact( | 80 new org.dive4elements.artifacts.httpclient.objects.Artifact( |
81 artifact.getUuid(), | 81 artifact.getUuid(), |
82 artifact.getHash()), | 82 artifact.getHash()), |
83 feed, | 83 feed, |
84 new DocumentResponseHandler()); | 84 new DocumentResponseHandler()); |
85 | 85 |