annotate flys-client/src/main/java/de/intevation/flys/client/server/RemoveArtifactServiceImpl.java @ 1320:5733c05ce24c

Added removeArtifact CollectionHelper method. flys-client/trunk@2961 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 13 Oct 2011 12:30:08 +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