Class DefaultVelocityHelperService
- java.lang.Object
-
- com.atlassian.confluence.plugin.services.DefaultVelocityHelperService
-
- All Implemented Interfaces:
VelocityHelperService
@Deprecated(forRemoval=true) public class DefaultVelocityHelperService extends Object implements VelocityHelperService
Deprecated, for removal: This API element is subject to removal in a future version.since 8.6 replaced byVelocityEngineRenderingService
-
-
Constructor Summary
Constructors Constructor Description DefaultVelocityHelperService()
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Map<String,Object>
createDefaultVelocityContext()
Deprecated, for removal: This API element is subject to removal in a future version.String
getRenderedContent(String templateContent, Map<String,Object> context)
Deprecated, for removal: This API element is subject to removal in a future version.String
getRenderedContent(String templateContent, org.apache.velocity.context.Context context)
Deprecated, for removal: This API element is subject to removal in a future version.String
getRenderedContentWithoutSwallowingErrors(String templateContent, org.apache.velocity.context.Context context)
Deprecated, for removal: This API element is subject to removal in a future version.String
getRenderedTemplate(String templateName, Map<String,Object> context)
Deprecated, for removal: This API element is subject to removal in a future version.String
getRenderedTemplateWithoutSwallowingErrors(String templateName, Map<String,Object> context)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
getRenderedTemplate
public String getRenderedTemplate(String templateName, Map<String,Object> context)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getRenderedTemplate
in interfaceVelocityHelperService
-
getRenderedTemplateWithoutSwallowingErrors
public String getRenderedTemplateWithoutSwallowingErrors(String templateName, Map<String,Object> context) throws Exception
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getRenderedTemplateWithoutSwallowingErrors
in interfaceVelocityHelperService
- Throws:
Exception
-
getRenderedContent
public String getRenderedContent(String templateContent, Map<String,Object> context)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getRenderedContent
in interfaceVelocityHelperService
-
getRenderedContent
public String getRenderedContent(String templateContent, org.apache.velocity.context.Context context)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getRenderedContent
in interfaceVelocityHelperService
-
getRenderedContentWithoutSwallowingErrors
public String getRenderedContentWithoutSwallowingErrors(String templateContent, org.apache.velocity.context.Context context) throws Exception
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getRenderedContentWithoutSwallowingErrors
in interfaceVelocityHelperService
- Throws:
Exception
-
createDefaultVelocityContext
public Map<String,Object> createDefaultVelocityContext()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
createDefaultVelocityContext
in interfaceVelocityHelperService
-
-