|
||||||||||
| 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 |
|---|
getCache, getFromCache, initCache, putInCache |
| Methods inherited from class java.lang.Object |
|---|
clone, 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.ContentServicerequest - 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.ContentServicerequest - The HTTP request
public java.lang.String getName()
public boolean isCacheEnable()
isCacheEnable in interface fr.paris.lutece.portal.service.cache.CacheableServiceisCacheEnable in class fr.paris.lutece.portal.service.cache.AbstractCacheableServicepublic int getCacheSize()
getCacheSize in interface fr.paris.lutece.portal.service.cache.CacheableServicegetCacheSize in class fr.paris.lutece.portal.service.cache.AbstractCacheableServicepublic void resetCache()
resetCache in interface fr.paris.lutece.portal.service.cache.CacheableServiceresetCache 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 | |||||||||