Mercurial > dive4elements > river
comparison flys-client/src/main/java/org/dive4elements/river/client/server/AdvanceServiceImpl.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.AdvanceService; | 20 import org.dive4elements.river.client.client.services.AdvanceService; |
21 | 21 |
22 | 22 |
23 /** | 23 /** |
24 * This interface provides artifact specific operation ADVANCE. | 24 * This interface provides artifact specific operation ADVANCE. |
25 * | 25 * |
55 | 55 |
56 HttpClient client = new HttpClientImpl(url, locale); | 56 HttpClient client = new HttpClientImpl(url, locale); |
57 | 57 |
58 try { | 58 try { |
59 Document description = (Document) client.advance( | 59 Document description = (Document) client.advance( |
60 new de.intevation.artifacts.httpclient.objects.Artifact( | 60 new org.dive4elements.artifacts.httpclient.objects.Artifact( |
61 artifact.getUuid(), | 61 artifact.getUuid(), |
62 artifact.getHash()), | 62 artifact.getHash()), |
63 advance, | 63 advance, |
64 new DocumentResponseHandler()); | 64 new DocumentResponseHandler()); |
65 | 65 |