| Modifier and Type | Method and Description |
|---|---|
static void |
GWTInitializer.addLanguageSwitcherLinks(RenderContext renderContext,
Map<String,String> params,
URLGenerator urlGenerator)
Add language switcher link into page
|
static String |
GWTInitializer.generateInitializerStructureForFrame(RenderContext ctx) |
static String |
GWTInitializer.getCustomCKEditorConfig(javax.servlet.http.HttpServletRequest request,
RenderContext ctx) |
static String |
GWTInitializer.getCustomCKEditorConfig(RenderContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
protected RenderContext |
Dashboard.createRenderContext(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
JahiaUser user) |
protected RenderContext |
Edit.createRenderContext(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
JahiaUser user) |
protected RenderContext |
Render.createRenderContext(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
JahiaUser user) |
| Modifier and Type | Method and Description |
|---|---|
static void |
Render.checkActionRequirements(Action action,
RenderContext renderContext,
URLResolver urlResolver)
Performs all required checks for this action.
|
protected void |
Render.doDelete(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
RenderContext renderContext,
URLResolver urlResolver) |
abstract ActionResult |
Action.doExecute(javax.servlet.http.HttpServletRequest req,
RenderContext renderContext,
Resource resource,
JCRSessionWrapper session,
Map<String,List<String>> parameters,
URLResolver urlResolver) |
ActionResult |
DefaultPutAction.doExecute(javax.servlet.http.HttpServletRequest req,
RenderContext renderContext,
Resource resource,
JCRSessionWrapper session,
Map<String,List<String>> parameters,
URLResolver urlResolver) |
ActionResult |
SystemAction.doExecute(javax.servlet.http.HttpServletRequest req,
RenderContext renderContext,
Resource resource,
JCRSessionWrapper session,
Map<String,List<String>> parameters,
URLResolver urlResolver) |
ActionResult |
DefaultDeleteAction.doExecute(javax.servlet.http.HttpServletRequest req,
RenderContext renderContext,
Resource resource,
JCRSessionWrapper session,
Map<String,List<String>> parameters,
URLResolver urlResolver) |
ActionResult |
DefaultPostAction.doExecute(javax.servlet.http.HttpServletRequest req,
RenderContext renderContext,
Resource resource,
JCRSessionWrapper session,
Map<String,List<String>> parameters,
URLResolver urlResolver) |
abstract ActionResult |
SystemAction.doExecuteAsSystem(javax.servlet.http.HttpServletRequest req,
RenderContext renderContext,
JCRSessionWrapper systemSession,
Resource resource,
Map<String,List<String>> parameters,
URLResolver urlResolver) |
protected void |
Render.doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
RenderContext renderContext,
Resource resource,
long startTime) |
protected void |
Render.doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
RenderContext renderContext,
URLResolver urlResolver) |
protected void |
Render.doPut(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
RenderContext renderContext,
URLResolver urlResolver) |
protected long |
Render.getLastModified(Resource resource,
RenderContext renderContext)
Returns the time the
HttpServletRequest object was last modified, in milliseconds since midnight January 1, 1970 GMT. |
| Modifier and Type | Method and Description |
|---|---|
String |
ChannelPreviewFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
ChannelResolutionFilter.prepare(RenderContext context,
Resource resource,
RenderChain chain) |
| Modifier and Type | Method and Description |
|---|---|
static JCRNodeWrapper |
JCRContentUtils.findDisplayableNode(JCRNodeWrapper node,
RenderContext context) |
static JCRNodeWrapper |
JCRContentUtils.findDisplayableNode(JCRNodeWrapper node,
RenderContext context,
JCRSiteNode contextSite) |
static boolean |
JCRContentUtils.isADisplayableNode(JCRNodeWrapper node,
RenderContext context) |
| Modifier and Type | Field and Description |
|---|---|
static ThreadLocal<RenderContext> |
TemplateModuleInterceptor.renderContextThreadLocal |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
CountryFlagChoiceListInitializerAndRendererImpl.getObjectRendering(RenderContext context,
ExtendedPropertyDefinition propDef,
Object propertyValue) |
Map<String,Object> |
CountryFlagChoiceListInitializerAndRendererImpl.getObjectRendering(RenderContext context,
JCRPropertyWrapper propertyWrapper) |
String |
CountryFlagChoiceListInitializerAndRendererImpl.getStringRendering(RenderContext context,
ExtendedPropertyDefinition propDef,
Object propertyValue) |
String |
ResourceBundleChoiceListInitializerImpl.getStringRendering(RenderContext context,
JCRPropertyWrapper propertyWrapper) |
String |
CountryChoiceListInitializerAndRendererImpl.getStringRendering(RenderContext context,
JCRPropertyWrapper propertyWrapper) |
String |
SortableFieldnamesChoiceListInitializerImpl.getStringRendering(RenderContext context,
JCRPropertyWrapper propertyWrapper) |
String |
CountryFlagChoiceListInitializerAndRendererImpl.getStringRendering(RenderContext context,
JCRPropertyWrapper propertyWrapper) |
| Modifier and Type | Method and Description |
|---|---|
String |
HtmlExternalizationService.externalize(String sourceContent,
RenderContext renderContext) |
| Modifier and Type | Method and Description |
|---|---|
URLResolver |
URLResolverFactory.createURLResolver(String url,
RenderContext context) |
Script |
Resource.getScript(RenderContext context)
Get the script for the current resource, if the script is null and renderContext is provide as parameter
we try do the resolution of the script, then store it in the current resource, so it's available for the rest
of the render chain.
|
boolean |
RenderService.hasView(ExtendedNodeType nt,
String key,
JCRSiteNode site,
String templateType,
RenderContext renderContext) |
boolean |
RenderService.hasView(JCRNodeWrapper node,
String key,
String templateType,
RenderContext renderContext) |
void |
RenderTimeMonitor.monitor(Resource resource,
RenderContext renderContext)
Checks the current request rendering time and, if it exceeds the maximum configured one, throws the
RenderTimeLimitExceededException to stop the current request processing chain. |
String |
RenderService.render(Resource resource,
RenderContext context)
Render a specific resource and returns it as a StringBuffer.
|
Script |
RenderService.resolveScript(Resource resource,
RenderContext context)
This resolves the executable script from the resource object.
|
Template |
RenderService.resolveTemplate(Resource resource,
RenderContext renderContext) |
void |
URLResolver.setRenderContext(RenderContext renderContext) |
| Constructor and Description |
|---|
URLGenerator(RenderContext context,
Resource resource) |
URLResolver(String url,
RenderContext context,
net.sf.ehcache.Ehcache nodePathCache,
net.sf.ehcache.Ehcache siteInfoCache)
Initializes an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
AggregateFilter.aggregateContent(String content,
RenderContext renderContext)
Aggregate the content that are inside the fragment to get a full HTML content with all sub modules embedded.
|
boolean |
ConditionalExecution.areConditionsMatched(RenderContext renderContext,
Resource resource) |
boolean |
RenderFilter.areConditionsMatched(RenderContext renderContext,
Resource resource) |
boolean |
AbstractFilter.areConditionsMatched(RenderContext renderContext,
Resource resource) |
String |
RenderChain.doFilter(RenderContext renderContext,
Resource resource)
Continue the execution of the render chain.
|
String |
MetricsLoggingFilter.execute(String previousOut,
RenderContext context,
Resource resource,
RenderChain chain) |
String |
BaseAttributesFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
HistoryTrackerFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
URLFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
WrapperFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
RegexpFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
EditModeFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain)
Handle edit mode frame requests : open external url in new window
|
String |
URLSystemAttributesAppenderFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
FormTokenFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
RenderFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
AbstractFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
AggregateFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
TemplatePermissionCheckFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
StaticAssetsFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
EmailObfuscatorFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
ExternalizeHtmlFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
SourceFormatterFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain) |
void |
TemplateModuleInterceptorFilter.finalize(RenderContext renderContext,
Resource resource,
RenderChain renderChain) |
void |
RenderFilter.finalize(RenderContext renderContext,
Resource resource,
RenderChain renderChain) |
void |
AbstractFilter.finalize(RenderContext renderContext,
Resource resource,
RenderChain renderChain) |
void |
AggregateFilter.finalize(RenderContext renderContext,
Resource resource,
RenderChain renderChain) |
protected String |
AggregateFilter.generateContent(RenderContext renderContext,
String key)
Generates content for a sub fragment.
|
String |
EditModeFilter.getContentForError(RenderContext renderContext,
Resource resource,
RenderChain renderChain,
Exception e) |
String |
RenderFilter.getContentForError(RenderContext renderContext,
Resource resource,
RenderChain renderChain,
Exception e) |
String |
AbstractFilter.getContentForError(RenderContext renderContext,
Resource resource,
RenderChain renderChain,
Exception e) |
String |
TemplatePermissionCheckFilter.getContentForError(RenderContext renderContext,
Resource resource,
RenderChain chain,
Exception e) |
String |
TemplateScriptFilter.getContentForError(RenderContext renderContext,
Resource resource,
RenderChain renderChain,
Exception e) |
protected String |
MarkedForDeletionFilter.getTemplateOutput(RenderContext renderContext,
Resource resource) |
String |
AbstractFilter.ModuleCondition.getValue(RenderContext renderContext,
Resource resource) |
protected abstract String |
AbstractFilter.PatternCondition.getValue(RenderContext renderContext,
Resource resource) |
String |
AbstractFilter.TemplateCondition.getValue(RenderContext renderContext,
Resource resource) |
String |
AbstractFilter.TemplateTypeCondition.getValue(RenderContext renderContext,
Resource resource) |
boolean |
AbstractFilter.ExecutionCondition.matches(RenderContext renderContext,
Resource resource)
Returns
true if the condition matches the specified
resource. |
boolean |
AbstractFilter.AjaxRequestCondition.matches(RenderContext renderContext,
Resource resource)
Returns
true if the condition matches the specified
resource. |
boolean |
AbstractFilter.AnyOfCondition.matches(RenderContext renderContext,
Resource resource) |
boolean |
AbstractFilter.ConfigurationCondition.matches(RenderContext renderContext,
Resource resource) |
boolean |
AbstractFilter.MainResourceCondition.matches(RenderContext renderContext,
Resource resource) |
boolean |
AbstractFilter.ModeCondition.matches(RenderContext renderContext,
Resource resource) |
boolean |
AbstractFilter.EditModeCondition.matches(RenderContext renderContext,
Resource resource) |
boolean |
AbstractFilter.NodeTypeCondition.matches(RenderContext renderContext,
Resource resource) |
boolean |
AbstractFilter.NotCondition.matches(RenderContext renderContext,
Resource resource) |
boolean |
AbstractFilter.PatternCondition.matches(RenderContext renderContext,
Resource resource) |
boolean |
AbstractFilter.RequestAttributeCondition.matches(RenderContext renderContext,
Resource resource) |
boolean |
AbstractFilter.RequestHeaderCondition.matches(RenderContext renderContext,
Resource resource) |
boolean |
AbstractFilter.RequestParameterCondition.matches(RenderContext renderContext,
Resource resource) |
boolean |
AbstractFilter.SiteTemplateSetCondition.matches(RenderContext renderContext,
Resource resource) |
boolean |
AbstractFilter.WebflowRequestCondition.matches(RenderContext renderContext,
Resource resource) |
static boolean |
AbstractFilter.ModeCondition.matches(RenderContext renderContext,
String mode) |
String |
AreaResourceFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
MetricsLoggingFilter.prepare(RenderContext context,
Resource resource,
RenderChain chain) |
String |
BaseAttributesFilter.prepare(RenderContext context,
Resource resource,
RenderChain chain) |
String |
TemplateModuleInterceptorFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
ForceUILocaleFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
MarkedForDeletionFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
EditModeFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain)
Handle edit mode requests : dispatch to edit.jsp if edit mode
|
String |
TemplateNodeFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
RenderFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
NodeAttributesFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
AbstractFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
AggregateFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
TemplatePermissionCheckFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
TemplateScriptFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
TemplateAttributesFilter.prepare(RenderContext context,
Resource resource,
RenderChain chain) |
String |
HtmlTagAttributeTraverser.traverse(String htmlContent,
RenderContext context,
Resource resource,
HtmlTagAttributeTraverser.HtmlTagAttributeVisitor... visitors)
Parses the provided HTML content and calls specified visitors to modify
the value of matching tag attributes.
|
String |
HtmlTagAttributeTraverser.HtmlTagAttributeVisitor.visit(String value,
RenderContext context,
String tagName,
String attrName,
Resource resource)
Applies the required modifications to the specified attribute if
needed.
|
String |
SiteParameterAdder.visit(String value,
RenderContext context,
String tagName,
String attrName,
Resource resource) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AggregateCacheFilter.addDependencies(RenderContext renderContext,
String finalKey,
net.sf.ehcache.Cache cache,
String value,
Set<String> newDependencies)
Deprecated.
Add key to the list of dependencies
|
protected void |
CacheFilter.addDependencies(RenderContext renderContext,
String finalKey,
net.sf.ehcache.Cache cache,
String value,
Set<String> newDependencies)
Add key to the list of dependencies
|
protected String |
AggregateCacheFilter.aggregateContent(net.sf.ehcache.Cache cache,
String cachedContent,
RenderContext renderContext,
String areaIdentifier,
Stack<String> cacheKeyStack,
Set<String> allPaths)
Deprecated.
Aggregate the content that are inside the cached fragment to get a full HTML content with all sub modules
embedded.
|
protected String |
AggregateCacheFilter.appendDebugInformation(RenderContext renderContext,
String key,
String renderContent,
net.sf.ehcache.Element cachedElement)
Deprecated.
|
protected CountDownLatch |
AggregateCacheFilter.avoidParallelProcessingOfSameModule(String key,
RenderContext renderContext,
Resource resource,
Properties properties)
Deprecated.
|
protected CacheEntry<String> |
AggregateCacheFilter.createCacheEntry(String previousOut,
RenderContext renderContext,
Resource resource,
String key)
Deprecated.
Create the cache entry based on the rendered content.
|
protected void |
CacheFilter.doCache(String previousOut,
RenderContext renderContext,
Resource resource,
Long expiration,
net.sf.ehcache.Cache cache,
String finalKey,
boolean bypassDependencies) |
protected void |
AggregateCacheFilter.doCache(String previousOut,
RenderContext renderContext,
Resource resource,
Properties properties,
net.sf.ehcache.Cache cache,
String key,
String finalKey)
Deprecated.
Create the fragment and store it into the cache.
|
protected void |
AggregateCacheFilter.doCache(String previousOut,
RenderContext renderContext,
Resource resource,
Properties properties,
net.sf.ehcache.Cache cache,
String key,
String finalKey,
boolean bypassDependencies)
Deprecated.
|
String |
AggregateCacheFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain)
Deprecated.
If the entry was not found in the cache, the execute method is called once all normal render processing has been
done.
|
String |
CacheFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain) |
void |
AggregateCacheFilter.finalize(RenderContext renderContext,
Resource resource,
RenderChain chain)
Deprecated.
|
void |
CacheFilter.finalize(RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
DefaultCacheKeyGenerator.generate(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
CacheKeyGenerator.generate(Resource resource,
RenderContext renderContext,
Properties properties)
Generates the output cache key based on the provided data.
|
protected String |
AggregateCacheFilter.generateContent(RenderContext renderContext,
String cacheKey,
String areaIdentifier,
Set<String> allPaths)
Deprecated.
Generates content for a sub fragment.
|
protected Properties |
AggregateCacheFilter.getAttributesForKey(RenderContext renderContext,
Resource resource)
Deprecated.
Get all cache attributes that need to be applied on this fragment and that will impact key generation.
|
Properties |
DefaultCacheKeyGenerator.getAttributesForKey(RenderContext renderContext,
Resource resource)
Get all cache attributes that need to be applied on this fragment and that will impact key generation.
|
Properties |
CacheKeyGenerator.getAttributesForKey(RenderContext renderContext,
Resource resource)
Get all cache attributes that need to be applied on this fragment and that will impact key generation.
|
String |
AggregateCacheFilter.getContentForError(RenderContext renderContext,
Resource resource,
RenderChain chain,
Exception e)
Deprecated.
|
String |
CacheFilter.getContentForError(RenderContext renderContext,
Resource resource,
RenderChain chain,
Exception e) |
protected boolean |
ModuleGeneratorQueue.getLatch(RenderContext renderContext,
String finalKey)
Get a latch for the given fragment key, this key will be unavailable for all other threads until the thread that put the latch
call the releaseLatch function.
|
String |
AjaxCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
TemplateNodesCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
CustomCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
CanonicalPathCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
TemplateCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
AreaResourceCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
WrappedCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
ResourceIDCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
QueryStringCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
CacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties)
Get value of this given key part.
|
String |
InAreaCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
ModuleParamsCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
AclCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
TemplateTypeCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
SiteCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
LanguageCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
ContextCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
ReadOnlyCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
String |
PathCacheKeyPartGenerator.getValue(Resource resource,
RenderContext renderContext,
Properties properties) |
protected boolean |
AggregateCacheFilter.isCacheable(RenderContext renderContext,
Resource resource,
String key,
Properties properties)
Deprecated.
Is the current fragment cacheable or not.
|
protected boolean |
CacheFilter.isCacheable(RenderContext renderContext,
String key,
Resource resource,
Properties fragmentProperties)
Is the current fragment cacheable or not.
|
String |
ReferencesToDependenciesFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
AggregateCacheFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain)
Deprecated.
The prepare method is the first entry point in the cache.
|
String |
CacheFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain) |
Map<String,Object> |
DefaultCacheKeyGenerator.prepareContextForContentGeneration(Map<String,String> keyParts,
Resource resource,
RenderContext renderContext) |
Map<String,Object> |
CacheKeyGenerator.prepareContextForContentGeneration(Map<String,String> keyParts,
Resource resource,
RenderContext renderContext)
Before generating a sub-fragment during aggregation, this function will be called to modify the render context.
|
Object |
TemplateNodesCacheKeyPartGenerator.prepareContextForContentGeneration(String value,
Resource resource,
RenderContext renderContext) |
Object |
AreaResourceCacheKeyPartGenerator.prepareContextForContentGeneration(String value,
Resource resource,
RenderContext renderContext) |
Object |
RenderContextTuner.prepareContextForContentGeneration(String value,
Resource resource,
RenderContext renderContext)
This will be called before a new RenderChain is started to generate a sub-fragment.
|
Object |
WrappedCacheKeyPartGenerator.prepareContextForContentGeneration(String value,
Resource resource,
RenderContext renderContext) |
Object |
InAreaCacheKeyPartGenerator.prepareContextForContentGeneration(String value,
Resource resource,
RenderContext renderContext) |
Object |
ModuleParamsCacheKeyPartGenerator.prepareContextForContentGeneration(String value,
Resource resource,
RenderContext renderContext) |
Object |
ContextCacheKeyPartGenerator.prepareContextForContentGeneration(String value,
Resource resource,
RenderContext renderContext) |
String |
AjaxCacheKeyPartGenerator.replacePlaceholders(RenderContext renderContext,
String keyPart) |
String |
TemplateNodesCacheKeyPartGenerator.replacePlaceholders(RenderContext renderContext,
String keyPart) |
String |
CustomCacheKeyPartGenerator.replacePlaceholders(RenderContext renderContext,
String keyPart) |
String |
CanonicalPathCacheKeyPartGenerator.replacePlaceholders(RenderContext renderContext,
String keyPart) |
String |
TemplateCacheKeyPartGenerator.replacePlaceholders(RenderContext renderContext,
String keyPart) |
String |
AreaResourceCacheKeyPartGenerator.replacePlaceholders(RenderContext renderContext,
String keyPart) |
String |
WrappedCacheKeyPartGenerator.replacePlaceholders(RenderContext renderContext,
String keyPart) |
String |
ResourceIDCacheKeyPartGenerator.replacePlaceholders(RenderContext renderContext,
String keyPart) |
String |
QueryStringCacheKeyPartGenerator.replacePlaceholders(RenderContext renderContext,
String keyPart) |
String |
CacheKeyPartGenerator.replacePlaceholders(RenderContext renderContext,
String keyPart)
Replace placeholders in the keyPart to construct the final key used to store the fragment in the cache.
|
String |
InAreaCacheKeyPartGenerator.replacePlaceholders(RenderContext renderContext,
String keyPart) |
String |
ModuleParamsCacheKeyPartGenerator.replacePlaceholders(RenderContext renderContext,
String keyPart) |
String |
AclCacheKeyPartGenerator.replacePlaceholders(RenderContext renderContext,
String keyPart) |
String |
TemplateTypeCacheKeyPartGenerator.replacePlaceholders(RenderContext renderContext,
String keyPart) |
String |
SiteCacheKeyPartGenerator.replacePlaceholders(RenderContext renderContext,
String keyPart) |
String |
LanguageCacheKeyPartGenerator.replacePlaceholders(RenderContext renderContext,
String keyPart) |
String |
ContextCacheKeyPartGenerator.replacePlaceholders(RenderContext renderContext,
String keyPart) |
String |
ReadOnlyCacheKeyPartGenerator.replacePlaceholders(RenderContext renderContext,
String keyPart) |
String |
PathCacheKeyPartGenerator.replacePlaceholders(RenderContext renderContext,
String keyPart) |
protected String |
AggregateCacheFilter.replacePlaceholdersInCacheKey(RenderContext renderContext,
String key)
Deprecated.
Replace all placeholders in the cache key to get a final key.
|
String |
DefaultCacheKeyGenerator.replacePlaceholdersInCacheKey(RenderContext renderContext,
String key) |
String |
CacheKeyGenerator.replacePlaceholdersInCacheKey(RenderContext renderContext,
String key)
Transform the fragment key into the final key used for caching the fragment
|
void |
DefaultCacheKeyGenerator.restoreContextAfterContentGeneration(Map<String,String> keyParts,
Resource resource,
RenderContext renderContext,
Map<String,Object> original) |
void |
CacheKeyGenerator.restoreContextAfterContentGeneration(Map<String,String> keyParts,
Resource resource,
RenderContext renderContext,
Map<String,Object> original)
After generating a sub-fragment during aggregation, this function will be called to restore the render context.
|
void |
TemplateNodesCacheKeyPartGenerator.restoreContextAfterContentGeneration(String value,
Resource resource,
RenderContext renderContext,
Object original) |
void |
AreaResourceCacheKeyPartGenerator.restoreContextAfterContentGeneration(String value,
Resource resource,
RenderContext renderContext,
Object original) |
void |
RenderContextTuner.restoreContextAfterContentGeneration(String value,
Resource resource,
RenderContext renderContext,
Object original)
This will be called after a RenderChain finished to generate a sub-fragment.
|
void |
WrappedCacheKeyPartGenerator.restoreContextAfterContentGeneration(String value,
Resource resource,
RenderContext renderContext,
Object original) |
void |
InAreaCacheKeyPartGenerator.restoreContextAfterContentGeneration(String value,
Resource resource,
RenderContext renderContext,
Object original) |
void |
ModuleParamsCacheKeyPartGenerator.restoreContextAfterContentGeneration(String value,
Resource resource,
RenderContext renderContext,
Object original) |
void |
ContextCacheKeyPartGenerator.restoreContextAfterContentGeneration(String value,
Resource resource,
RenderContext renderContext,
Object original) |
protected String |
AggregateCacheFilter.returnFromCache(RenderContext renderContext,
Resource resource,
String key,
String finalKey,
net.sf.ehcache.Element element,
net.sf.ehcache.Cache cache)
Deprecated.
This method is called if the entry is found in the cache.
|
protected String |
CacheFilter.returnFromCache(RenderContext renderContext,
String key,
String finalKey,
net.sf.ehcache.Element element,
Map<String,Object> moduleMap)
This method is called if the entry is found in the cache.
|
String |
CacheUrlDependenciesParserFilter.visit(String value,
RenderContext context,
String tagName,
String attrName,
Resource resource)
Applies the required modifications to the specified attribute if
needed.
|
| Modifier and Type | Method and Description |
|---|---|
String |
PlutoProcessActionFilter.execute(String previousOut,
RenderContext renderContext,
Resource resource,
RenderChain chain) |
String |
PlutoProcessActionFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultRenderTimeMonitor.monitor(Resource resource,
RenderContext renderContext) |
| Modifier and Type | Method and Description |
|---|---|
String |
JSR223Script.execute(Resource resource,
RenderContext context)
Execute the script and return the result as a string
|
String |
Script.execute(Resource resource,
RenderContext context)
Execute the script and return the result as a string
|
String |
RequestDispatcherScript.execute(Resource resource,
RenderContext context)
Execute the script and return the result as a string
|
Script |
ScriptResolver.resolveScript(Resource resource,
RenderContext renderContext) |
| Modifier and Type | Method and Description |
|---|---|
Script |
BundleScriptResolver.resolveScript(Resource resource,
RenderContext renderContext) |
| Modifier and Type | Method and Description |
|---|---|
ActionResult |
WebflowAction.doExecute(javax.servlet.http.HttpServletRequest req,
RenderContext renderContext,
Resource resource,
JCRSessionWrapper session,
Map<String,List<String>> parameters,
URLResolver urlResolver) |
String |
WebflowDispatcherScript.execute(Resource resource,
RenderContext context)
Execute the script and return the result as a string
|
| Modifier and Type | Field and Description |
|---|---|
protected RenderContext |
AbstractHit.context |
| Modifier and Type | Method and Description |
|---|---|
RenderContext |
AbstractHit.getContext() |
| Modifier and Type | Method and Description |
|---|---|
static void |
SearchServiceImpl.executeURLModificationRules(Hit<?> searchHit,
RenderContext context)
Execute rules on a single search hit object.
|
static void |
SearchServiceImpl.executeURLModificationRules(List<? extends Hit> searchHits,
RenderContext context)
Execute rules on the list of hit objects.
|
static SearchResponse.FacetedResult |
SearchUtils.getFacetedResult(String facetDefinitionId,
RenderContext ctx)
Retrieves the faceted result, which corresponds to the supplied facet definition ID.
|
static SearchCriteria |
SearchCriteriaFactory.getInstance(RenderContext ctx)
Looks up the
SearchCriteria object in the request scope. |
static SearchResponse |
SearchUtils.getSearchResponse(RenderContext ctx)
Obtains the search response object for the current search, performing a search if not yet done for current request.
|
SearchResponse |
SearchServiceImpl.search(SearchCriteria criteria,
RenderContext context) |
abstract SearchResponse |
SearchService.search(SearchCriteria criteria,
RenderContext context)
Performs a search using the SearchCriteria object, which is created with using the
Jahia Search Tags or can also be created in Java classes by using the
SearchCriteriaFactory.
|
SearchResponse |
SearchProvider.search(SearchCriteria criteria,
RenderContext context)
Performs a search using the SearchCriteria object, which is created with using the
Jahia Search Tags or can also be created in Java classes by using the
SearchCriteriaFactory.
|
Suggestion |
SearchServiceImpl.suggest(SearchCriteria originalQuery,
RenderContext context,
int maxTermsToSuggest) |
abstract Suggestion |
SearchService.suggest(SearchCriteria originalQuery,
RenderContext context,
int maxTermsToSuggest)
Returns a modified suggestion for the original query based on the spell
checker dictionary.
|
Suggestion |
SearchProvider.SupportsSuggestion.suggest(SearchCriteria originalQuery,
RenderContext context,
int maxTermsToSuggest)
Returns a modified suggestion for the original query based on the spell
checker dictionary.
|
Suggestion |
SearchServiceImpl.suggest(String originalQuery,
RenderContext context,
int maxTermsToSuggest) |
abstract Suggestion |
SearchService.suggest(String originalQuery,
RenderContext context,
int maxTermsToSuggest)
Deprecated.
use suggest(SearchCriteria originalQuery, RenderContext context, int maxTermsToSuggest)
|
Suggestion |
SearchProvider.suggest(String originalQuery,
RenderContext context,
int maxTermsToSuggest)
Deprecated.
Use SupportsSuggestion interface instead
|
| Constructor and Description |
|---|
AbstractHit(T resource,
RenderContext context)
Initializes an instance of this class.
|
FileHit(JCRNodeWrapper node,
RenderContext context)
Initializes an instance of this class.
|
JCRNodeHit(JCRNodeWrapper node,
RenderContext context)
Initializes an instance of this class.
|
PageHit(JCRNodeWrapper page,
RenderContext context)
Initializes an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
SearchResponse |
JahiaJCRSearchProvider.search(SearchCriteria criteria,
RenderContext context) |
Suggestion |
JahiaJCRSearchProvider.suggest(SearchCriteria originalQuery,
RenderContext context,
int maxTermsToSuggest) |
Suggestion |
JahiaJCRSearchProvider.suggest(String originalQuery,
RenderContext context,
int maxTerms) |
Suggestion |
JahiaJCRSearchProvider.suggest(String originalQuery,
String[] sites,
RenderContext context,
int maxTermsToSuggest) |
| Modifier and Type | Method and Description |
|---|---|
String |
UrlRewriteVisitor.visit(String attrValue,
RenderContext context,
String tagName,
String attrName,
Resource resource)
Applies the configured URL rewriting rules to the URL value.
|
| Modifier and Type | Method and Description |
|---|---|
abstract ActionResult |
BaseTagAction.doExecute(javax.servlet.http.HttpServletRequest req,
RenderContext renderContext,
Resource resource,
JCRSessionWrapper session,
Map<String,List<String>> parameters,
URLResolver urlResolver) |
| Modifier and Type | Method and Description |
|---|---|
String |
VisibilityFilter.prepare(RenderContext renderContext,
Resource resource,
RenderChain chain) |
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.