annotate flys-client/src/main/java/de/intevation/flys/client/server/RemoveArtifactServiceImpl.java @ 1341:e26088566e8a

Use images for line type and line size selection. flys-client/trunk@2991 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Mon, 17 Oct 2011 15:17:28 +0000
parents 6ba17b628552
children ab8eb2f544f2
rev   line source
1319
6ba17b628552 Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
1 package de.intevation.flys.client.server;
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 de.intevation.flys.client.shared.exceptions.ServerException;
6ba17b628552 Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
4 import de.intevation.flys.client.shared.model.Collection;
6ba17b628552 Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
5 import de.intevation.flys.client.client.services.RemoveArtifactService;
6ba17b628552 Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
6
6ba17b628552 Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
7
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 * Implementation of RemoveArtifactService .
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 public class RemoveArtifactServiceImpl
6ba17b628552 Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
12 extends DescribeCollectionServiceImpl
6ba17b628552 Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
13 implements RemoveArtifactService
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 public Collection remove(
6ba17b628552 Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
16 Collection collection,
6ba17b628552 Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
17 String artifactId,
6ba17b628552 Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
18 String url,
6ba17b628552 Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
19 String locale)
6ba17b628552 Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
20 throws ServerException
6ba17b628552 Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
21 {
6ba17b628552 Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
22 System.out.println("RemoveArtifactServiceImpl.remove");
6ba17b628552 Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
23
6ba17b628552 Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
24 return CollectionHelper.removeArtifact(collection, artifactId, url, locale);
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 }
6ba17b628552 Added RemoveArtifactService.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
27 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org