public abstract class AbstractTransformationRenderingEngine extends AbstractRenderingEngine
AbstractRenderingEngine.RenderingContext
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PARAM_MAX_PAGES
This optional
Integer parameter specifies the maximum number of pages of
the source that may be read. |
static java.lang.String |
PARAM_MAX_SOURCE_SIZE_K_BYTES
This optional
Long parameter specifies the maximum number of kbytes of
the source may be read. |
static java.lang.String |
PARAM_PAGE_LIMIT
This optional
Integer parameter specifies how many source
pages should be read in order to create an image. |
static java.lang.String |
PARAM_READ_LIMIT_K_BYTES
This optional
Long parameter specifies how many kbytes of
the source to read in order to create an image. |
static java.lang.String |
PARAM_READ_LIMIT_TIME_MS
This optional
Long parameter specifies how timeout for reading
the source before EOF is returned. |
static java.lang.String |
PARAM_TIMEOUT_MS
This optional
Long parameter specifies the timeout for reading
the source before an exception is thrown. |
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
actionDefinition, applicableTypes, publicAction
DISPLAY_LABEL, runtimeActionService
name
PARAM_RESULT
Constructor and Description |
---|
AbstractTransformationRenderingEngine() |
Modifier and Type | Method and Description |
---|---|
protected abstract TransformationOptions |
getTransformOptions(AbstractRenderingEngine.RenderingContext context) |
protected TransformationOptions |
getTransformOptionsImpl(TransformationOptions options,
AbstractRenderingEngine.RenderingContext context) |
protected void |
render(AbstractRenderingEngine.RenderingContext context) |
addParameterDefinitions, checkActionIsRenditionDefinition, checkParameterValues, checkSourceNodeExists, createActionDefinition, executeImpl, executeImpl, executeRenditionImpl, getCheckedParam, getDefaultRenditionContentProp, getDefaultRenditionNodeType, getParamDisplayLabel, getParameterDefinitions, getParamWithDefault, getRenditionContentProperty, getTargetEncoding, getTargetMimeType, notifyCallbackOfException, notifyCallbackOfResult, resolveRenditionLocation, setBehaviourFilter, setContentService, setDefaultRenditionContentProp, setDefaultRenditionNodeType, setMimetypeMap, setNodeService, setRenditionLocationResolver, setRenditionService, switchToFinalRenditionNode, tagSourceNodeAsRenditioned, throwWrappedException
execute, getActionDefinition, getIgnoreLock, getQueueName, getTrackStatus, init, isApplicableType, setApplicableTypes, setBaseNodeService, setDictionaryService, setIgnoreLock, setLockService, setPublicAction, setQueueName, setTrackStatus
checkMandatoryProperties, getAdhocPropertiesAllowed, getDescriptionKey, getParameterDefintions, getTitleKey, setRuntimeActionService, toString
setBeanName
public static final java.lang.String PARAM_TIMEOUT_MS
Long
parameter specifies the timeout for reading
the source before an exception is thrown.public static final java.lang.String PARAM_READ_LIMIT_TIME_MS
Long
parameter specifies how timeout for reading
the source before EOF is returned.public static final java.lang.String PARAM_MAX_SOURCE_SIZE_K_BYTES
Long
parameter specifies the maximum number of kbytes of
the source may be read. An exception is thrown before any are read if larger.public static final java.lang.String PARAM_READ_LIMIT_K_BYTES
Long
parameter specifies how many kbytes of
the source to read in order to create an image.public static final java.lang.String PARAM_MAX_PAGES
Integer
parameter specifies the maximum number of pages of
the source that may be read. An exception is thrown before any are read if larger.public static final java.lang.String PARAM_PAGE_LIMIT
Integer
parameter specifies how many source
pages should be read in order to create an image.public AbstractTransformationRenderingEngine()
protected void render(AbstractRenderingEngine.RenderingContext context)
render
in class AbstractRenderingEngine
protected abstract TransformationOptions getTransformOptions(AbstractRenderingEngine.RenderingContext context)
protected TransformationOptions getTransformOptionsImpl(TransformationOptions options, AbstractRenderingEngine.RenderingContext context)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.