public class StandaloneAppService extends ContentService
RunStandaloneApp.jsp?page=keyname¶m1=value1& ...¶mN=valueN
XPage
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_STANDALONE_APP |
Constructor and Description |
---|
StandaloneAppService() |
Modifier and Type | Method and Description |
---|---|
int |
getCacheSize()
Gets the number of item currently in the cache.
|
String |
getName()
Returns the Content Service name
|
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.
|
getPluginName, setPluginName
clone, dispose, enableCache, getCache, getFromCache, getInfos, getKeys, getMaxElements, getMemorySize, getTimeToLive, initCache, initCache, notifyElementEvicted, notifyElementExpired, notifyElementPut, notifyElementRemoved, notifyElementUpdated, notifyRemoveAll, putInCache, removeKey
public static final String PARAM_STANDALONE_APP
public String getName()
public boolean isInvoked(javax.servlet.http.HttpServletRequest request)
isInvoked
in class ContentService
request
- The HTTP requestpublic 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 String getPage(javax.servlet.http.HttpServletRequest request, int nMode) throws UserNotSignedException, SiteMessageException
getPage
in class ContentService
request
- The HTTP request.nMode
- The current mode.UserNotSignedException
- a userNotSignedExceptionSiteMessageException
- occurs when a site message need to be displayedCopyright © 2020 City of Paris. All rights reserved.