Class FormsProvider

  • All Implemented Interfaces:
    fr.paris.lutece.plugins.workflowcore.service.provider.IProvider

    public class FormsProvider
    extends java.lang.Object
    implements fr.paris.lutece.plugins.workflowcore.service.provider.IProvider
    This class represents a provider for a Forms object
    • Field Detail

      • PARAMETER_VIEW_FORM_RESPONSE_DETAILS

        public static final java.lang.String PARAMETER_VIEW_FORM_RESPONSE_DETAILS
        See Also:
        Constant Field Values
      • PARAMETER_VIEW_FORM_RESPONSE_DETAILS_FO

        public static final java.lang.String PARAMETER_VIEW_FORM_RESPONSE_DETAILS_FO
        See Also:
        Constant Field Values
      • PARAMETER_ID_FORM_RESPONSES

        public static final java.lang.String PARAMETER_ID_FORM_RESPONSES
        See Also:
        Constant Field Values
      • PARAMETER_ID_FORM_RESPONSES_FO

        public static final java.lang.String PARAMETER_ID_FORM_RESPONSES_FO
        See Also:
        Constant Field Values
      • PARAMETER_PAGE_FORM_RESPONSE

        public static final java.lang.String PARAMETER_PAGE_FORM_RESPONSE
        See Also:
        Constant Field Values
    • Constructor Detail

      • FormsProvider

        public FormsProvider​(java.lang.String strProviderManagerId,
                             java.lang.String strProviderId,
                             fr.paris.lutece.plugins.workflowcore.business.resource.ResourceHistory resourceHistory,
                             javax.servlet.http.HttpServletRequest request)
        Constructor
        Parameters:
        strProviderManagerId - the provider manager id. Used to retrieve the mapping.
        strProviderId - the provider id. Corresponds to the Forms id. Used to retrieve the mapping.
        resourceHistory - the resource history. Corresponds to the FormResponse object containing the data to provide
        request - the request
    • Method Detail

      • provideDemandId

        public java.lang.String provideDemandId()
        Specified by:
        provideDemandId in interface fr.paris.lutece.plugins.workflowcore.service.provider.IProvider
      • provideDemandTypeId

        public java.lang.String provideDemandTypeId()
        Specified by:
        provideDemandTypeId in interface fr.paris.lutece.plugins.workflowcore.service.provider.IProvider
      • provideDemandSubtypeId

        public java.lang.String provideDemandSubtypeId()
        Specified by:
        provideDemandSubtypeId in interface fr.paris.lutece.plugins.workflowcore.service.provider.IProvider
      • provideDemandReference

        public java.lang.String provideDemandReference()
        Specified by:
        provideDemandReference in interface fr.paris.lutece.plugins.workflowcore.service.provider.IProvider
      • provideCustomerConnectionId

        public java.lang.String provideCustomerConnectionId()
        Specified by:
        provideCustomerConnectionId in interface fr.paris.lutece.plugins.workflowcore.service.provider.IProvider
      • provideCustomerId

        public java.lang.String provideCustomerId()
        Specified by:
        provideCustomerId in interface fr.paris.lutece.plugins.workflowcore.service.provider.IProvider
      • provideCustomerEmail

        public java.lang.String provideCustomerEmail()
        Specified by:
        provideCustomerEmail in interface fr.paris.lutece.plugins.workflowcore.service.provider.IProvider
      • provideSmsSender

        public java.lang.String provideSmsSender()
        Specified by:
        provideSmsSender in interface fr.paris.lutece.plugins.workflowcore.service.provider.IProvider
      • provideCustomerMobilePhone

        public java.lang.String provideCustomerMobilePhone()
        Specified by:
        provideCustomerMobilePhone in interface fr.paris.lutece.plugins.workflowcore.service.provider.IProvider
      • provideMarkerValues

        public java.util.Collection<fr.paris.lutece.plugins.workflowcore.service.provider.InfoMarker> provideMarkerValues()
        Specified by:
        provideMarkerValues in interface fr.paris.lutece.plugins.workflowcore.service.provider.IProvider