Class GenericFormsProvider


  • public abstract class GenericFormsProvider
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Collection<fr.paris.lutece.plugins.workflowcore.service.provider.InfoMarker> getProviderMarkerDescriptions​(Form form)
      Get the reference list of available InfoMarkers
      static java.util.Map<java.lang.String,​java.lang.Object> getTitlesModel​(Form form)
      Get the question titles as model, for the given form
      static java.util.Map<java.lang.String,​java.lang.Object> getValuesModel​(FormResponse formResponse, javax.servlet.http.HttpServletRequest request)
      provide forms values as model (map)
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GenericFormsProvider

        public GenericFormsProvider()
    • Method Detail

      • getValuesModel

        public static java.util.Map<java.lang.String,​java.lang.Object> getValuesModel​(FormResponse formResponse,
                                                                                            javax.servlet.http.HttpServletRequest request)
        provide forms values as model (map)
        Parameters:
        formResponse -
        request -
        Returns:
        the model map
      • getTitlesModel

        public static java.util.Map<java.lang.String,​java.lang.Object> getTitlesModel​(Form form)
        Get the question titles as model, for the given form
        Parameters:
        form - The form
        Returns:
        the map of markers
      • getProviderMarkerDescriptions

        public static java.util.Collection<fr.paris.lutece.plugins.workflowcore.service.provider.InfoMarker> getProviderMarkerDescriptions​(Form form)
        Get the reference list of available InfoMarkers
        Parameters:
        form - The form
        Returns:
        the collection of the Markers