Class CommonEvents


  • public class CommonEvents
    extends java.lang.Object
    Common Services
    • Field Detail

      • module

        public static final java.lang.String module
    • Constructor Detail

      • CommonEvents

        public CommonEvents()
    • Method Detail

      • setSessionLocale

        public static java.lang.String setSessionLocale​(HttpServletRequest request,
                                                        HttpServletResponse response)
        Simple event to set the users per-session locale setting. The user's locale setting should be passed as a "newLocale" request parameter.
      • setSessionTimeZone

        public static java.lang.String setSessionTimeZone​(HttpServletRequest request,
                                                          HttpServletResponse response)
        Simple event to set the user's per-session time zone setting.
      • setSessionTheme

        public static java.lang.String setSessionTheme​(HttpServletRequest request,
                                                       HttpServletResponse response)
        Simple event to set the user's per-session theme setting.
      • setSessionCurrencyUom

        public static java.lang.String setSessionCurrencyUom​(HttpServletRequest request,
                                                             HttpServletResponse response)
        Simple event to set the users per-session currency uom value
      • getJSONuiLabelArray

        public static java.lang.String getJSONuiLabelArray​(HttpServletRequest request,
                                                           HttpServletResponse response)
                                                    throws java.io.UnsupportedEncodingException,
                                                           java.io.IOException
        Throws:
        java.io.UnsupportedEncodingException
        java.io.IOException
      • getJSONuiLabel

        public static java.lang.String getJSONuiLabel​(HttpServletRequest request,
                                                      HttpServletResponse response)
                                               throws java.io.UnsupportedEncodingException,
                                                      java.io.IOException
        Throws:
        java.io.UnsupportedEncodingException
        java.io.IOException
      • loadJWT

        public static java.lang.String loadJWT​(HttpServletRequest request,
                                               HttpServletResponse response)
                                        throws java.io.UnsupportedEncodingException
        Throws:
        java.io.UnsupportedEncodingException