Class AjaxServletLookV5

    • Constructor Detail

      • AjaxServletLookV5

        public AjaxServletLookV5()
    • Method Detail

      • doGet

        public void doGet​(javax.servlet.http.HttpServletRequest req,
                          javax.servlet.http.HttpServletResponse res)
        Overrides:
        doGet in class javax.servlet.http.HttpServlet
      • doPost

        public void doPost​(javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response)
        Overrides:
        doPost in class javax.servlet.http.HttpServlet
      • isPersonalSpace

        protected boolean isPersonalSpace​(String spaceId)
      • serializePersonalSpace

        protected void serializePersonalSpace​(Writer writer,
                                              String userId,
                                              LookHelper helper,
                                              org.silverpeas.kernel.bundle.SettingBundle settings,
                                              org.silverpeas.kernel.bundle.LocalizationBundle message)
                                       throws IOException
        Throws:
        IOException
      • isSpaceVisible

        protected boolean isSpaceVisible​(String userId,
                                         SpaceInstLight space,
                                         LookHelper helper)
        a Space is visible if this space isn't removed and at least one of its items is visible for the current user
        Parameters:
        userId - the unique identifier of the user
        space - the space
        helper - a Look helper to access some peculiar settings regarding the accessibility.
        Returns:
        true or false
      • isSpaceBeforeComponentNeeded

        protected boolean isSpaceBeforeComponentNeeded​(SpaceInstLight space)