tim@132: /** tim@132: * tim@132: */ tim@132: package de.intevation.gnv.geobackend.base.query.container; tim@132: tim@132: import java.util.Collection; tim@132: import java.util.Properties; tim@132: tim@132: import de.intevation.gnv.geobackend.base.query.container.exception.QueryContainerException; tim@132: tim@132: /** tim@132: * @author Tim Englich tim@132: * tim@132: */ tim@132: public interface QueryContainer { tim@132: 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: * Returns all QueryIDs provided by the Querycontainer tim@132: * @return ll QueryIDs provided by the Querycontainer tim@132: * @throws QueryContainerException tim@132: */ tim@132: public Collection gerQueryIDs() 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: }