ingo@219: /* ingo@219: * Copyright (c) 2011 by Intevation GmbH ingo@219: * ingo@219: * This program is free software under the LGPL (>=v2.1) ingo@219: * Read the file LGPL.txt coming with the software for details ingo@219: * or visit http://www.gnu.org/licenses/ if it does not exist. ingo@219: */ ingo@219: package de.intevation.artifactdatabase; ingo@219: ingo@331: import java.util.LinkedList; ingo@331: ingo@219: import org.apache.log4j.Logger; ingo@219: ingo@219: import de.intevation.artifacts.ArtifactCollection; ingo@219: import de.intevation.artifacts.CallMeta; ingo@331: import de.intevation.artifacts.Message; ingo@219: ingo@219: ingo@219: /** ingo@219: * Class that implements the call context handed to ArtifactCollection specific ingo@219: * operations. ingo@219: * ingo@219: * @author Ingo Weinzierl ingo@219: */ ingo@219: public class CollectionCallContext extends AbstractCallContext { ingo@219: ingo@219: private static Logger log = Logger.getLogger(CollectionCallContext.class); ingo@219: ingo@219: /** ingo@219: * The ArtifactCollection. ingo@219: */ ingo@219: protected ArtifactCollection collection; ingo@219: ingo@219: ingo@219: public CollectionCallContext( ingo@219: ArtifactDatabaseImpl artifactDatabase, ingo@219: int action, ingo@219: CallMeta callMeta, ingo@219: ArtifactCollection collection) ingo@219: { sascha@246: super(artifactDatabase, action, callMeta); ingo@219: ingo@219: this.collection = collection; ingo@219: } ingo@219: ingo@219: ingo@219: public void afterCall(int action) { ingo@219: log.debug("CollectionCallContext.afterCall - NOT IMPLEMENTED"); ingo@219: } ingo@219: ingo@219: ingo@219: public void afterBackground(int action) { ingo@219: log.debug("CollectionCallContext.afterBackground - NOT IMPLEMENTED"); ingo@219: } ingo@219: ingo@219: ingo@330: public boolean isInBackground() { ingo@330: log.debug("CollectionCallContext.isInBackground - NOT IMPLEMENTED"); ingo@330: return false; ingo@330: } ingo@330: ingo@330: ingo@331: public void addBackgroundMessage(Message msg) { ingo@331: log.debug("CollectionCallContext.addBackgroundMessage NOT IMPLEMENTED"); ingo@331: } ingo@331: ingo@331: ingo@331: public LinkedList getBackgroundMessages() { ingo@331: log.debug("CollectionCallContext.addBackgroundMessage NOT IMPLEMENTED"); ingo@331: return null; ingo@331: } ingo@331: ingo@331: ingo@219: public Long getTimeToLive() { ingo@219: log.debug("CollectionCallContext.getTimeToLive - NOT IMPLEMENTED"); ingo@219: return null; ingo@219: } ingo@219: } ingo@219: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :