Class TermsOfServiceXPage

java.lang.Object
fr.paris.lutece.portal.util.mvc.xpage.MVCApplication
fr.paris.lutece.plugins.forms.web.TermsOfServiceXPage
All Implemented Interfaces:
fr.paris.lutece.portal.web.xpages.XPageApplication, Serializable

@RequestScoped @Named("forms.xpage.formsTermsOfService") @Controller(xpageName="formsTermsOfService", pageTitleI18nKey="forms.xpage.termsOfService.view.pageTitle", pagePathI18nKey="forms.xpage.form.termsOfService.pagePathLabel") public class TermsOfServiceXPage extends fr.paris.lutece.portal.util.mvc.xpage.MVCApplication
This class is an XPage for the terms of service
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    fr.paris.lutece.portal.web.xpages.XPage
    getAcceptedTermsOfServiceView(jakarta.servlet.http.HttpServletRequest request)
    Returns the view for the accepted terms of service
    fr.paris.lutece.portal.web.xpages.XPage
    getTermsOfServiceView(jakarta.servlet.http.HttpServletRequest request)
    Returns the view for the terms of service

    Methods inherited from class fr.paris.lutece.portal.util.mvc.xpage.MVCApplication

    getPage, getRealClass

    Methods inherited from class java.lang.Object

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

    • TermsOfServiceXPage

      public TermsOfServiceXPage()
  • Method Details

    • getTermsOfServiceView

      @View(value="termsOfService", defaultView=true) public fr.paris.lutece.portal.web.xpages.XPage getTermsOfServiceView(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.message.SiteMessageException
      Returns the view for the terms of service
      Parameters:
      request - The HttpServletRequest
      Returns:
      the view associated to the terms of service
      Throws:
      fr.paris.lutece.portal.service.message.SiteMessageException - if there is an error during the treatment
    • getAcceptedTermsOfServiceView

      @View("acceptedTermsOfService") public fr.paris.lutece.portal.web.xpages.XPage getAcceptedTermsOfServiceView(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.message.SiteMessageException
      Returns the view for the accepted terms of service
      Parameters:
      request - The request
      Returns:
      the view associated to the accepted terms of service
      Throws:
      fr.paris.lutece.portal.service.message.SiteMessageException - if there is an error during the generation