Mercurial > dive4elements > river
annotate flys-client/src/main/java/de/intevation/flys/client/client/services/RemoveArtifactService.java @ 4253:a1bc5b8cff0f
Refactor GaugePanel to create it's own SectionStackSection
The GaugePanel constructor now creates a SectionStackSection instead of
using a provided one.
Improve the rendering of the GaugePanel by having access to the SmartGWT wrapper
(WidgetCanvas) object for the GWT Tree (GaugeTree) directly.
Add methods to close and open the section. Also add a getter for the section.
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Thu, 25 Oct 2012 13:52:58 +0200 |
parents | bc06a671ef60 |
children |
rev | line source |
---|---|
1319
6ba17b628552
Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
1 package de.intevation.flys.client.client.services; |
6ba17b628552
Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
2 |
6ba17b628552
Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
3 import com.google.gwt.user.client.rpc.RemoteService; |
6ba17b628552
Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
4 import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; |
6ba17b628552
Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
5 |
6ba17b628552
Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
6 import de.intevation.flys.client.shared.exceptions.ServerException; |
6ba17b628552
Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
7 import de.intevation.flys.client.shared.model.Collection; |
6ba17b628552
Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
8 |
6ba17b628552
Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
9 |
6ba17b628552
Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
10 /** |
6ba17b628552
Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
11 * This interface describes the service to remove an existing artifact to an |
6ba17b628552
Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
12 * existing collection. |
6ba17b628552
Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
13 * |
6ba17b628552
Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
14 */ |
6ba17b628552
Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
15 @RemoteServiceRelativePath("remove-artifact") |
6ba17b628552
Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
16 public interface RemoveArtifactService extends RemoteService { |
6ba17b628552
Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
17 |
6ba17b628552
Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
18 /** |
6ba17b628552
Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
19 * Removes an artifact from a collection. |
6ba17b628552
Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
20 * |
6ba17b628552
Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
21 * @param collection The Collection that should be modified. |
6ba17b628552
Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
22 * @param artifactId The artifact that should be removed. |
6ba17b628552
Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
23 * @param url The url of the artifact server. |
6ba17b628552
Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
24 * @param locale locae to use (for localized responses). |
6ba17b628552
Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
25 * |
6ba17b628552
Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
26 * @return the Collection after the operation. |
6ba17b628552
Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
27 */ |
6ba17b628552
Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
28 Collection remove( |
6ba17b628552
Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
29 Collection collection, |
6ba17b628552
Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
30 String artifactId, |
6ba17b628552
Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
31 String locale) |
6ba17b628552
Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
32 throws ServerException; |
6ba17b628552
Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
33 } |
6ba17b628552
Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
34 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |