Mercurial > dive4elements > gnv-client
comparison geo-backend/src/main/java/de/intevation/gnv/geobackend/base/query/container/QueryContainer.java @ 132:5a583cff97ea
Implementation of the Datainfrastructure for fetching Data from different DataStores.
geo-backend/trunk@12 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Fri, 04 Sep 2009 08:11:30 +0000 |
parents | |
children | ff1b7967e6b9 |
comparison
equal
deleted
inserted
replaced
131:d8ff739b9f3b | 132:5a583cff97ea |
---|---|
1 /** | |
2 * | |
3 */ | |
4 package de.intevation.gnv.geobackend.base.query.container; | |
5 | |
6 import java.util.Collection; | |
7 import java.util.Properties; | |
8 | |
9 import de.intevation.gnv.geobackend.base.query.container.exception.QueryContainerException; | |
10 | |
11 /** | |
12 * @author Tim Englich <tim.englich@intevation.de> | |
13 * | |
14 */ | |
15 public interface QueryContainer { | |
16 | |
17 | |
18 /** | |
19 * Returns the Query specified by the given queryID. | |
20 * @param queryID the ID which speciogies the Query which should be returned | |
21 * @return the Query | |
22 * @throws QueryContainerException | |
23 */ | |
24 public String getQuery(String queryID) throws QueryContainerException; | |
25 | |
26 /** | |
27 * Returns all QueryIDs provided by the Querycontainer | |
28 * @return ll QueryIDs provided by the Querycontainer | |
29 * @throws QueryContainerException | |
30 */ | |
31 public Collection<String> gerQueryIDs() throws QueryContainerException;; | |
32 | |
33 /** | |
34 * Initializes the QueryContainer | |
35 * @param properties The Properties which should be used for initializing QueryContainer | |
36 * @throws QueryContainerException | |
37 */ | |
38 public void initialize(Properties properties) throws QueryContainerException; | |
39 } |