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 public class AddFailedThumbnailActionExecuter extends ActionExecuterAbstractBase
Deprecated.The thumbnails code is being moved out of the codebase and replaced by the new async RenditionService2 or other external libraries.ThisActionExecuterimplementation is used to record a failed thumbnail attempt having occurred on a source node. For the specifiedthumbnail definition nameand the specified failure datetime, this action executer applies thecm:failedThumbnailSourceaspect and creates acm:failedThumbnailchild 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:
FailedThumbnailInfo,NodeEligibleForRethumbnailingEvaluator,ThumbnailServiceImpl.init()
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringNAMEDeprecated.The action bean name.static java.lang.StringPARAM_FAILURE_DATETIMEDeprecated.The parameter defines the failure datetime to be recorded against the source node.static java.lang.StringPARAM_THUMBNAIL_DEFINITION_NAMEDeprecated.The name of the failed thumbnail definition e.g.-
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 AddFailedThumbnailActionExecuter()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected voidaddParameterDefinitions(java.util.List<ParameterDefinition> paramList)Deprecated.Adds the parameter definitions to the listvoidexecuteImpl(Action ruleAction, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)Deprecated.Execute the action implementationvoidsetBehaviourFilter(BehaviourFilter behaviourFilter)Deprecated.Set the behaviour filter.voidsetNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)Deprecated.Set the node servicevoidsetThumbnailService(ThumbnailService thumbnailService)Deprecated.Set the thumbnail service-
Methods inherited from class org.alfresco.repo.action.executer.ActionExecuterAbstractBase
createActionDefinition, execute, getActionDefinition, getIgnoreLock, getQueueName, getTrackStatus, init, 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, getParamDisplayLabel, getParameterDefintions, getTitleKey, setAdhocPropertiesAllowed, setLocales, setRuntimeActionService, toString
-
Methods inherited from class org.alfresco.repo.action.CommonResourceAbstractBase
setBeanName
-
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
Deprecated.The action bean name.- See Also:
- Constant Field Values
-
PARAM_THUMBNAIL_DEFINITION_NAME
public static final java.lang.String PARAM_THUMBNAIL_DEFINITION_NAME
Deprecated.The name of the failed thumbnail definition e.g. doclib.- See Also:
- Constant Field Values
-
PARAM_FAILURE_DATETIME
public static final java.lang.String 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:
- Constant Field Values
-
-
Method Detail
-
setNodeService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Deprecated.Set the node service- Parameters:
nodeService- the node service
-
setThumbnailService
public void setThumbnailService(ThumbnailService thumbnailService)
Deprecated.Set the thumbnail service- Parameters:
thumbnailService- the thumbnail service
-
setBehaviourFilter
public void setBehaviourFilter(BehaviourFilter behaviourFilter)
Deprecated.Set the behaviour filter.
-
executeImpl
public void executeImpl(Action ruleAction, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
Deprecated.Description copied from class:ActionExecuterAbstractBaseExecute the action implementation- Specified by:
executeImplin classActionExecuterAbstractBase- Parameters:
ruleAction- the actionactionedUponNodeRef- the actioned upon node- See Also:
ActionExecuter.execute(org.alfresco.service.cmr.action.Action, NodeRef)
-
addParameterDefinitions
protected void addParameterDefinitions(java.util.List<ParameterDefinition> paramList)
Deprecated.Description copied from class:ParameterizedItemAbstractBaseAdds the parameter definitions to the list- Specified by:
addParameterDefinitionsin classParameterizedItemAbstractBase- Parameters:
paramList- the parameter definitions list- See Also:
ParameterizedItemAbstractBase.addParameterDefinitions(java.util.List)
-
-