net.commerce.zocalo.JspSupport
Class MarketCreation

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.MarketCreation
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class MarketCreation
extends UserPage

support for a JSP page for creating new Markets.

See Also:
Serialized Form

Field Summary
static java.lang.String CREATE_MARKETS
           
static java.lang.String CREATE_MARKETS_JSP
           
static java.lang.String CREATE_MARKETS_NAME
           
 
Constructor Summary
MarketCreation()
           
 
Method Summary
 java.lang.String getMarketMakerEndowment()
           
 java.lang.String getMarketName()
           
 java.lang.String getOutcomes()
           
 java.lang.String getPositions()
           
 java.lang.String getRequestURL(javax.servlet.http.HttpServletRequest request)
           
 java.lang.String navButtons()
           
 void processRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void setMarketMakerEndowment(java.lang.String marketMakerEndowment)
           
 void setMarketName(java.lang.String marketName)
           
 void setOutcomes(java.lang.String outcomes)
           
 void setPositions(java.lang.String positions)
           
 
Methods inherited from class net.commerce.zocalo.JspSupport.UserPage
detectAdminCookie, getUser, 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

CREATE_MARKETS_JSP

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

CREATE_MARKETS_NAME

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

CREATE_MARKETS

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

MarketCreation

public MarketCreation()
Method Detail

processRequest

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

navButtons

public java.lang.String navButtons()

getRequestURL

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

getMarketName

public java.lang.String getMarketName()

setMarketName

public void setMarketName(java.lang.String marketName)

getMarketMakerEndowment

public java.lang.String getMarketMakerEndowment()

setMarketMakerEndowment

public void setMarketMakerEndowment(java.lang.String marketMakerEndowment)

setPositions

public void setPositions(java.lang.String positions)

getPositions

public java.lang.String getPositions()

getOutcomes

public java.lang.String getOutcomes()

setOutcomes

public void setOutcomes(java.lang.String outcomes)