Package net.ontopia.topicmaps.nav2.utils
Class FrameworkUtils
java.lang.Object
net.ontopia.topicmaps.nav2.utils.FrameworkUtils
INTERNAL: Framework related utility class providing some helper
methods needed to easier for examples access user information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UserIFcreateUserSession(javax.servlet.jsp.PageContext pageContext) INTERNAL: Create new user object in session scope.static UserIFcreateUserSession(javax.servlet.jsp.PageContext pageContext, int scope) INTERNAL: Create new user object in given scope.static ListevaluateParameterList(javax.servlet.jsp.PageContext pageContext, String params) INTERNAL: Evaluates a string of space-separated variable names as a list of collections, and returns it.static ContextTaggetContextTag(javax.servlet.jsp.PageContext pageContext) INTERNAL: Gets the context tag from the request scope.static ContextTaggetContextTag(javax.servlet.ServletRequest request) INTERNAL: Gets the context tag from the request.static UserIFgetUser(javax.servlet.jsp.PageContext pageContext) INTERNAL: Gets user object out of session scope.static UserIFgetUser(javax.servlet.jsp.PageContext pageContext, boolean create) INTERNAL: Gets user object out of session scope.static voidresetMVSsettingsInUserSession(javax.servlet.jsp.PageContext pageContext) INTERNAL: Reset MVS settings in user object in session scope.
-
Constructor Details
-
FrameworkUtils
public FrameworkUtils()
-
-
Method Details
-
getContextTag
INTERNAL: Gets the context tag from the request scope. -
getContextTag
INTERNAL: Gets the context tag from the request. -
getUser
INTERNAL: Gets user object out of session scope. -
getUser
INTERNAL: Gets user object out of session scope. -
createUserSession
INTERNAL: Create new user object in session scope. -
createUserSession
INTERNAL: Create new user object in given scope. -
resetMVSsettingsInUserSession
public static void resetMVSsettingsInUserSession(javax.servlet.jsp.PageContext pageContext) INTERNAL: Reset MVS settings in user object in session scope. -
evaluateParameterList
public static List evaluateParameterList(javax.servlet.jsp.PageContext pageContext, String params) throws javax.servlet.jsp.JspTagException INTERNAL: Evaluates a string of space-separated variable names as a list of collections, and returns it.- Throws:
javax.servlet.jsp.JspTagException
-