public class TemplateHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
EDIT |
static int |
LIVE |
static int |
PREVIEW |
| Constructor and Description |
|---|
TemplateHelper() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Set<String>> |
getAvailableResources(String moduleName) |
Set<String> |
getAvailableResources(String moduleName,
String type,
String ext) |
Set<String> |
getAvailableResources(String moduleName,
String type,
String ext,
boolean checkDependencies) |
org.jahia.ajax.gwt.client.data.GWTRenderResult |
getRenderedContent(String path,
String template,
String configuration,
Map<String,List<String>> contextParams,
boolean editMode,
String configName,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
JCRSessionWrapper currentUserSession,
Locale uiLocale,
String channelIdentifier,
String channelVariant)
Get rendered content
|
void |
setChannelService(ChannelService channelService) |
void |
setRenderService(RenderService renderService) |
public static final int LIVE
public static final int PREVIEW
public static final int EDIT
public void setRenderService(RenderService renderService)
public void setChannelService(ChannelService channelService)
public org.jahia.ajax.gwt.client.data.GWTRenderResult getRenderedContent(String path, String template, String configuration, Map<String,List<String>> contextParams, boolean editMode, String configName, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, JCRSessionWrapper currentUserSession, Locale uiLocale, String channelIdentifier, String channelVariant) throws org.jahia.ajax.gwt.client.service.GWTJahiaServiceException
path - template - configuration - contextParams - editMode - configName - request - response - currentUserSession - uiLocale - channelIdentifier - channelVariant - org.jahia.ajax.gwt.client.service.GWTJahiaServiceExceptionpublic Set<String> getAvailableResources(String moduleName, String type, String ext)
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.