org.ofbiz.webtools
Class GenericWebEvent

java.lang.Object
  extended by org.ofbiz.webtools.GenericWebEvent

public class GenericWebEvent
extends java.lang.Object

Web Event for doing updates on Generic Entities


Field Summary
static java.lang.String err_resource
           
static java.lang.String module
           
 
Constructor Summary
GenericWebEvent()
           
 
Method Summary
static java.lang.String updateGeneric(HttpServletRequest request, HttpServletResponse response)
          An HTTP WebEvent handler that updates a Generic entity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

GenericWebEvent

public GenericWebEvent()
Method Detail

updateGeneric

public static java.lang.String updateGeneric(HttpServletRequest request,
                                             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.