public abstract class ContentService extends AbstractCacheableService
Constructor and Description |
---|
ContentService() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getPage(javax.servlet.http.HttpServletRequest request,
int nMode)
Returns the HTML (or XML) code for a page for a given mode.
|
String |
getPluginName()
Return the name of the plugin
|
abstract boolean |
isInvoked(javax.servlet.http.HttpServletRequest request)
Analyzes request's parameters to see if the request should be handled by the current Content Service
|
void |
setPluginName(String strPluginName)
Set the plugin name of the content service
|
clone, dispose, enableCache, getCache, getCacheSize, getFromCache, getInfos, getKeys, getMaxElements, getMemorySize, getTimeToLive, initCache, initCache, isCacheEnable, notifyElementEvicted, notifyElementExpired, notifyElementPut, notifyElementRemoved, notifyElementUpdated, notifyRemoveAll, putInCache, removeKey, resetCache
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public abstract String getPage(javax.servlet.http.HttpServletRequest request, int nMode) throws UserNotSignedException, SiteMessageException
request
- The HTTP request containing content parametersnMode
- The current mode.UserNotSignedException
- the UserNotSignedExceptionSiteMessageException
- occurs when a site message need to be displayedpublic abstract boolean isInvoked(javax.servlet.http.HttpServletRequest request)
request
- The HTTP requestpublic String getPluginName()
public void setPluginName(String strPluginName)
strPluginName
- the plugin nameCopyright © 2020 City of Paris. All rights reserved.