fr.paris.lutece.portal.service.message
Class SiteMessageContentService

java.lang.Object
  extended by fr.paris.lutece.portal.service.cache.AbstractCacheableService
      extended by fr.paris.lutece.portal.service.content.ContentService
          extended by fr.paris.lutece.portal.service.message.SiteMessageContentService
All Implemented Interfaces:
CacheableService, LuteceService

public class SiteMessageContentService
extends ContentService

Site message pages provider service.


Constructor Summary
SiteMessageContentService()
           
 
Method Summary
 java.lang.String getName()
          Returns the Content Service name
 java.lang.String getPage(javax.servlet.http.HttpServletRequest request, int nMode)
          Returns the content of a page according to the parameters found in the http request.
 boolean isInvoked(javax.servlet.http.HttpServletRequest request)
          Analyzes request parameters to see if the request should be handled by the current Content Service
 
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, getCacheSize, getFromCache, initCache, isCacheEnable, putInCache, resetCache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SiteMessageContentService

public SiteMessageContentService()
Method Detail

getPage

public java.lang.String getPage(javax.servlet.http.HttpServletRequest request,
                                int nMode)
                         throws UserNotSignedException
Returns the content of a page according to the parameters found in the http request. One distinguishes article, page and xpage and the mode.

Specified by:
getPage in class ContentService
Parameters:
request - The http request
nMode - The mode
Returns:
the html code for the display of a page of a site
Throws:
UserNotSignedException - The UserNotSignedException

isInvoked

public boolean isInvoked(javax.servlet.http.HttpServletRequest request)
Analyzes request parameters to see if the request should be handled by the current Content Service

Specified by:
isInvoked in class ContentService
Parameters:
request - The HTTP request
Returns:
true if this ContentService should handle this request

getName

public java.lang.String getName()
Returns the Content Service name

Returns:
The name as a String


Copyright © 2009 Mairie de Paris. All Rights Reserved.