Package org.silverpeas.web.look
Class AjaxServletLookV5
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.silverpeas.core.web.mvc.webcomponent.SilverpeasHttpServlet
-
- org.silverpeas.core.web.mvc.webcomponent.SilverpeasAuthenticatedHttpServlet
-
- org.silverpeas.web.look.AjaxServletLookV5
-
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class AjaxServletLookV5 extends SilverpeasAuthenticatedHttpServlet
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.silverpeas.core.web.mvc.webcomponent.SilverpeasHttpServlet
SilverpeasHttpServlet.HttpError, SilverpeasHttpServlet.UserSessionStatus
-
-
Constructor Summary
Constructors Constructor Description AjaxServletLookV5()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
void
doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
protected boolean
isLoadingContentNeeded(UserMenuDisplay userMenuDisplayMode, String userId, SpaceInstLight space, List<UserFavoriteSpaceVO> listUFS)
protected boolean
isPersonalSpace(String spaceId)
protected boolean
isSpaceBeforeComponentNeeded(SpaceInstLight space)
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 userprotected void
serializePersonalSpace(Writer writer, String userId, LookHelper helper, org.silverpeas.kernel.bundle.SettingBundle settings, org.silverpeas.kernel.bundle.LocalizationBundle message)
-
Methods inherited from class org.silverpeas.core.web.mvc.webcomponent.SilverpeasAuthenticatedHttpServlet
getMainSessionController, getSessionInfo, getSynchronizerTokenService, renewSessionSecurityToken, service, throwUserSessionExpiration
-
Methods inherited from class org.silverpeas.core.web.mvc.webcomponent.SilverpeasHttpServlet
existOpenedUserSession, forbidden, notFound, preconditionFailed, redirectOrForwardService, sendError, sendError, throwHttpForbiddenError, throwHttpForbiddenError, throwHttpNotFoundError, throwHttpNotFoundError, throwHttpPreconditionFailedError, throwHttpPreconditionFailedError
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service
-
-
-
-
Method Detail
-
doGet
public void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
- Overrides:
doGet
in classjavax.servlet.http.HttpServlet
-
doPost
public void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
- Overrides:
doPost
in classjavax.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
-
isLoadingContentNeeded
protected boolean isLoadingContentNeeded(UserMenuDisplay userMenuDisplayMode, String userId, SpaceInstLight space, List<UserFavoriteSpaceVO> listUFS)
-
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 userspace
- the spacehelper
- a Look helper to access some peculiar settings regarding the accessibility.- Returns:
- true or false
-
isSpaceBeforeComponentNeeded
protected boolean isSpaceBeforeComponentNeeded(SpaceInstLight space)
-
-