com.konakart.app
Class KKTorque

java.lang.Object
  extended by com.konakart.app.KKTorque

public class KKTorque
extends java.lang.Object

This is a class for setting up Torque for KonaKart


Field Summary
protected static org.apache.commons.logging.Log log
          the log
 
Method Summary
static java.lang.String fixQueryString(java.lang.String queryString)
          Some post processing of the query string to fix the query so that it will run.
static java.lang.String getDbOwner()
           
static KKDbMapMgr getKkDbMapMgr()
           
static void init()
          Initialise/Amend the KonaKart Torque data structures for "problem" databases (like Oracle)
static void setDbOwner(java.lang.String dbOwner)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.commons.logging.Log log
the log

Method Detail

init

public static void init()
                 throws KKException
Initialise/Amend the KonaKart Torque data structures for "problem" databases (like Oracle)

Throws:
KKException

fixQueryString

public static java.lang.String fixQueryString(java.lang.String queryString)
Some post processing of the query string to fix the query so that it will run. We only need to do this if we have price constraints.

Parameters:
queryString -
Returns:
Modified query string

getKkDbMapMgr

public static KKDbMapMgr getKkDbMapMgr()
Returns:
Returns the kkDbMapMgr.

getDbOwner

public static java.lang.String getDbOwner()
Returns:
Returns the dbOwner.

setDbOwner

public static void setDbOwner(java.lang.String dbOwner)
Parameters:
dbOwner - The dbOwner to set.


Copyright © 2011 DS Data Systems UK Ltd.