com.ingenta.clownbike.servlet
Class DiscussionView
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.ingenta.clownbike.servlet.ClownbikeServlet
com.ingenta.clownbike.servlet.DiscussionView
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public final class DiscussionView
- extends ClownbikeServlet
View a discussion (with different templates depending on the pathinfo)
- See Also:
- Serialized Form
|
Method Summary |
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected java.util.List |
getDiscussionMessageIds(DatabaseTransaction transaction,
javax.servlet.http.HttpSession session,
Discussion discussion,
boolean reset)
Return list if discussion message ids. |
| Methods inherited from class com.ingenta.clownbike.servlet.ClownbikeServlet |
beginTransaction, beginTransaction, commit, forward, forward, forward, forward, forward, forward, forward, forward, forward, forward, forward, forward, forward, getAttribute, getConfiguration, getReferrer, getServletURI, getWebappURI, getWebappURL, init, isInitialized, redirect, rollback, setInitialized |
| Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DiscussionView
public DiscussionView()
doGet
public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Throws:
javax.servlet.ServletException
java.io.IOException
doPost
public void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Throws:
javax.servlet.ServletException
java.io.IOException
getDiscussionMessageIds
protected java.util.List getDiscussionMessageIds(DatabaseTransaction transaction,
javax.servlet.http.HttpSession session,
Discussion discussion,
boolean reset)
throws DatabaseException
- Return list if discussion message ids. If not reset then returns the same list as previous
call for this session.
- Throws:
DatabaseException