net.commerce.zocalo.JspSupport
Class TradeHistory

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by net.commerce.zocalo.JspSupport.ReloadablePage
              extended by net.commerce.zocalo.JspSupport.UserPage
                  extended by net.commerce.zocalo.JspSupport.TradeHistory
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class TradeHistory
extends UserPage

TradeHistory displays trading history in a tabular form.

See Also:
Serialized Form

Field Summary
static java.text.SimpleDateFormat datePrinter
           
static java.lang.String HISTORY_JSP
           
static java.lang.String HISTORY_NAME
           
static java.lang.String PAGE_TITLE
           
 
Constructor Summary
TradeHistory()
           
 
Method Summary
 java.lang.String getRequestURL(javax.servlet.http.HttpServletRequest request)
           
 SecureUser getUser()
           
 java.lang.String navButtons()
           
static void printRow(java.lang.StringBuffer buff, Trade trade, java.lang.String posLabel)
           
 void processRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 java.lang.String tradeTable()
           
 
Methods inherited from class net.commerce.zocalo.JspSupport.UserPage
detectAdminCookie, getUserName, isAdminUser, navButtons, setAdminUser, setUserName, warn
 
Methods inherited from class net.commerce.zocalo.JspSupport.ReloadablePage
addCookiesToResponse, beginTransaction, commitTransaction, doGet, doPost, redirectResult, redirectResult
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HISTORY_JSP

public static final java.lang.String HISTORY_JSP
See Also:
Constant Field Values

HISTORY_NAME

public static final java.lang.String HISTORY_NAME
See Also:
Constant Field Values

datePrinter

public static final java.text.SimpleDateFormat datePrinter

PAGE_TITLE

public static final java.lang.String PAGE_TITLE
See Also:
Constant Field Values
Constructor Detail

TradeHistory

public TradeHistory()
Method Detail

processRequest

public void processRequest(javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response)
Specified by:
processRequest in class ReloadablePage

tradeTable

public java.lang.String tradeTable()

printRow

public static void printRow(java.lang.StringBuffer buff,
                            Trade trade,
                            java.lang.String posLabel)

getRequestURL

public java.lang.String getRequestURL(javax.servlet.http.HttpServletRequest request)
Specified by:
getRequestURL in class ReloadablePage

getUser

public SecureUser getUser()
Overrides:
getUser in class UserPage

navButtons

public java.lang.String navButtons()