Class GenericWebEvent

java.lang.Object
org.apache.ofbiz.webtools.GenericWebEvent

public class GenericWebEvent extends Object
Web Event for doing updates on Generic Entities
  • Constructor Details

    • GenericWebEvent

      public GenericWebEvent()
  • Method Details

    • updateGeneric

      public static 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.