comparison artifact-database/src/main/java/org/dive4elements/artifactdatabase/CollectionCallContext.java @ 473:d0ac790a6c89 dive4elements-move

Moved directories to org.dive4elements
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 25 Apr 2013 10:57:18 +0200
parents artifact-database/src/main/java/de/intevation/artifactdatabase/CollectionCallContext.java@089c6f7794b5
children 415df0fc4fa1
comparison
equal deleted inserted replaced
472:783cc1b6b615 473:d0ac790a6c89
1 /*
2 * Copyright (c) 2011 by Intevation GmbH
3 *
4 * This program is free software under the LGPL (>=v2.1)
5 * Read the file LGPL.txt coming with the software for details
6 * or visit http://www.gnu.org/licenses/ if it does not exist.
7 */
8 package de.intevation.artifactdatabase;
9
10 import java.util.LinkedList;
11
12 import org.apache.log4j.Logger;
13
14 import de.intevation.artifacts.ArtifactCollection;
15 import de.intevation.artifacts.CallMeta;
16 import de.intevation.artifacts.Message;
17
18
19 /**
20 * Class that implements the call context handed to ArtifactCollection specific
21 * operations.
22 *
23 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
24 */
25 public class CollectionCallContext extends AbstractCallContext {
26
27 private static Logger log = Logger.getLogger(CollectionCallContext.class);
28
29 /**
30 * The ArtifactCollection.
31 */
32 protected ArtifactCollection collection;
33
34
35 public CollectionCallContext(
36 ArtifactDatabaseImpl artifactDatabase,
37 int action,
38 CallMeta callMeta,
39 ArtifactCollection collection)
40 {
41 super(artifactDatabase, action, callMeta);
42
43 this.collection = collection;
44 }
45
46
47 public void afterCall(int action) {
48 log.debug("CollectionCallContext.afterCall - NOT IMPLEMENTED");
49 }
50
51
52 public void afterBackground(int action) {
53 log.debug("CollectionCallContext.afterBackground - NOT IMPLEMENTED");
54 }
55
56
57 public boolean isInBackground() {
58 log.debug("CollectionCallContext.isInBackground - NOT IMPLEMENTED");
59 return false;
60 }
61
62
63 public void addBackgroundMessage(Message msg) {
64 log.debug("CollectionCallContext.addBackgroundMessage NOT IMPLEMENTED");
65 }
66
67
68 public LinkedList<Message> getBackgroundMessages() {
69 log.debug("CollectionCallContext.addBackgroundMessage NOT IMPLEMENTED");
70 return null;
71 }
72
73
74 public Long getTimeToLive() {
75 log.debug("CollectionCallContext.getTimeToLive - NOT IMPLEMENTED");
76 return null;
77 }
78 }
79 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org