Package org.apache.ofbiz.webtools
Class GenericWebEvent
- java.lang.Object
-
- org.apache.ofbiz.webtools.GenericWebEvent
-
public class GenericWebEvent extends java.lang.Object
Web Event for doing updates on Generic Entities
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
err_resource
static java.lang.String
module
-
Constructor Summary
Constructors Constructor Description GenericWebEvent()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
updateGeneric(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
An HTTP WebEvent handler that updates a Generic entity
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
err_resource
public static final java.lang.String err_resource
- See Also:
- Constant Field Values
-
-
Method Detail
-
updateGeneric
public static java.lang.String updateGeneric(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
An HTTP WebEvent handler that updates a Generic entity- Parameters:
request
- The HTTP request object for the current JSP or Servlet request.response
- The HTTP response object for the current JSP or Servlet request.- Returns:
- Returns a String specifying the outcome state of the event. This is used to decide which event to run next or which view to display. If null no event is run nor view displayed, allowing the event to call a forward on a RequestDispatcher.
-
-