ibspan.ecap.merchant.shopdecisions.dataaccess
Class DataQueryService

java.lang.Object
  extended by ibspan.ecap.merchant.shopdecisions.dataaccess.DataQueryService

public class DataQueryService
extends java.lang.Object

A service responsible for accessing the data warehouse and retrieving the knowledge contained within it. Singleton.

Author:
Micha³ Drozdowicz

Method Summary
 void executeQuery(java.lang.String queryText, ResultProcessor processor)
           
static DataQueryService getInstance()
          Gets the instance of the DataQueryService.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static DataQueryService getInstance()
Gets the instance of the DataQueryService.

Returns:
the instance

executeQuery

public void executeQuery(java.lang.String queryText,
                         ResultProcessor processor)
                  throws java.sql.SQLException
Throws:
java.sql.SQLException