Class FollowJspBean
java.lang.Object
fr.paris.lutece.plugins.extend.modules.follow.web.FollowJspBean
FollowJspBean
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoCancelFollow(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Cancel the follow value This method is called in FO by the following JSP : jsp/site/plugins/extend/modules/follow/DoCancelFollow.JspvoiddoFollow(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Update the follow value an count.static StringgetSessionKeyUrlRedirect(String strIdResource, String strResourceType) Get the session key of the URL to redirect the user to after he has followd for the resource
-
Field Details
-
URL_JSP_DO_FOLLOW
- See Also:
-
-
Constructor Details
-
FollowJspBean
public FollowJspBean()
-
-
Method Details
-
doFollow
public void doFollow(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, fr.paris.lutece.portal.service.message.SiteMessageException, fr.paris.lutece.portal.service.security.UserNotSignedException Update the follow value an count. This method is called in FO by the following JSP : jsp/site/plugins/extend/modules/follow/DoFollow.Jsp- Parameters:
request- The HTTP requestresponse- The HTTP response- Throws:
IOException- the io exceptionfr.paris.lutece.portal.service.message.SiteMessageException- the site message exceptionfr.paris.lutece.portal.service.security.UserNotSignedException- If the user has not signed in
-
doCancelFollow
public void doCancelFollow(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, fr.paris.lutece.portal.service.message.SiteMessageException, fr.paris.lutece.portal.service.security.UserNotSignedException Cancel the follow value This method is called in FO by the following JSP : jsp/site/plugins/extend/modules/follow/DoCancelFollow.Jsp- Parameters:
request- The HTTP requestresponse- The HTTP response- Throws:
IOException- the io exceptionfr.paris.lutece.portal.service.message.SiteMessageException- the site message exceptionfr.paris.lutece.portal.service.security.UserNotSignedException
-
getSessionKeyUrlRedirect
Get the session key of the URL to redirect the user to after he has followd for the resource- Parameters:
strIdResource- The id of the resourcestrResourceType- The type of the resource- Returns:
- The session key
-