public class CompositeRenderingEngine extends AbstractRenderingEngine
CompositeRenditionDefinition
s, which specify a list of
RenditionDefinition
s. The CompositeRenderingEngine
iterates
over the RenditionDefinition
s sequentially and feeds the output of
one definition in as the input of the next definition. The output of the last
definition executed is the output of this rendering engine.AbstractRenderingEngine.RenderingContext
Modifier and Type | Field and Description |
---|---|
static String |
NAME |
actionTrackingService, CONTENT_READER_NOT_FOUND_MESSAGE, contentService, DEFAULT_RUN_AS_NAME, mimetypeMap, 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_CHANGE
actionDefinition, applicableTypes, publicAction
adhocPropertiesAllowed, DISPLAY_LABEL, runtimeActionService
name
PARAM_RESULT
Constructor and Description |
---|
CompositeRenderingEngine() |
Modifier and Type | Method and Description |
---|---|
protected void |
executeRenditionImpl(Action action,
org.alfresco.service.cmr.repository.NodeRef sourceNode) |
protected void |
render(AbstractRenderingEngine.RenderingContext data) |
void |
setActionService(ActionService actionService) |
addParameterDefinitions, checkActionIsRenditionDefinition, checkParameterValues, checkSourceNodeExists, createActionDefinition, executeImpl, executeImpl, getCheckedParam, getDefaultRenditionContentProp, getDefaultRenditionNodeType, getExecutionSummary, getParamDisplayLabel, getParameterDefinitions, getParamWithDefault, getRenditionContentProperty, getTargetEncoding, getTargetMimeType, notifyCallbackOfException, notifyCallbackOfResult, resolveRenditionLocation, setActionTrackingService, setBehaviourFilter, setContentService, setDefaultRenditionContentProp, setDefaultRenditionNodeType, setMimetypeMap, setNodeService, setRenditionLocationResolver, setRenditionService, switchToFinalRenditionNode, tagSourceNodeAsRenditioned, throwWrappedException
execute, getActionDefinition, getIgnoreLock, getQueueName, getTrackStatus, init, isApplicableType, onLogException, setApplicableTypes, setBaseNodeService, setDictionaryService, setIgnoreLock, setLockService, setMlAwareNodeService, setPublicAction, setQueueName, setTrackStatus
checkMandatoryProperties, getAdhocPropertiesAllowed, getDescriptionKey, getLocalizedParameterDefinitions, getParamDisplayLabel, getParameterDefintions, getTitleKey, setAdhocPropertiesAllowed, setLocales, setRuntimeActionService, toString
setBeanName
public static final String NAME
protected void executeRenditionImpl(Action action, org.alfresco.service.cmr.repository.NodeRef sourceNode)
executeRenditionImpl
in class AbstractRenderingEngine
protected void render(AbstractRenderingEngine.RenderingContext data)
render
in class AbstractRenderingEngine
public void setActionService(ActionService actionService)
actionService
- the actionService to setCopyright © 2005–2017 Alfresco Software. All rights reserved.