ingo@69: package de.intevation.flys.client.server; ingo@69: ingo@1367: import org.apache.log4j.Logger; ingo@1367: ingo@215: import de.intevation.flys.client.shared.exceptions.ServerException; ingo@69: import de.intevation.flys.client.shared.model.Artifact; ingo@69: import de.intevation.flys.client.shared.model.Collection; ingo@69: import de.intevation.flys.client.client.services.AddArtifactService; ingo@69: ingo@69: ingo@69: /** ingo@69: * @author Ingo Weinzierl ingo@69: */ ingo@69: public class AddArtifactServiceImpl ingo@99: extends DescribeCollectionServiceImpl ingo@69: implements AddArtifactService ingo@69: { ingo@1367: private static final Logger logger = ingo@1367: Logger.getLogger(AddArtifactService.class); ingo@1367: ingo@1367: ingo@229: public Collection add( ingo@229: Collection collection, ingo@229: Artifact artifact, ingo@229: String url, ingo@229: String locale) ingo@215: throws ServerException ingo@215: { ingo@1367: logger.info("AddArtifactServiceImpl.add"); ingo@69: ingo@905: return CollectionHelper.addArtifact(collection, artifact, url, locale); ingo@69: } ingo@69: } ingo@69: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :