public class CompositeRenderingEngine extends AbstractRenderingEngine
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.AbstractRenderingEngine.RenderingContext| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
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_CHANGEactionDefinition, applicableTypes, publicActionDISPLAY_LABEL, runtimeActionServicenamePARAM_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, getParamDisplayLabel, getParameterDefinitions, getParamWithDefault, getRenditionContentProperty, getTargetEncoding, getTargetMimeType, notifyCallbackOfException, notifyCallbackOfResult, resolveRenditionLocation, setBehaviourFilter, setContentService, setDefaultRenditionContentProp, setDefaultRenditionNodeType, setMimetypeMap, setNodeService, setRenditionLocationResolver, setRenditionService, switchToFinalRenditionNode, tagSourceNodeAsRenditioned, throwWrappedExceptionexecute, getActionDefinition, getIgnoreLock, getQueueName, getTrackStatus, init, isApplicableType, setApplicableTypes, setBaseNodeService, setDictionaryService, setIgnoreLock, setLockService, setPublicAction, setQueueName, setTrackStatuscheckMandatoryProperties, getAdhocPropertiesAllowed, getDescriptionKey, getParameterDefintions, getTitleKey, setRuntimeActionService, toStringsetBeanNamepublic static final java.lang.String NAME
protected void executeRenditionImpl(Action action, org.alfresco.service.cmr.repository.NodeRef sourceNode)
executeRenditionImpl in class AbstractRenderingEngineprotected void render(AbstractRenderingEngine.RenderingContext data)
render in class AbstractRenderingEnginepublic void setActionService(ActionService actionService)
actionService - the actionService to setCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.