Package org.silverpeas.components.kmelia
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetChannelTitle(String spaceId) Collection<org.silverpeas.core.contribution.publication.model.PublicationDetail>getElements(KmeliaTransversal kmeliaTransversal, String spaceId) org.silverpeas.core.personalization.UserPreferencesgetPersonalization(String userId) Return the personalization service layergetServerURL(org.silverpeas.core.admin.user.model.UserFull user) booleanisSpaceAvailable(String userId, String spaceId) booleanisUserAuthorized(org.silverpeas.core.admin.user.model.UserFull user, String login, String password, String spaceId) protected voidobjectNotFound(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) voidservice(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) com.rometools.rome.feed.synd.SyndEntrytoSyndEntry(org.silverpeas.core.contribution.publication.model.PublicationDetail publication, String serverURL, String lang) Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, init, serviceMethods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Field Details
-
SPACE_ID_PARAM
- See Also:
-
USER_ID_PARAM
- See Also:
-
PASSWORD_PARAM
- See Also:
-
LOGIN_PARAM
- See Also:
-
-
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:
servicein classjakarta.servlet.http.HttpServlet- Throws:
jakarta.servlet.ServletExceptionIOException
-
getElements
public Collection<org.silverpeas.core.contribution.publication.model.PublicationDetail> getElements(KmeliaTransversal kmeliaTransversal, String spaceId) -
toSyndEntry
-
getChannelTitle
-
getServerURL
-
isUserAuthorized
-
isSpaceAvailable
-
objectNotFound
protected void objectNotFound(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) throws IOException - Throws:
IOException
-
getPersonalization
Return the personalization service layer- Parameters:
userId- the user identifier- Returns:
- the UserPreferences of user identified by userId
-