Class 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()  
    • Field Detail

      • module

        public static final java.lang.String module
    • 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.