view geo-backend/src/main/java/de/intevation/gnv/geobackend/base/query/container/QueryContainer.java @ 891:a277ebde74e4

Added more JavaDoc geo-backend/trunk@917 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Tue, 13 Apr 2010 11:28:47 +0000
parents b757def3ff55
children ebeb56428409
line wrap: on
line source
package de.intevation.gnv.geobackend.base.query.container;

import java.util.Properties;

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

/**
 * Querycontainer is an Interface which defines the Method that are
 * required to provide the access to SQL-Queries.
 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a>
 *
 */
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;

    /**
     * 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