| |
|
| java.lang.Object org.opensubsystems.blog.www.BlogNavigator org.opensubsystems.blog.www.DynamicBlogNavigator
DynamicBlogNavigator | public class DynamicBlogNavigator extends BlogNavigator (Code) | | Class responsible for parsing and creating URLs for blogs and their entries.
The URLs are dynamic that is they use parameter names and values in the URL
in the format required by the ListBrowserServlet.
version: $Id: DynamicBlogNavigator.java,v 1.1 2007/02/20 02:18:11 bastafidli Exp $ author: Miro Halas |
DYNAMIC_LOGIN_WEB_PAGE | final public static String DYNAMIC_LOGIN_WEB_PAGE(Code) | | Page where user can login to the system when accessing the application
using dynamic URLs.
|
DYNAMIC_LOGOUT_WEB_PAGE | final public static String DYNAMIC_LOGOUT_WEB_PAGE(Code) | | Page where user can logout to the system when accessing the application
using dynamic URLs.
|
DYNAMIC_POST_WEB_PAGE | final public static String DYNAMIC_POST_WEB_PAGE(Code) | | Static URL that will be used to handle posted data from the dynamic
pages. This URL will invoke the BlogEditServlet that can handle the
data posted from the dynamically generated URL and then redirect back
to the dynamically generated URL.
|
DynamicBlogNavigator | public DynamicBlogNavigator(HttpServletRequest hsrqRequest)(Code) | | Creates a new instance of DynamicBlogNavigator
Parameters: hsrqRequest - - request that will be used by this navigator |
getBlogEntryId | protected Integer getBlogEntryId(HttpServletRequest hsrqRequest)(Code) | | Get blog entry id from the request by looking at all possible request
parameters that can be used in the page or in the URL
Parameters: hsrqRequest - - the servlet request. Integer - id of the blog entry or null if no is present |
getBlogId | protected Integer getBlogId(HttpServletRequest hsrqRequest)(Code) | | Get blog id from the request by looking at all possible request parameters
that can be used in the page or in the URL
Parameters: hsrqRequest - - the servlet request. Integer - id of the blog or null if no is present |
getIsDynamic | public boolean getIsDynamic()(Code) | | |
isBlogIndexPage | public boolean isBlogIndexPage()(Code) | | |
isIndexPage | public int isIndexPage()(Code) | | |
isLoginPage | public boolean isLoginPage()(Code) | | Test if the requested path is path to the page where user can login to
the system.
boolean - true if the page is login page |
isLogoutPage | public boolean isLogoutPage()(Code) | | Test if the requested path is path to the page where user can login to
the system.
boolean - true if the page is login page |
|
|
|