Class TermsOfServiceXPage

  • All Implemented Interfaces:
    fr.paris.lutece.portal.web.xpages.XPageApplication, java.io.Serializable

    @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:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      fr.paris.lutece.portal.web.xpages.XPage getAcceptedTermsOfServiceView​(javax.servlet.http.HttpServletRequest request)
      Returns the view for the accepted terms of service
      fr.paris.lutece.portal.web.xpages.XPage getTermsOfServiceView​(javax.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
      • Methods inherited from class java.lang.Object

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

      • TermsOfServiceXPage

        public TermsOfServiceXPage()
    • Method Detail

      • getTermsOfServiceView

        @View(value="termsOfService",
              defaultView=true)
        public fr.paris.lutece.portal.web.xpages.XPage getTermsOfServiceView​(javax.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​(javax.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