public class FollowJspBean extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
URL_JSP_DO_FOLLOW |
| Constructor and Description |
|---|
FollowJspBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
doCancelFollow(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.Jsp
|
void |
doFollow(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Update the follow value an count.
|
static String |
getSessionKeyUrlRedirect(String strIdResource,
String strResourceType)
Get the session key of the URL to redirect the user to after he has followd for the resource
|
public static final String URL_JSP_DO_FOLLOW
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
request - The HTTP requestresponse - The HTTP responseIOException - 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 inpublic 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
request - The HTTP requestresponse - The HTTP responseIOException - the io exceptionfr.paris.lutece.portal.service.message.SiteMessageException - the site message exceptionfr.paris.lutece.portal.service.security.UserNotSignedExceptionpublic static String getSessionKeyUrlRedirect(String strIdResource, String strResourceType)
strIdResource - The id of the resourcestrResourceType - The type of the resourceCopyright © 2022 City of Paris. All rights reserved.