Package org.apache.ofbiz.webpos
Class WebPosEvents
- java.lang.Object
-
- org.apache.ofbiz.webpos.WebPosEvents
-
public class WebPosEvents extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
module
-
Constructor Summary
Constructors Constructor Description WebPosEvents()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
completeSale(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
static java.lang.String
emptyCartAndClearAutoSaveList(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
static java.lang.String
existsWebPosSession(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
static java.lang.String
getProductType(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
static WebPosSession
getWebPosSession(javax.servlet.http.HttpServletRequest request, java.lang.String posTerminalId)
static java.lang.String
posLogin(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
static void
removeWebPosSession(javax.servlet.http.HttpServletRequest request, java.lang.String posTerminalId)
-
-
-
Method Detail
-
posLogin
public static java.lang.String posLogin(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.UnsupportedEncodingException
- Throws:
java.io.UnsupportedEncodingException
-
existsWebPosSession
public static java.lang.String existsWebPosSession(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
getWebPosSession
public static WebPosSession getWebPosSession(javax.servlet.http.HttpServletRequest request, java.lang.String posTerminalId)
-
removeWebPosSession
public static void removeWebPosSession(javax.servlet.http.HttpServletRequest request, java.lang.String posTerminalId)
-
completeSale
public static java.lang.String completeSale(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws GeneralException
- Throws:
GeneralException
-
emptyCartAndClearAutoSaveList
public static java.lang.String emptyCartAndClearAutoSaveList(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws GeneralException
- Throws:
GeneralException
-
getProductType
public static java.lang.String getProductType(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
-