public final class DocumentContentService
extends fr.paris.lutece.portal.service.content.ContentService
implements net.sf.ehcache.event.CacheEventListener
| Constructor and Description |
|---|
DocumentContentService() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
void |
dispose() |
String |
getName()
Returns the Content Service name
|
String |
getPage(javax.servlet.http.HttpServletRequest request,
int nMode)
Returns the document page for a given document and a given portlet.
|
boolean |
isInvoked(javax.servlet.http.HttpServletRequest request)
Analyzes request parameters to see if the request should be handled by
the current Content Service
|
void |
notifyElementEvicted(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element) |
void |
notifyElementExpired(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element) |
void |
notifyElementPut(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element) |
void |
notifyElementRemoved(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element) |
void |
notifyElementUpdated(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element) |
void |
notifyRemoveAll(net.sf.ehcache.Ehcache cache) |
void |
removeFromCache(String strDocumentId,
String strPortletId)
Remove a document from the cache
|
getPluginName, setPluginNamepublic String getPage(javax.servlet.http.HttpServletRequest request, int nMode) throws fr.paris.lutece.portal.service.security.UserNotSignedException, fr.paris.lutece.portal.service.message.SiteMessageException
getPage in class fr.paris.lutece.portal.service.content.ContentServicerequest - The HTTP request.nMode - The current mode.fr.paris.lutece.portal.service.security.UserNotSignedException - If the user is not signedfr.paris.lutece.portal.service.message.SiteMessageException - occurs when a site message need to be
displayedpublic boolean isInvoked(javax.servlet.http.HttpServletRequest request)
isInvoked in class fr.paris.lutece.portal.service.content.ContentServicerequest - The HTTP requestpublic String getName()
getName in interface fr.paris.lutece.portal.service.util.LuteceServicepublic void dispose()
dispose in interface net.sf.ehcache.event.CacheEventListenerdispose in class fr.paris.lutece.portal.service.cache.AbstractCacheableServiceCacheEventListener.dispose()public void notifyElementEvicted(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element)
notifyElementEvicted in interface net.sf.ehcache.event.CacheEventListenernotifyElementEvicted in class fr.paris.lutece.portal.service.cache.AbstractCacheableServiceCacheEventListener.notifyElementEvicted(net.sf.ehcache.Ehcache,
net.sf.ehcache.Element)public void notifyElementExpired(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element)
notifyElementExpired in interface net.sf.ehcache.event.CacheEventListenernotifyElementExpired in class fr.paris.lutece.portal.service.cache.AbstractCacheableServiceCacheEventListener.notifyElementExpired(net.sf.ehcache.Ehcache,
net.sf.ehcache.Element)public void notifyElementPut(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element)
throws net.sf.ehcache.CacheException
notifyElementPut in interface net.sf.ehcache.event.CacheEventListenernotifyElementPut in class fr.paris.lutece.portal.service.cache.AbstractCacheableServicenet.sf.ehcache.CacheExceptionCacheEventListener.notifyElementPut(net.sf.ehcache.Ehcache,
net.sf.ehcache.Element)public void notifyElementRemoved(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element)
throws net.sf.ehcache.CacheException
notifyElementRemoved in interface net.sf.ehcache.event.CacheEventListenernotifyElementRemoved in class fr.paris.lutece.portal.service.cache.AbstractCacheableServicenet.sf.ehcache.CacheExceptionCacheEventListener.notifyElementRemoved(net.sf.ehcache.Ehcache,
net.sf.ehcache.Element)public void notifyElementUpdated(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.Element element)
throws net.sf.ehcache.CacheException
notifyElementUpdated in interface net.sf.ehcache.event.CacheEventListenernotifyElementUpdated in class fr.paris.lutece.portal.service.cache.AbstractCacheableServicenet.sf.ehcache.CacheExceptionCacheEventListener.notifyElementUpdated(net.sf.ehcache.Ehcache,
net.sf.ehcache.Element)public void notifyRemoveAll(net.sf.ehcache.Ehcache cache)
notifyRemoveAll in interface net.sf.ehcache.event.CacheEventListenernotifyRemoveAll in class fr.paris.lutece.portal.service.cache.AbstractCacheableServiceCacheEventListener.notifyRemoveAll(net.sf.ehcache.Ehcache)public Object clone()
clone in interface net.sf.ehcache.event.CacheEventListenerclone in class fr.paris.lutece.portal.service.cache.AbstractCacheableServiceObject.clone()Copyright © 2020 City of Paris. All rights reserved.