com.wm.app.tn.db
Class EventOperations

java.lang.Object
  extended by com.wm.app.tn.db.EventOperations

public class EventOperations
extends java.lang.Object


Field Summary
static boolean dbLogging
           
 
Constructor Summary
EventOperations()
           
 
Method Summary
static int delete(EventQuery query)
           
static java.lang.String getB2BUser()
           
static java.lang.String getPartner(java.sql.Connection conn)
           
static int log(ActivityLogEntry e)
           
static int log(java.sql.Connection conn, ActivityLogEntry e)
           
static com.wm.data.IData query(EventQuery query, int pageSize, int maxR, int qryT, int threshold, java.lang.String queryId)
           
static void setDbLogging(boolean state)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dbLogging

public static boolean dbLogging
Constructor Detail

EventOperations

public EventOperations()
Method Detail

setDbLogging

public static void setDbLogging(boolean state)

getB2BUser

public static java.lang.String getB2BUser()

getPartner

public static java.lang.String getPartner(java.sql.Connection conn)

log

public static int log(ActivityLogEntry e)

log

public static int log(java.sql.Connection conn,
                      ActivityLogEntry e)
               throws java.sql.SQLException
Throws:
java.sql.SQLException

query

public static com.wm.data.IData query(EventQuery query,
                                      int pageSize,
                                      int maxR,
                                      int qryT,
                                      int threshold,
                                      java.lang.String queryId)
                               throws java.sql.SQLException,
                                      java.io.IOException,
                                      com.wm.app.repo.RepositoryException,
                                      com.wm.app.b2b.server.ServiceException
Throws:
java.sql.SQLException
java.io.IOException
com.wm.app.repo.RepositoryException
com.wm.app.b2b.server.ServiceException

delete

public static int delete(EventQuery query)
                  throws java.sql.SQLException
Throws:
java.sql.SQLException