Class RssLastPublicationsServlet

  • All Implemented Interfaces:
    Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class RssLastPublicationsServlet
    extends javax.servlet.http.HttpServlet
    See Also:
    Serialized Form
    • Constructor Detail

      • RssLastPublicationsServlet

        public RssLastPublicationsServlet()
    • Method Detail

      • service

        public void service​(javax.servlet.http.HttpServletRequest request,
                            javax.servlet.http.HttpServletResponse response)
                     throws javax.servlet.ServletException,
                            IOException
        Overrides:
        service in class javax.servlet.http.HttpServlet
        Throws:
        javax.servlet.ServletException
        IOException
      • getElements

        public Collection<org.silverpeas.core.contribution.publication.model.PublicationDetail> getElements​(KmeliaTransversal kmeliaTransversal,
                                                                                                            String spaceId)
      • getChannelTitle

        public String getChannelTitle​(String spaceId)
      • getServerURL

        public String getServerURL​(org.silverpeas.core.admin.user.model.UserFull user)
      • isUserAuthorized

        public boolean isUserAuthorized​(org.silverpeas.core.admin.user.model.UserFull user,
                                        String login,
                                        String password,
                                        String spaceId)
      • isSpaceAvailable

        public boolean isSpaceAvailable​(String userId,
                                        String spaceId)
      • objectNotFound

        protected void objectNotFound​(javax.servlet.http.HttpServletRequest req,
                                      javax.servlet.http.HttpServletResponse res)
                               throws IOException
        Throws:
        IOException
      • getPersonalization

        public org.silverpeas.core.personalization.UserPreferences getPersonalization​(String userId)
        Return the personalization service layer
        Parameters:
        userId - the user identifier
        Returns:
        the UserPreferences of user identified by userId