Package org.alfresco.repo.thumbnail
Class CreateThumbnailActionExecuter
java.lang.Object
org.alfresco.repo.action.CommonResourceAbstractBase
org.alfresco.repo.action.ParameterizedItemAbstractBase
org.alfresco.repo.action.executer.ActionExecuterAbstractBase
org.alfresco.repo.thumbnail.CreateThumbnailActionExecuter
- All Implemented Interfaces:
ActionExecuter,LoggingAwareExecuter,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
Deprecated.
The thumbnails code is being moved out of the codebase and replaced by the new async RenditionService2 or other external libraries.
Create thumbnail action executer.
NOTE: This action is used to facilitate the async creation of thumbnails. It is not intended for genereral useage.
- Author:
- Roy Wetherall, Ph Dubois (optional thumbnail creation by mimetype and in general)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.Action name and parametersstatic final StringDeprecated.static final StringDeprecated.Fields 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 voidaddParameterDefinitions(List<ParameterDefinition> paramList) Deprecated.Adds the parameter definitions to the listprotected voidexecuteImpl(Action action, NodeRef actionedUponNodeRef) Deprecated.Execute the action implementationvoidsetGenerateThumbnails(boolean generateThumbnails) Deprecated.UseThumbnailServiceImpl.setThumbnailsEnabled(boolean)instead.voidsetMimetypeMaxSourceSizeKBytes(HashMap<String, Long> mimetypeMaxSourceSizeKBytes) Deprecated.Set the maximum size for each mimetype above which thumbnails are not created.voidsetNodeService(NodeService nodeService) Deprecated.Set the node servicevoidsetRenditionService2(RenditionService2 renditionService2) Deprecated.voidsetThumbnailService(ThumbnailService thumbnailService) Deprecated.Set the thumbnail serviceMethods inherited from class org.alfresco.repo.action.executer.ActionExecuterAbstractBase
createActionDefinition, execute, getActionAccessRestrictions, getActionDefinition, getIgnoreLock, getQueueName, getTrackStatus, init, 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, 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
-
NAME
Deprecated.Action name and parameters- See Also:
-
PARAM_CONTENT_PROPERTY
Deprecated.- See Also:
-
PARAM_THUMBANIL_NAME
Deprecated.- See Also:
-
-
Constructor Details
-
CreateThumbnailActionExecuter
public CreateThumbnailActionExecuter()Deprecated.
-
-
Method Details
-
setThumbnailService
Deprecated.Set the thumbnail service- Parameters:
thumbnailService- the thumbnail service
-
setNodeService
Deprecated.Set the node service- Parameters:
nodeService- node service
-
setMimetypeMaxSourceSizeKBytes
Deprecated.Set the maximum size for each mimetype above which thumbnails are not created.- Parameters:
mimetypeMaxSourceSizeKBytes- map of mimetypes to max source sizes.
-
setRenditionService2
Deprecated. -
setGenerateThumbnails
public void setGenerateThumbnails(boolean generateThumbnails) Deprecated.UseThumbnailServiceImpl.setThumbnailsEnabled(boolean)instead.Enable thumbnail creation at all regardless of mimetype.- Parameters:
generateThumbnails- afalsevalue turns off all thumbnail creation.
-
executeImpl
Deprecated.Description copied from class:ActionExecuterAbstractBaseExecute the action implementation- Specified by:
executeImplin classActionExecuterAbstractBase- Parameters:
action- the actionactionedUponNodeRef- the actioned upon node- See Also:
-
addParameterDefinitions
Deprecated.Description copied from class:ParameterizedItemAbstractBaseAdds the parameter definitions to the list- Specified by:
addParameterDefinitionsin classParameterizedItemAbstractBase- Parameters:
paramList- the parameter definitions list- See Also:
-