|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.service.cache.AbstractCacheableService
fr.paris.lutece.portal.service.content.ContentService
fr.paris.lutece.plugins.comarquage.service.CoMarquageCacheService
public class CoMarquageCacheService
This class delivers articles to web componants. It handles XML tranformation to HTML and provides a cache feature in order to reduce the number of tranformations.
Constructor Summary | |
---|---|
CoMarquageCacheService()
|
Method Summary | |
---|---|
int |
getCacheSize()
Gets the number of item currently in the cache. |
java.lang.String |
getName()
Returns the Content Service name |
java.lang.String |
getPage(javax.servlet.http.HttpServletRequest request,
int nMode)
Returns the HTML (or XML) code for a page for a given mode. |
boolean |
isCacheEnable()
Gets the current cache status. |
boolean |
isInvoked(javax.servlet.http.HttpServletRequest request)
Analyzes request's parameters to see if the request should be handled by the current Content Service Should always return false in this case to prevent the getPage method from this service to be used. |
void |
resetCache()
Reset the caches. |
Methods inherited from class fr.paris.lutece.portal.service.content.ContentService |
---|
getPluginName, setPluginName |
Methods inherited from class fr.paris.lutece.portal.service.cache.AbstractCacheableService |
---|
clone, dispose, enableCache, getCache, getFromCache, getInfos, getKeys, getMaxElements, getMemorySize, getTimeToLive, initCache, initCache, notifyElementEvicted, notifyElementExpired, notifyElementPut, notifyElementRemoved, notifyElementUpdated, notifyRemoveAll, putInCache |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CoMarquageCacheService()
Method Detail |
---|
public java.lang.String getPage(javax.servlet.http.HttpServletRequest request, int nMode) throws fr.paris.lutece.portal.service.security.UserNotSignedException
getPage
in class fr.paris.lutece.portal.service.content.ContentService
request
- The HTTP request containing content parametersnMode
- The current mode.
fr.paris.lutece.portal.service.security.UserNotSignedException
- the UserNotSignedExceptionCoMarquageApp.getPage(HttpServletRequest, int, Plugin)
public boolean isInvoked(javax.servlet.http.HttpServletRequest request)
isInvoked
in class fr.paris.lutece.portal.service.content.ContentService
request
- The HTTP request
public java.lang.String getName()
public boolean isCacheEnable()
isCacheEnable
in interface fr.paris.lutece.portal.service.cache.CacheableService
isCacheEnable
in class fr.paris.lutece.portal.service.cache.AbstractCacheableService
public int getCacheSize()
getCacheSize
in interface fr.paris.lutece.portal.service.cache.CacheableService
getCacheSize
in class fr.paris.lutece.portal.service.cache.AbstractCacheableService
public void resetCache()
resetCache
in interface fr.paris.lutece.portal.service.cache.CacheableService
resetCache
in class fr.paris.lutece.portal.service.cache.AbstractCacheableService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |