Class RssLastPublicationsServlet

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.silverpeas.components.kmelia.RssLastPublicationsServlet
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

public class RssLastPublicationsServlet extends jakarta.servlet.http.HttpServlet
See Also:
  • Field Details

  • Constructor Details

    • RssLastPublicationsServlet

      public RssLastPublicationsServlet()
  • Method Details

    • service

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

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

      public com.rometools.rome.feed.synd.SyndEntry toSyndEntry(org.silverpeas.core.contribution.publication.model.PublicationDetail publication, String serverURL, String lang)
    • 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(jakarta.servlet.http.HttpServletRequest req, jakarta.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