public class JournalTransformer
extends java.lang.Object
Constructor and Description |
---|
JournalTransformer(boolean restricted) |
JournalTransformer(java.lang.String errorTemplatePropertyKey,
boolean restricted)
Deprecated.
As of Judson (7.1.x), replaced by
JournalTransformer(boolean) |
JournalTransformer(java.lang.String transformerListenerPropertyKey,
java.lang.String errorTemplatePropertyKey,
boolean restricted)
Deprecated.
As of Judson (7.1.x), replaced by
JournalTransformer(boolean) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
doTransform(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
java.util.Map<java.lang.String,java.lang.Object> contextObjects,
java.util.Map<java.lang.String,java.lang.String> tokens,
java.lang.String viewMode,
java.lang.String languageId,
com.liferay.portal.kernel.xml.Document document,
com.liferay.portal.kernel.portlet.PortletRequestModel portletRequestModel,
java.lang.String script,
java.lang.String langType,
boolean propagateException) |
protected java.lang.ClassLoader |
getClassLoader() |
protected com.liferay.portal.kernel.model.Company |
getCompany(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
long companyId) |
protected com.liferay.portal.kernel.mobile.device.Device |
getDevice(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
protected com.liferay.portal.kernel.template.TemplateResource |
getErrorTemplateResource(java.lang.String langType) |
protected com.liferay.portal.kernel.template.Template |
getTemplate(java.lang.String templateId,
java.util.Map<java.lang.String,java.lang.String> tokens,
java.lang.String languageId,
com.liferay.portal.kernel.xml.Document document,
java.lang.String script,
java.lang.String langType) |
protected java.lang.String |
getTemplateId(java.lang.String templateId,
long companyId,
long companyGroupId,
long groupId) |
protected java.util.List<com.liferay.portal.kernel.templateparser.TemplateNode> |
getTemplateNodes(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
com.liferay.portal.kernel.xml.Element element,
long ddmStructureId) |
protected java.lang.String |
getTemplatesPath(long companyId,
long groupId,
long classNameId) |
protected java.util.Map<java.lang.String,java.lang.Object> |
insertRequestVariables(com.liferay.portal.kernel.xml.Element element) |
protected void |
mergeTemplate(com.liferay.portal.kernel.template.Template template,
com.liferay.portal.kernel.io.unsync.UnsyncStringWriter unsyncStringWriter,
boolean propagateException) |
java.lang.String |
transform(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
java.util.Map<java.lang.String,java.lang.Object> contextObjects,
java.util.Map<java.lang.String,java.lang.String> tokens,
java.lang.String viewMode,
java.lang.String languageId,
com.liferay.portal.kernel.xml.Document document,
com.liferay.portal.kernel.portlet.PortletRequestModel portletRequestModel,
java.lang.String script,
java.lang.String langType,
boolean propagateException) |
java.lang.String |
transform(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
java.util.Map<java.lang.String,java.lang.String> tokens,
java.lang.String viewMode,
java.lang.String languageId,
com.liferay.portal.kernel.xml.Document document,
com.liferay.portal.kernel.portlet.PortletRequestModel portletRequestModel,
java.lang.String script,
java.lang.String langType) |
java.lang.String |
transform(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
java.util.Map<java.lang.String,java.lang.String> tokens,
java.lang.String viewMode,
java.lang.String languageId,
com.liferay.portal.kernel.xml.Document document,
com.liferay.portal.kernel.portlet.PortletRequestModel portletRequestModel,
java.lang.String script,
java.lang.String langType,
boolean propagateException) |
public JournalTransformer(boolean restricted)
@Deprecated public JournalTransformer(java.lang.String errorTemplatePropertyKey, boolean restricted)
JournalTransformer(boolean)
@Deprecated public JournalTransformer(java.lang.String transformerListenerPropertyKey, java.lang.String errorTemplatePropertyKey, boolean restricted)
JournalTransformer(boolean)
public java.lang.String transform(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, java.util.Map<java.lang.String,java.lang.Object> contextObjects, java.util.Map<java.lang.String,java.lang.String> tokens, java.lang.String viewMode, java.lang.String languageId, com.liferay.portal.kernel.xml.Document document, com.liferay.portal.kernel.portlet.PortletRequestModel portletRequestModel, java.lang.String script, java.lang.String langType, boolean propagateException) throws java.lang.Exception
java.lang.Exception
public java.lang.String transform(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, java.util.Map<java.lang.String,java.lang.String> tokens, java.lang.String viewMode, java.lang.String languageId, com.liferay.portal.kernel.xml.Document document, com.liferay.portal.kernel.portlet.PortletRequestModel portletRequestModel, java.lang.String script, java.lang.String langType) throws java.lang.Exception
java.lang.Exception
public java.lang.String transform(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, java.util.Map<java.lang.String,java.lang.String> tokens, java.lang.String viewMode, java.lang.String languageId, com.liferay.portal.kernel.xml.Document document, com.liferay.portal.kernel.portlet.PortletRequestModel portletRequestModel, java.lang.String script, java.lang.String langType, boolean propagateException) throws java.lang.Exception
java.lang.Exception
protected java.lang.String doTransform(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, java.util.Map<java.lang.String,java.lang.Object> contextObjects, java.util.Map<java.lang.String,java.lang.String> tokens, java.lang.String viewMode, java.lang.String languageId, com.liferay.portal.kernel.xml.Document document, com.liferay.portal.kernel.portlet.PortletRequestModel portletRequestModel, java.lang.String script, java.lang.String langType, boolean propagateException) throws java.lang.Exception
java.lang.Exception
protected java.lang.ClassLoader getClassLoader()
protected com.liferay.portal.kernel.model.Company getCompany(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, long companyId) throws java.lang.Exception
java.lang.Exception
protected com.liferay.portal.kernel.mobile.device.Device getDevice(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
protected com.liferay.portal.kernel.template.TemplateResource getErrorTemplateResource(java.lang.String langType)
protected com.liferay.portal.kernel.template.Template getTemplate(java.lang.String templateId, java.util.Map<java.lang.String,java.lang.String> tokens, java.lang.String languageId, com.liferay.portal.kernel.xml.Document document, java.lang.String script, java.lang.String langType) throws java.lang.Exception
java.lang.Exception
protected java.lang.String getTemplateId(java.lang.String templateId, long companyId, long companyGroupId, long groupId)
protected java.util.List<com.liferay.portal.kernel.templateparser.TemplateNode> getTemplateNodes(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, com.liferay.portal.kernel.xml.Element element, long ddmStructureId) throws java.lang.Exception
java.lang.Exception
protected java.lang.String getTemplatesPath(long companyId, long groupId, long classNameId)
protected java.util.Map<java.lang.String,java.lang.Object> insertRequestVariables(com.liferay.portal.kernel.xml.Element element)
protected void mergeTemplate(com.liferay.portal.kernel.template.Template template, com.liferay.portal.kernel.io.unsync.UnsyncStringWriter unsyncStringWriter, boolean propagateException) throws java.lang.Exception
java.lang.Exception