Class RssServlet<T>

  • All Implemented Interfaces:
    Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
    Direct Known Subclasses:
    AgendaRssServlet

    public abstract class RssServlet<T>
    extends javax.servlet.http.HttpServlet
    See Also:
    Serialized Form
    • Constructor Detail

      • RssServlet

        public RssServlet()
    • 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 req,
                           javax.servlet.http.HttpServletResponse res)
        Overrides:
        doPost in class javax.servlet.http.HttpServlet
      • setCreator

        protected void setCreator​(T element,
                                  String creatorId,
                                  com.rometools.rome.feed.synd.SyndEntry entry)
      • getChannelTitle

        public String getChannelTitle​(String instanceId)
      • isComponentRss

        public boolean isComponentRss​(String instanceId)
      • isComponentAvailable

        public boolean isComponentAvailable​(String instanceId,
                                            String userId)
      • getNbReturnedElements

        public int getNbReturnedElements()
      • getElementTitle

        public abstract String getElementTitle​(T element,
                                               String userId)
      • getElementLink

        public abstract String getElementLink​(T element,
                                              String userId)
      • getElementDescription

        public abstract String getElementDescription​(T element,
                                                     String userId)
      • getElementDate

        public abstract Date getElementDate​(T element)
      • getElementCreatorId

        public abstract String getElementCreatorId​(T element)
      • getExternalCreatorId

        public String getExternalCreatorId​(T element)
      • getObjectId

        protected String getObjectId​(javax.servlet.http.HttpServletRequest request)
      • getUserId

        protected String getUserId​(javax.servlet.http.HttpServletRequest request)
      • getLogin

        protected String getLogin​(javax.servlet.http.HttpServletRequest request)
      • getPassword

        protected String getPassword​(javax.servlet.http.HttpServletRequest request)
      • getMainSessionController

        protected MainSessionController getMainSessionController​(javax.servlet.http.HttpServletRequest req)
      • isUserLogin

        protected boolean isUserLogin​(javax.servlet.http.HttpServletRequest req)
      • objectNotFound

        protected void objectNotFound​(javax.servlet.http.HttpServletRequest req,
                                      javax.servlet.http.HttpServletResponse res)