| org.opensubsystems.blog.www.BlogBrowserServlet
All known Subclasses: org.opensubsystems.blog.www.BlogEditServlet,
BlogBrowserServlet | public class BlogBrowserServlet extends WebUIServlet (Code) | | Servlet responsible for browsing blogs and their entries as if they were
displayed using a static website consisting of pages with .html extension.
his servlet contains read-only functionality so it can be safely used, when
user shouldn't be allowed to modify the data.
version: $Id: BlogBrowserServlet.java,v 1.4 2007/02/20 03:50:56 bastafidli Exp $ author: Miro Halas |
BLOGBROWSER_BLOGENTRY_VIEWER_PAGE | final public static String BLOGBROWSER_BLOGENTRY_VIEWER_PAGE(Code) | | Name of the property for page to view single blog entry.
|
BLOGBROWSER_BLOG_INDEX_PAGE | final public static String BLOGBROWSER_BLOG_INDEX_PAGE(Code) | | Name of the property for page which is the main entry point to the blog
functionality.
|
BLOGBROWSER_BLOG_VIEWER_PAGE | final public static String BLOGBROWSER_BLOG_VIEWER_PAGE(Code) | | Name of the property for page to view single blog.
|
FORM_COUNT_BLOGBROWSER | final public static int FORM_COUNT_BLOGBROWSER(Code) | | Constant for number of forms recognized by this servlet
|
createIndexPage | protected void createIndexPage(HttpServletRequest hsrqRequest, HttpServletResponse hsrpResponse, BlogNavigator navigator, int iPageNumber) throws IOException, ServletException(Code) | | Create index page of all entries in the blog.
Parameters: hsrqRequest - - the servlet request Parameters: hsrpResponse - - the servlet response Parameters: navigator - - navigator object used to parse and generate all application links Parameters: iPageNumber - - page number of the blog index page to display throws: ServletException - - an error while serving request throws: IOException - - an error while writing response |
createMainIndexPage | protected void createMainIndexPage(HttpServletRequest hsrqRequest, HttpServletResponse hsrpResponse, BlogNavigator navigator, int iPageNumber) throws IOException, ServletException(Code) | | Create main index page of all blogs.
Parameters: hsrqRequest - - the servlet request Parameters: hsrpResponse - - the servlet response Parameters: navigator - - navigator object used to parse and generate all application links Parameters: iPageNumber - - page number of the blog index page to display throws: ServletException - - an error while serving request throws: IOException - - an error while writing response |
getController | protected BlogController getController() throws OSSException(Code) | | Get controller to invoke business logic.
BlogController throws: OSSException - - an error has occured |
getNavigator | protected BlogNavigator getNavigator(HttpServletRequest hsrqRequest)(Code) | | Get instance of navigator object suitable for processing current request.
Parameters: hsrqRequest - - current request BlogNavigator - navigator for current request |
|
|