view 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
line wrap: on
line source
/**
 *
 */
package de.intevation.gnv.geobackend.base.query.container;

import java.util.Collection;
import java.util.Properties;

import de.intevation.gnv.geobackend.base.query.container.exception.QueryContainerException;

/**
 * @author Tim Englich <tim.englich@intevation.de>
 *
 */
public interface QueryContainer {
    

    /**
     * Returns the Query specified by the given queryID.
     * @param queryID the ID which speciogies the Query which should be returned
     * @return the Query
     * @throws QueryContainerException
     */
    public String getQuery(String queryID) throws QueryContainerException;

    /**
     * Returns all QueryIDs provided by the Querycontainer
     * @return ll QueryIDs provided by the Querycontainer
     * @throws QueryContainerException
     */
    public Collection<String> gerQueryIDs() throws QueryContainerException;;

    /**
     * Initializes the QueryContainer
     * @param properties The Properties which should be used for initializing QueryContainer
     * @throws QueryContainerException
     */
    public void initialize(Properties properties) throws QueryContainerException;
}

http://dive4elements.wald.intevation.org