|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.arsdigita.web.BaseServlet
com.arsdigita.web.BaseApplicationServlet
com.arsdigita.cms.ContentSectionServlet
| Field Summary | |
static String |
CONTENT_ITEM
|
static String |
CONTENT_SECTION
|
static String |
FILE_SUFFIX
|
static String |
INDEX_FILE
|
static String |
MEDIA_TYPE
|
static String |
PREVIEW
The context for previewing items |
static Map |
s_itemResolverCache
|
static String |
XML_MODE
|
static String |
XML_SUFFIX
|
| Fields inherited from class com.arsdigita.web.BaseApplicationServlet |
APPLICATION_ID_ATTRIBUTE, APPLICATION_ID_PARAMETER, versionId |
| Fields inherited from class com.arsdigita.web.BaseServlet |
REQUEST_URL_ATTRIBUTE |
| Constructor Summary | |
ContentSectionServlet()
|
|
| Method Summary | |
protected void |
doService(javax.servlet.http.HttpServletRequest sreq,
javax.servlet.http.HttpServletResponse sresp,
com.arsdigita.web.Application app)
|
ContentItem |
getItem(ContentSection section,
String url)
|
ContentItem |
getItem(ContentSection section,
String url,
ItemResolver itemResolver)
|
ItemResolver |
getItemResolver(ContentSection section)
Fetches the ItemResolver for a content section. |
static ContentItem |
itemURLCacheGet(ContentSection section,
String sURL)
Fetches the ContentItem published at that URL from the cache |
static void |
itemURLCachePut(ContentSection section,
String sURL,
ContentItem item)
Maps the content item to the URL in a cache |
static void |
itemURLCacheRemove(ContentSection section,
String sURL)
Removes the cache entry for the URL, sURL |
| Methods inherited from class com.arsdigita.web.BaseApplicationServlet |
doService |
| Methods inherited from class com.arsdigita.web.BaseServlet |
destroy, doDestroy, doGet, doInit, doPost, getUserContext, init |
| Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
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 |
| Field Detail |
public static Map s_itemResolverCache
public static final String PREVIEW
public static final String FILE_SUFFIX
public static final String INDEX_FILE
public static final String CONTENT_ITEM
public static final String CONTENT_SECTION
public static final String XML_SUFFIX
public static final String XML_MODE
public static final String MEDIA_TYPE
| Constructor Detail |
public ContentSectionServlet()
| Method Detail |
protected void doService(javax.servlet.http.HttpServletRequest sreq,
javax.servlet.http.HttpServletResponse sresp,
com.arsdigita.web.Application app)
throws javax.servlet.ServletException,
IOException
javax.servlet.ServletException
IOException(HttpServletRequest, HttpServletResponse, Application)public ItemResolver getItemResolver(ContentSection section)
section - The content section
public ContentItem getItem(ContentSection section,
String url,
ItemResolver itemResolver)
public ContentItem getItem(ContentSection section,
String url)
public static void itemURLCachePut(ContentSection section,
String sURL,
ContentItem item)
section - the content section in which the content item is publishedsURL - the URL at which the content item s publisheditem - the content item at the URL
public static void itemURLCacheRemove(ContentSection section,
String sURL)
section - the content section in which to remove the keysURL - the cache entry key to remove
public static ContentItem itemURLCacheGet(ContentSection section,
String sURL)
section - the content section in which the content item is publishedsURL - the URL for the item to fetch
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||