Class AbstractTransformationRenderingEngine
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
- All Implemented Interfaces:
ActionExecuter,LoggingAwareExecuter,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
- Direct Known Subclasses:
ImageRenderingEngine,ReformatRenderingEngine
@Deprecated
public abstract class AbstractTransformationRenderingEngine
extends AbstractRenderingEngine
Deprecated.
The RenditionService is being replace by the simpler async RenditionService2.
- Author:
- Nick Smith
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classDeprecated.Implementation ofCallablefor doing the work of the transformation which returns the temporary content writer if successful.Nested classes/interfaces inherited from class org.alfresco.repo.rendition.executer.AbstractRenderingEngine
AbstractRenderingEngine.RenderingContext -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intDeprecated.The frequency in milliseconds with which theActionTrackingServiceshould be polled for cancellation of the action.static final StringDeprecated.This optionalIntegerparameter specifies the maximum number of pages of the source that may be read.static final StringDeprecated.This optionalLongparameter specifies the maximum number of kbytes of the source may be read.static final StringDeprecated.This optionalIntegerparameter specifies how many source pages should be read in order to create an image.static final StringDeprecated.This optionalLongparameter specifies how many kbytes of the source to read in order to create an image.static final StringDeprecated.This optionalLongparameter specifies how timeout for reading the source before EOF is returned.static final StringDeprecated.This optionalLongparameter specifies the timeout for reading the source before an exception is thrown.static final StringDeprecated.This optionalStringparameter specifies the type (or use) of the rendition.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_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 ExecutorServiceDeprecated.Gets theExecutorServiceto be used for cancel-aware transforms.protected Collection<ParameterDefinition>Deprecated.Supplies the list of parameters required by this rendering engine.Deprecated.protected abstract TransformationOptionsDeprecated.protected TransformationOptionsgetTransformOptionsImpl(TransformationOptions options, AbstractRenderingEngine.RenderingContext context) Deprecated.voidinit()Deprecated.Init methodprotected voidDeprecated.voidsetConverter(TransformationOptionsConverter converter) Deprecated.voidsetSourceOptionsSerializers(Collection<TransformationSourceOptions.TransformationSourceOptionsSerializer> sourceOptionsSerializers) Deprecated.voidsetSynchronousTransformClient(SynchronousTransformClient synchronousTransformClient) Deprecated.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, 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, 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
-
PARAM_TIMEOUT_MS
Deprecated.This optionalLongparameter specifies the timeout for reading the source before an exception is thrown.- See Also:
-
PARAM_READ_LIMIT_TIME_MS
Deprecated.This optionalLongparameter specifies how timeout for reading the source before EOF is returned.- See Also:
-
PARAM_MAX_SOURCE_SIZE_K_BYTES
Deprecated.This optionalLongparameter specifies the maximum number of kbytes of the source may be read. An exception is thrown before any are read if larger.- See Also:
-
PARAM_READ_LIMIT_K_BYTES
Deprecated.This optionalLongparameter specifies how many kbytes of the source to read in order to create an image.- See Also:
-
PARAM_MAX_PAGES
Deprecated.This optionalIntegerparameter specifies the maximum number of pages of the source that may be read. An exception is thrown before any are read if larger.- See Also:
-
PARAM_PAGE_LIMIT
Deprecated.This optionalIntegerparameter specifies how many source pages should be read in order to create an image.- See Also:
-
CANCELLED_ACTION_POLLING_INTERVAL
protected static final int CANCELLED_ACTION_POLLING_INTERVALDeprecated.The frequency in milliseconds with which theActionTrackingServiceshould be polled for cancellation of the action.- See Also:
-
PARAM_USE
Deprecated.This optionalStringparameter specifies the type (or use) of the rendition.
-
-
Constructor Details
-
AbstractTransformationRenderingEngine
public AbstractTransformationRenderingEngine()Deprecated.
-
-
Method Details
-
getSourceOptionsSerializers
public Collection<TransformationSourceOptions.TransformationSourceOptionsSerializer> getSourceOptionsSerializers()Deprecated. -
setSourceOptionsSerializers
public void setSourceOptionsSerializers(Collection<TransformationSourceOptions.TransformationSourceOptionsSerializer> sourceOptionsSerializers) Deprecated. -
getExecutorService
Deprecated.Gets theExecutorServiceto be used for cancel-aware transforms.If no
ExecutorServicehas been defined a default ofExecutors.newCachedThreadPool()is used duringinit().- Returns:
- the defined or default
ExecutorService
-
setSynchronousTransformClient
Deprecated. -
setConverter
Deprecated. -
init
public void init()Deprecated.Description copied from class:ActionExecuterAbstractBaseInit method- Overrides:
initin classActionExecuterAbstractBase
-
render
Deprecated.- Specified by:
renderin classAbstractRenderingEngine
-
getTransformOptions
protected abstract TransformationOptions getTransformOptions(AbstractRenderingEngine.RenderingContext context) Deprecated. -
getTransformOptionsImpl
protected TransformationOptions getTransformOptionsImpl(TransformationOptions options, AbstractRenderingEngine.RenderingContext context) Deprecated. -
getParameterDefinitions
Deprecated.Description copied from class:AbstractRenderingEngineSupplies the list of parameters required by this rendering engine.- Overrides:
getParameterDefinitionsin classAbstractRenderingEngine
-