Package org.alfresco.repo.thumbnail
Class AddFailedThumbnailActionExecuter
java.lang.Object
org.alfresco.repo.action.CommonResourceAbstractBase
org.alfresco.repo.action.ParameterizedItemAbstractBase
org.alfresco.repo.action.executer.ActionExecuterAbstractBase
org.alfresco.repo.thumbnail.AddFailedThumbnailActionExecuter
- 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.
This
ActionExecuter implementation is used to record a failed thumbnail attempt
having occurred on a source node. For the specified thumbnail definition name
and the specified failure datetime, this action executer applies the cm:failedThumbnailSource aspect and creates a cm:failedThumbnail child to store
the failure data.
Some pieces of content cannot be thumbnailed. This can happen for various reasons, e.g.
- there is something in the content itself which is challenging, complex or not compliant with the relevant spec.
- there is something missing from the relevant library/ies which are trying to produce the thumbnail.
NodeEligibleForRethumbnailingEvaluator.- Since:
- 3.5.0
- Author:
- Neil Mc Erlean
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.The action bean name.static final StringDeprecated.The parameter defines the failure datetime to be recorded against the source node.static final StringDeprecated.The name of the failed thumbnail definition e.g. doclib.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 listvoidexecuteImpl(Action ruleAction, NodeRef actionedUponNodeRef) Deprecated.Execute the action implementationvoidsetBehaviourFilter(BehaviourFilter behaviourFilter) Deprecated.Set the behaviour filter.voidsetNodeService(NodeService nodeService) Deprecated.Set the node servicevoidsetThumbnailService(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.The action bean name.- See Also:
-
PARAM_THUMBNAIL_DEFINITION_NAME
Deprecated.The name of the failed thumbnail definition e.g. doclib.- See Also:
-
PARAM_FAILURE_DATETIME
Deprecated.The parameter defines the failure datetime to be recorded against the source node. We explicitly require a parameterised value for this (rather than simply using 'now') because this action is executed asynchronously and there is the possibility that the time of action execution is later than the actual failure time.- See Also:
-
-
Constructor Details
-
AddFailedThumbnailActionExecuter
public AddFailedThumbnailActionExecuter()Deprecated.
-
-
Method Details
-
setNodeService
Deprecated.Set the node service- Parameters:
nodeService- the node service
-
setThumbnailService
Deprecated.Set the thumbnail service- Parameters:
thumbnailService- the thumbnail service
-
setBehaviourFilter
Deprecated.Set the behaviour filter. -
executeImpl
Deprecated.Description copied from class:ActionExecuterAbstractBaseExecute the action implementation- Specified by:
executeImplin classActionExecuterAbstractBase- Parameters:
ruleAction- 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:
-