|
||||||||||
| 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.portal.service.content.XPageAppService
public class XPageAppService
This class delivers Extra pages (xpages) to web components. An XPage is a page where the content is provided by a
specific class, but should be integrated into the portal struture and design. XPageApps are identified by a key
name. To display an XPage into the portal just call the following url :
Portal.jsp?page=keyname¶m1=value1& ...¶mN=valueN
XPage| Field Summary | |
|---|---|
static java.lang.String |
PARAM_XPAGE_APP
|
| Constructor Summary | |
|---|---|
XPageAppService()
|
|
| Method Summary | |
|---|---|
static XPageApplicationEntry |
getApplicationEntry(java.lang.String strName)
|
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)
Build the XPage content. |
static java.util.Collection<XPageApplicationEntry> |
getXPageApplicationsList()
|
boolean |
isCacheEnable()
Gets the current cache status. |
boolean |
isInvoked(javax.servlet.http.HttpServletRequest request)
Analyzes request parameters to see if the request should be handled by the current Content Service |
static void |
registerXPageApplication(XPageApplicationEntry entry)
|
void |
resetCache()
Reset the cache. |
void |
setCache(boolean bCache)
Enable or disable the cache feature. |
| 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 |
| Field Detail |
|---|
public static final java.lang.String PARAM_XPAGE_APP
| Constructor Detail |
|---|
public XPageAppService()
| Method Detail |
|---|
public static void registerXPageApplication(XPageApplicationEntry entry)
throws LuteceInitException
LuteceInitExceptionpublic java.lang.String getName()
public boolean isInvoked(javax.servlet.http.HttpServletRequest request)
isInvoked in class ContentServicerequest - The HTTP request
public void setCache(boolean bCache)
bCache - true to enable the cache, false to disablepublic boolean isCacheEnable()
isCacheEnable in interface CacheableServiceisCacheEnable in class AbstractCacheableServicepublic void resetCache()
resetCache in interface CacheableServiceresetCache in class AbstractCacheableServicepublic int getCacheSize()
getCacheSize in interface CacheableServicegetCacheSize in class AbstractCacheableService
public java.lang.String getPage(javax.servlet.http.HttpServletRequest request,
int nMode)
throws UserNotSignedException,
SiteMessageException
getPage in class ContentServicerequest - The HTTP request.nMode - The current mode.
UserNotSignedException - The User Not Signed Exception
SiteMessageException - occurs when a site message need to be displayedpublic static XPageApplicationEntry getApplicationEntry(java.lang.String strName)
public static java.util.Collection<XPageApplicationEntry> getXPageApplicationsList()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||