public class RecentlyVisitedHelperBean extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
RECENT_VISIT_ATTR
Session attribute to save the recentlyVisitedBean
|
| Constructor and Description |
|---|
RecentlyVisitedHelperBean() |
| Modifier and Type | Method and Description |
|---|---|
RecentlyVisitedBean |
getRecentlyVisitedBean()
Get the retrieved recently visited bean
|
static RecentlyVisitedBean |
getRecentlyVisitedBean(HttpServletRequest request,
String defaultSpace)
Retrieve the current
RecentlyVisitedBean from the passed
in ServletRequest or create one in the default space. |
void |
init()
Sets the recently visited bean using the set request and logger and
default space.
|
void |
setDefaultSpace(String defaultSpace)
Set the default space
|
void |
setServletRequest(ServletRequest servletRequest)
Set the current request
|
public static final String RECENT_VISIT_ATTR
public void init()
public void setServletRequest(ServletRequest servletRequest)
servletRequest - public void setDefaultSpace(String defaultSpace)
defaultSpace - public static RecentlyVisitedBean getRecentlyVisitedBean(HttpServletRequest request, String defaultSpace)
RecentlyVisitedBean from the passed
in ServletRequest or create one in the default space.request - current servlet requestlog - current loggerdefaultSpace - defaultSpace to for the RecentlyVisitedBeanpublic RecentlyVisitedBean getRecentlyVisitedBean()
Copyright © 2003-2014 Sakai Project. All Rights Reserved.