com.arsdigita.cms.dispatcher
Class ContentSectionDispatcher
java.lang.Object
com.arsdigita.cms.dispatcher.ContentSectionDispatcher
- All Implemented Interfaces:
- com.arsdigita.dispatcher.Dispatcher
- public class ContentSectionDispatcher
- extends Object
- implements com.arsdigita.dispatcher.Dispatcher
Unsupported Refactored content
section dispatcher (under development).
- Version:
- $Revision: #8 $ $DateTime: 2004/04/07 16:07:11 $
- Author:
- Karl Goldstein (karlg@arsdigita.com)
Method Summary |
static boolean |
checkAdminAccess(javax.servlet.http.HttpServletRequest request,
ContentSection section)
Checks that the current user has permission to access the admin pages. |
void |
dispatch(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
com.arsdigita.dispatcher.RequestContext context)
|
static ContentItem |
getContentItem(javax.servlet.http.HttpServletRequest request)
Fetches the content item from the request attributes. |
static ContentSection |
getContentSection(javax.servlet.http.HttpServletRequest request)
Fetches the content section from the request attributes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
versionId
public static final String versionId
- See Also:
- Constant Field Values
ContentSectionDispatcher
public ContentSectionDispatcher()
dispatch
public void dispatch(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
com.arsdigita.dispatcher.RequestContext context)
throws IOException,
javax.servlet.ServletException
- Specified by:
dispatch
in interface com.arsdigita.dispatcher.Dispatcher
- Throws:
IOException
javax.servlet.ServletException
getContentSection
public static ContentSection getContentSection(javax.servlet.http.HttpServletRequest request)
- Fetches the content section from the request attributes.
- Parameters:
request
- The HTTP request
- Returns:
- The content section
getContentItem
public static ContentItem getContentItem(javax.servlet.http.HttpServletRequest request)
- Fetches the content item from the request attributes.
- Parameters:
request
- The HTTP request
- Returns:
- The content item
checkAdminAccess
public static boolean checkAdminAccess(javax.servlet.http.HttpServletRequest request,
ContentSection section)
- Checks that the current user has permission to access the admin pages.
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 19 2004:2352 UTC