Class FreemarkerRenderingEngine
java.lang.Object
org.alfresco.repo.action.CommonResourceAbstractBase
org.alfresco.repo.action.ParameterizedItemAbstractBase
org.alfresco.repo.action.executer.ActionExecuterAbstractBase
org.alfresco.repo.rendition.executer.AbstractRenderingEngine
org.alfresco.repo.rendition.executer.BaseTemplateRenderingEngine
org.alfresco.repo.rendition.executer.FreemarkerRenderingEngine
- All Implemented Interfaces:
ActionExecuter,LoggingAwareExecuter,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
Deprecated.
The RenditionService is being replace by the simpler async RenditionService2.
- Since:
- 3.3
- Author:
- Nick Smith
-
Nested Class Summary
Nested classes/interfaces inherited from class org.alfresco.repo.rendition.executer.AbstractRenderingEngine
AbstractRenderingEngine.RenderingContext -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.The name of the source node as it appears in the model supplied to the freemarker templatestatic final StringDeprecated.Fields inherited from class org.alfresco.repo.rendition.executer.BaseTemplateRenderingEngine
PARAM_MODEL, PARAM_TEMPLATE, PARAM_TEMPLATE_NODE, PARAM_TEMPLATE_PATHFields inherited from class org.alfresco.repo.rendition.executer.AbstractRenderingEngine
actionTrackingService, CONTENT_READER_NOT_FOUND_MESSAGE, contentService, DEFAULT_RUN_AS_NAME, mimetypeMap, namespaceService, nodeService, PARAM_ENCODING, PARAM_MIME_TYPE, PARAM_PLACEHOLDER_RESOURCE_PATH, PARAM_RUN_AS, PARAM_SOURCE_CONTENT_PROPERTY, PARAM_TARGET_CONTENT_PROPERTY, PARAM_UPDATE_RENDITIONS_ON_ANY_PROPERTY_CHANGEFields inherited from class org.alfresco.repo.action.executer.ActionExecuterAbstractBase
actionAccessRestrictions, actionDefinition, applicableTypes, publicActionFields inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase
adhocPropertiesAllowed, DISPLAY_LABEL, runtimeActionServiceFields inherited from class org.alfresco.repo.action.CommonResourceAbstractBase
nameFields inherited from interface org.alfresco.repo.action.executer.ActionExecuter
PARAM_RESULT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectDeprecated.Create the model that will be passed to the template service for rendering with the appropriate template.protected Collection<ParameterDefinition>Deprecated.Supplies the list of parameters required by this rendering engine.protected StringDeprecated.Get the type of template that is to be used.voidsetRepositoryHelper(Repository repository) Deprecated.voidsetServiceRegistry(ServiceRegistry serviceRegistry) Deprecated.Methods inherited from class org.alfresco.repo.rendition.executer.BaseTemplateRenderingEngine
getParamDisplayLabel, getSearchService, getTemplateNode, getTemplateService, render, setSearchService, setTemplateServiceMethods inherited from class org.alfresco.repo.rendition.executer.AbstractRenderingEngine
addParameterDefinitions, checkActionIsRenditionDefinition, checkParameterValues, checkSourceNodeExists, createActionDefinition, executeImpl, executeImpl, executeRenditionImpl, getCheckedParam, getDefaultRenditionContentProp, getDefaultRenditionNodeType, getExecutionSummary, getParamWithDefault, getRenditionContentProperty, getTargetEncoding, getTargetMimeType, notifyCallbackOfException, notifyCallbackOfResult, resolveRenditionLocation, setActionTrackingService, setBehaviourFilter, setContentService, setDefaultRenditionContentProp, setDefaultRenditionNodeType, setMimetypeMap, setNamespaceService, setNodeService, setRenditionLocationResolver, setRenditionService, switchToFinalRenditionNode, tagSourceNodeAsRenditioned, throwWrappedExceptionMethods inherited from class org.alfresco.repo.action.executer.ActionExecuterAbstractBase
execute, getActionAccessRestrictions, getActionDefinition, getIgnoreLock, getQueueName, getTrackStatus, init, isApplicableType, onLogException, setActionAccessRestrictions, setApplicableTypes, setBaseNodeService, setDictionaryService, setIgnoreLock, setLockService, setMlAwareNodeService, setPublicAction, setQueueName, setTrackStatus, verifyActionAccessRestrictionsMethods inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase
checkMandatoryProperties, getAdhocPropertiesAllowed, getDescriptionKey, getLocalizedParameterDefinitions, getParamDisplayLabel, getParameterDefintions, getTitleKey, setAdhocPropertiesAllowed, setLocales, setRuntimeActionService, toStringMethods inherited from class org.alfresco.repo.action.CommonResourceAbstractBase
setBeanNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.alfresco.repo.action.executer.ActionExecuter
isExecuteAsynchronously
-
Field Details
-
NAME
Deprecated.- See Also:
-
KEY_NODE
Deprecated.The name of the source node as it appears in the model supplied to the freemarker template- See Also:
-
-
Constructor Details
-
FreemarkerRenderingEngine
public FreemarkerRenderingEngine()Deprecated.
-
-
Method Details
-
getParameterDefinitions
Deprecated.Description copied from class:AbstractRenderingEngineSupplies the list of parameters required by this rendering engine.- Overrides:
getParameterDefinitionsin classBaseTemplateRenderingEngine
-
buildModel
Deprecated.Description copied from class:BaseTemplateRenderingEngineCreate the model that will be passed to the template service for rendering with the appropriate template.- Specified by:
buildModelin classBaseTemplateRenderingEngine- Parameters:
context- The context of the rendering request- Returns:
- The model that is to be passed to the template service
-
getTemplateType
Deprecated.Description copied from class:BaseTemplateRenderingEngineGet the type of template that is to be used. This identifies the name of the template processor that should be used, such as "freemarker" or "xslt".- Specified by:
getTemplateTypein classBaseTemplateRenderingEngine- Returns:
- String
-
setRepositoryHelper
Deprecated.- Parameters:
repository- the repository to set
-
setServiceRegistry
Deprecated.- Parameters:
serviceRegistry- the serviceRegistry to set
-