tim@132: package de.intevation.gnv.geobackend.base.query.container; tim@132: sascha@886: import de.intevation.gnv.geobackend.base.query.container.exception.QueryContainerException; sascha@886: tim@132: import java.util.Properties; tim@132: tim@132: /** tim@132: * @author Tim Englich tim@132: * tim@132: */ tim@132: public interface QueryContainer { sascha@885: tim@132: tim@132: /** tim@132: * Returns the Query specified by the given queryID. tim@132: * @param queryID the ID which speciogies the Query which should be returned tim@132: * @return the Query tim@132: * @throws QueryContainerException tim@132: */ tim@132: public String getQuery(String queryID) throws QueryContainerException; tim@132: tim@132: /** tim@132: * Initializes the QueryContainer tim@132: * @param properties The Properties which should be used for initializing QueryContainer tim@132: * @throws QueryContainerException tim@132: */ tim@132: public void initialize(Properties properties) throws QueryContainerException; tim@132: }