Class FrameworkUtils


  • public final class FrameworkUtils
    extends Object
    INTERNAL: Framework related utility class providing some helper methods needed to easier for examples access user information.
    • Constructor Detail

      • FrameworkUtils

        public FrameworkUtils()
    • Method Detail

      • getContextTag

        public static ContextTag getContextTag​(javax.servlet.jsp.PageContext pageContext)
        INTERNAL: Gets the context tag from the request scope.
      • getContextTag

        public static ContextTag getContextTag​(javax.servlet.ServletRequest request)
        INTERNAL: Gets the context tag from the request.
      • getUser

        public static UserIF getUser​(javax.servlet.jsp.PageContext pageContext)
        INTERNAL: Gets user object out of session scope.
      • getUser

        public static UserIF getUser​(javax.servlet.jsp.PageContext pageContext,
                                     boolean create)
        INTERNAL: Gets user object out of session scope.
      • createUserSession

        public static UserIF createUserSession​(javax.servlet.jsp.PageContext pageContext)
        INTERNAL: Create new user object in session scope.
      • createUserSession

        public static UserIF createUserSession​(javax.servlet.jsp.PageContext pageContext,
                                               int scope)
        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