Class ReformatRenderingEngine
- 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.AbstractTransformationRenderingEngine
-
- org.alfresco.repo.rendition.executer.ReformatRenderingEngine
-
- All Implemented Interfaces:
ActionExecuter,LoggingAwareExecuter,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
@Deprecated public class ReformatRenderingEngine extends AbstractTransformationRenderingEngine
Deprecated.The RenditionService is being replace by the simpler async RenditionService2.This class is the implementation of theRenditionService's "reformat" action/rendering. This action renders a piece of content in the specified target MIME type. This is achieved using one of the standard transformers within theContentService. Reformatting in this way is a simple conversion of one MIME type to another MIME type, without any other changes to the content. Therefore there is no support within this action for altering the content e.g. image cropping/resizing.- Since:
- 3.3
- Author:
- Neil McErlean
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.alfresco.repo.rendition.executer.AbstractTransformationRenderingEngine
AbstractTransformationRenderingEngine.TransformationCallable
-
Nested classes/interfaces inherited from class org.alfresco.repo.rendition.executer.AbstractRenderingEngine
AbstractRenderingEngine.RenderingContext
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringNAMEDeprecated.static java.lang.StringPARAM_FLASH_VERSIONDeprecated.This optionalStringparameter is only necessary when converting from pdf to Flash and is used to specify which Flash version to convert to.-
Fields inherited from class org.alfresco.repo.rendition.executer.AbstractTransformationRenderingEngine
CANCELLED_ACTION_POLLING_INTERVAL, PARAM_MAX_PAGES, PARAM_MAX_SOURCE_SIZE_K_BYTES, PARAM_PAGE_LIMIT, PARAM_READ_LIMIT_K_BYTES, PARAM_READ_LIMIT_TIME_MS, PARAM_TIMEOUT_MS, PARAM_USE
-
Fields 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_CHANGE
-
Fields inherited from class org.alfresco.repo.action.executer.ActionExecuterAbstractBase
actionDefinition, applicableTypes, publicAction
-
Fields inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase
adhocPropertiesAllowed, DISPLAY_LABEL, runtimeActionService
-
Fields inherited from class org.alfresco.repo.action.CommonResourceAbstractBase
name
-
Fields inherited from interface org.alfresco.repo.action.executer.ActionExecuter
PARAM_RESULT
-
-
Constructor Summary
Constructors Constructor Description ReformatRenderingEngine()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected java.util.Collection<ParameterDefinition>getParameterDefinitions()Deprecated.Supplies the list of parameters required by this rendering engine.protected java.lang.StringgetTargetMimeType(AbstractRenderingEngine.RenderingContext context)Deprecated.protected TransformationOptionsgetTransformOptions(AbstractRenderingEngine.RenderingContext context)Deprecated.protected TransformationOptionsgetTransformOptionsImpl(TransformationOptions options, AbstractRenderingEngine.RenderingContext context)Deprecated.-
Methods inherited from class org.alfresco.repo.rendition.executer.AbstractTransformationRenderingEngine
getExecutorService, getSourceOptionsSerializers, init, render, setSourceOptionsSerializers
-
Methods inherited from class org.alfresco.repo.rendition.executer.AbstractRenderingEngine
addParameterDefinitions, checkActionIsRenditionDefinition, checkParameterValues, checkSourceNodeExists, createActionDefinition, executeImpl, executeImpl, executeRenditionImpl, getCheckedParam, getDefaultRenditionContentProp, getDefaultRenditionNodeType, getExecutionSummary, getParamDisplayLabel, getParamWithDefault, getRenditionContentProperty, getTargetEncoding, notifyCallbackOfException, notifyCallbackOfResult, resolveRenditionLocation, setActionTrackingService, setBehaviourFilter, setContentService, setDefaultRenditionContentProp, setDefaultRenditionNodeType, setMimetypeMap, setNamespaceService, setNodeService, setRenditionLocationResolver, setRenditionService, switchToFinalRenditionNode, tagSourceNodeAsRenditioned, throwWrappedException
-
Methods inherited from class org.alfresco.repo.action.executer.ActionExecuterAbstractBase
execute, getActionDefinition, getIgnoreLock, getQueueName, getTrackStatus, isApplicableType, onLogException, setApplicableTypes, setBaseNodeService, setDictionaryService, setIgnoreLock, setLockService, setMlAwareNodeService, setPublicAction, setQueueName, setTrackStatus
-
Methods inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase
checkMandatoryProperties, getAdhocPropertiesAllowed, getDescriptionKey, getLocalizedParameterDefinitions, getParamDisplayLabel, getParameterDefintions, getTitleKey, setAdhocPropertiesAllowed, setLocales, setRuntimeActionService, toString
-
Methods inherited from class org.alfresco.repo.action.CommonResourceAbstractBase
setBeanName
-
-
-
-
Field Detail
-
PARAM_FLASH_VERSION
public static final java.lang.String PARAM_FLASH_VERSION
Deprecated.This optionalStringparameter is only necessary when converting from pdf to Flash and is used to specify which Flash version to convert to.- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
getTargetMimeType
protected java.lang.String getTargetMimeType(AbstractRenderingEngine.RenderingContext context)
Deprecated.- Overrides:
getTargetMimeTypein classAbstractRenderingEngine
-
getTransformOptions
protected TransformationOptions getTransformOptions(AbstractRenderingEngine.RenderingContext context)
Deprecated.- Specified by:
getTransformOptionsin classAbstractTransformationRenderingEngine
-
getTransformOptionsImpl
protected TransformationOptions getTransformOptionsImpl(TransformationOptions options, AbstractRenderingEngine.RenderingContext context)
Deprecated.- Overrides:
getTransformOptionsImplin classAbstractTransformationRenderingEngine
-
getParameterDefinitions
protected java.util.Collection<ParameterDefinition> getParameterDefinitions()
Deprecated.Description copied from class:AbstractRenderingEngineSupplies the list of parameters required by this rendering engine.- Overrides:
getParameterDefinitionsin classAbstractTransformationRenderingEngine
-
-