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
@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 -
Method Summary
Modifier and TypeMethodDescriptionfr.paris.lutece.portal.web.xpages.XPagegetAcceptedTermsOfServiceView(javax.servlet.http.HttpServletRequest request) Returns the view for the accepted terms of servicefr.paris.lutece.portal.web.xpages.XPagegetTermsOfServiceView(javax.servlet.http.HttpServletRequest request) Returns the view for the terms of serviceMethods inherited from class fr.paris.lutece.portal.util.mvc.xpage.MVCApplication
getPage
-
Constructor Details
-
TermsOfServiceXPage
public TermsOfServiceXPage()
-
-
Method Details
-
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
-