org.alfresco.repo.rendition.executer
Class CompositeRenderingEngine
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.CompositeRenderingEngine
- All Implemented Interfaces:
- ActionExecuter, org.springframework.beans.factory.BeanNameAware
public class CompositeRenderingEngine
- extends AbstractRenderingEngine
This RenderingEngine is used for rendering
CompositeRenditionDefinitions, which specify a list of
RenditionDefinitions. The CompositeRenderingEngine iterates
over the RenditionDefinitions 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.
|
Field Summary |
static java.lang.String |
NAME
|
| Fields inherited from class org.alfresco.repo.rendition.executer.AbstractRenderingEngine |
CONTENT_READER_NOT_FOUND_MESSAGE, contentService, 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 |
| Methods inherited from class org.alfresco.repo.rendition.executer.AbstractRenderingEngine |
addParameterDefinitions, checkActionIsRenditionDefinition, checkParameterValues, checkSourceNodeExists, createActionDefinition, executeImpl, getCheckedParam, getDefaultRenditionContentProp, getDefaultRenditionNodeType, getParamDisplayLabel, getParameterDefinitions, getParamWithDefault, getRenditionContentProperty, getTargetEncoding, getTargetMimeType, notifyCallbackOfException, notifyCallbackOfResult, postRendition, preRendition, resolveRenditionLocation, setBehaviourFilter, setContentService, setDefaultRenditionContentProp, setDefaultRenditionNodeType, setMimetypeMap, setNodeService, setRenditionLocationResolver, setRenditionService, throwWrappedException |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
CompositeRenderingEngine
public CompositeRenderingEngine()
executeRenditionImpl
protected void executeRenditionImpl(Action action,
org.alfresco.service.cmr.repository.NodeRef sourceNode)
- Overrides:
executeRenditionImpl in class AbstractRenderingEngine
render
protected void render(AbstractRenderingEngine.RenderingContext data)
- Specified by:
render in class AbstractRenderingEngine
setActionService
public void setActionService(ActionService actionService)
- Parameters:
actionService - the actionService to set
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.