|
||||||||||
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.portal.StandaloneAppService
public class StandaloneAppService
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 :
RunStandaloneApp.jsp?page=keyname¶m1=value1& ...¶mN=valueN
XPage
Field Summary | |
---|---|
static java.lang.String |
PARAM_STANDALONE_APP
|
Constructor Summary | |
---|---|
StandaloneAppService()
|
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)
Build the XPage content. |
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 |
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_STANDALONE_APP
Constructor Detail |
---|
public StandaloneAppService()
Method Detail |
---|
public java.lang.String getName()
public boolean isInvoked(javax.servlet.http.HttpServletRequest request)
isInvoked
in class ContentService
request
- The HTTP request
public void setCache(boolean bCache)
bCache
- true to enable the cache, false to disablepublic boolean isCacheEnable()
isCacheEnable
in interface CacheableService
isCacheEnable
in class AbstractCacheableService
public void resetCache()
resetCache
in interface CacheableService
resetCache
in class AbstractCacheableService
public int getCacheSize()
getCacheSize
in interface CacheableService
getCacheSize
in class AbstractCacheableService
public java.lang.String getPage(javax.servlet.http.HttpServletRequest request, int nMode) throws UserNotSignedException
getPage
in class ContentService
request
- The HTTP request.nMode
- The current mode.
UserNotSignedException
- a userNotSignedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |