Package org.bedework.eventreg.bus
Class Request
- java.lang.Object
-
- org.bedework.util.servlet.ReqUtil
-
- org.bedework.eventreg.bus.Request
-
- All Implemented Interfaces:
Serializable
public class Request extends org.bedework.util.servlet.ReqUtil- Author:
- douglm
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringreqparAdminTokenRequest parameter - admin tokenstatic StringreqparCalsuiteRequest parameter - calsuitestatic StringreqparCommentRequest parameter - commentstatic StringreqparCSVHeaderRequest parameter - add header to csv - default truestatic StringreqparDefaultstatic StringreqparDescriptionRequest parameter - commentstatic StringreqparDisablestatic StringreqparEmailRequest parameter - email addressstatic StringreqparFilenameRequest parameter - filenamestatic StringreqparHeightstatic StringreqparHrefRequest parameter - hrefstatic StringreqparLabelstatic StringreqparLastmodRequest parameter - lastmodstatic StringreqparMultistatic StringreqparNumticketsRequest parameter - number of ticketsstatic StringreqparOptionsstatic StringreqparOrderstatic StringreqparRegIdRequest parameter - ticket idstatic StringreqparRequiredstatic StringreqparTypestatic StringreqparValuestatic StringreqparWidth
-
Constructor Summary
Constructors Constructor Description Request(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanformNamePresent()StringgetAdminToken()StringgetCalsuite()StringgetComment()booleangetCsvHeader()booleangetDefault()StringgetDescription()booleangetDisable()StringgetEmail()StringgetFilename(String def)StringgetFormName()StringgetGroup()StringgetHeight()StringgetHref()StringgetLabel()StringgetLastmod()booleangetMulti()StringgetName()StringgetOptions()intgetOrder()LonggetRegistrationId()booleangetRequired()intgetTicketsRequested()StringgetType()StringgetValue()StringgetWidth()booleangroupPresent()static StringvalidName(String name)-
Methods inherited from class org.bedework.util.servlet.ReqUtil
getBooleanReqPar, getBooleanReqPar, getErrFlag, getIntReqPar, getIntReqPar, getLocales, getLongReqPar, getLongReqPar, getRemoteAddr, getRemoteHost, getRemotePort, getReqPar, getReqPar, getReqPars, getRequest, getRequestAttr, getResponse, getSessionAttr, notNull, present, removeSessionAttr, setErrFlag, setRequestAttr, setSessionAttr
-
-
-
-
Field Detail
-
reqparAdminToken
public static final String reqparAdminToken
Request parameter - admin token- See Also:
- Constant Field Values
-
reqparCalsuite
public static final String reqparCalsuite
Request parameter - calsuite- See Also:
- Constant Field Values
-
reqparComment
public static final String reqparComment
Request parameter - comment- See Also:
- Constant Field Values
-
reqparDescription
public static final String reqparDescription
Request parameter - comment- See Also:
- Constant Field Values
-
reqparHref
public static final String reqparHref
Request parameter - href- See Also:
- Constant Field Values
-
reqparNumtickets
public static final String reqparNumtickets
Request parameter - number of tickets- See Also:
- Constant Field Values
-
reqparRegId
public static final String reqparRegId
Request parameter - ticket id- See Also:
- Constant Field Values
-
reqparCSVHeader
public static final String reqparCSVHeader
Request parameter - add header to csv - default true- See Also:
- Constant Field Values
-
reqparEmail
public static final String reqparEmail
Request parameter - email address- See Also:
- Constant Field Values
-
reqparFilename
public static final String reqparFilename
Request parameter - filename- See Also:
- Constant Field Values
-
reqparLastmod
public static final String reqparLastmod
Request parameter - lastmod- See Also:
- Constant Field Values
-
reqparDefault
public static final String reqparDefault
- See Also:
- Constant Field Values
-
reqparDisable
public static final String reqparDisable
- See Also:
- Constant Field Values
-
reqparHeight
public static final String reqparHeight
- See Also:
- Constant Field Values
-
reqparLabel
public static final String reqparLabel
- See Also:
- Constant Field Values
-
reqparMulti
public static final String reqparMulti
- See Also:
- Constant Field Values
-
reqparOrder
public static final String reqparOrder
- See Also:
- Constant Field Values
-
reqparRequired
public static final String reqparRequired
- See Also:
- Constant Field Values
-
reqparOptions
public static final String reqparOptions
- See Also:
- Constant Field Values
-
reqparType
public static final String reqparType
- See Also:
- Constant Field Values
-
reqparValue
public static final String reqparValue
- See Also:
- Constant Field Values
-
reqparWidth
public static final String reqparWidth
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTicketsRequested
public int getTicketsRequested() throws Throwable- Returns:
- number of tickets or -1 for no parameter
- Throws:
Throwable
-
getAdminToken
public String getAdminToken()
- Returns:
- admin token or null for no parameter
-
getFilename
public String getFilename(String def)
- Parameters:
def- default- Returns:
- filename or null for no parameter
-
getRegistrationId
public Long getRegistrationId() throws Throwable
- Returns:
- ticket id or null for no parameter
- Throws:
Throwable
-
getCsvHeader
public boolean getCsvHeader() throws Throwable- Returns:
- true if header required
- Throws:
Throwable
-
getCalsuite
public String getCalsuite()
- Returns:
- comment or null for no parameter
-
getComment
public String getComment()
- Returns:
- comment or null for no parameter
-
getLastmod
public String getLastmod()
- Returns:
- lastmod or null for no parameter
-
getEmail
public String getEmail()
- Returns:
- email or null for no parameter
-
getHref
public String getHref()
- Returns:
- href or null for no parameter
-
getDefault
public boolean getDefault() throws Throwable- Returns:
- par or null for no parameter
- Throws:
Throwable
-
formNamePresent
public boolean formNamePresent() throws EventregException- Returns:
- par or null for no parameter
- Throws:
EventregException
-
getFormName
public String getFormName() throws EventregException
- Returns:
- par or null for no parameter
- Throws:
EventregException
-
getName
public String getName() throws EventregException
- Returns:
- par or null for no parameter
- Throws:
EventregException
-
groupPresent
public boolean groupPresent() throws EventregException- Returns:
- par or null for no parameter
- Throws:
EventregException
-
getGroup
public String getGroup() throws EventregException
- Returns:
- par or null for no parameter
- Throws:
EventregException
-
getDescription
public String getDescription()
- Returns:
- par or null for no parameter
-
getHeight
public String getHeight()
- Returns:
- par or null for no parameter
-
getLabel
public String getLabel()
- Returns:
- par or null for no parameter
-
getDisable
public boolean getDisable() throws Throwable- Returns:
- par or null for no parameter
- Throws:
Throwable
-
getMulti
public boolean getMulti() throws Throwable- Returns:
- par or null for no parameter
- Throws:
Throwable
-
getOrder
public int getOrder() throws Throwable- Returns:
- par or null for no parameter
- Throws:
Throwable
-
getRequired
public boolean getRequired() throws Throwable- Returns:
- par or null for no parameter
- Throws:
Throwable
-
getOptions
public String getOptions()
- Returns:
- par or null for no parameter
-
getType
public String getType()
- Returns:
- par or null for no parameter
-
getValue
public String getValue()
- Returns:
- par or null for no parameter
-
getWidth
public String getWidth()
- Returns:
- par or null for no parameter
-
validName
public static String validName(String name) throws EventregException
- Throws:
EventregException
-
-