public class AddFailedThumbnailActionExecuter extends ActionExecuterAbstractBase
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.
NodeEligibleForRethumbnailingEvaluator
.FailedThumbnailInfo
,
NodeEligibleForRethumbnailingEvaluator
,
ThumbnailServiceImpl.init()
Modifier and Type | Field and Description |
---|---|
static String |
NAME
The action bean name.
|
static String |
PARAM_FAILURE_DATETIME
The parameter defines the failure datetime to be recorded against the source node.
|
static String |
PARAM_THUMBNAIL_DEFINITION_NAME
The name of the failed thumbnail definition e.g.
|
actionDefinition, applicableTypes, publicAction
adhocPropertiesAllowed, DISPLAY_LABEL, runtimeActionService
name
PARAM_RESULT
Constructor and Description |
---|
AddFailedThumbnailActionExecuter() |
Modifier and Type | Method and Description |
---|---|
protected void |
addParameterDefinitions(List<ParameterDefinition> paramList)
Adds the parameter definitions to the list
|
void |
executeImpl(Action ruleAction,
org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
Execute the action implementation
|
void |
setBehaviourFilter(BehaviourFilter behaviourFilter)
Set the behaviour filter.
|
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Set the node service
|
void |
setThumbnailService(ThumbnailService thumbnailService)
Set the thumbnail service
|
createActionDefinition, execute, getActionDefinition, getIgnoreLock, getQueueName, getTrackStatus, init, isApplicableType, onLogException, setApplicableTypes, setBaseNodeService, setDictionaryService, setIgnoreLock, setLockService, setMlAwareNodeService, setPublicAction, setQueueName, setTrackStatus
checkMandatoryProperties, getAdhocPropertiesAllowed, getDescriptionKey, getLocalizedParameterDefinitions, getParamDisplayLabel, getParamDisplayLabel, getParameterDefintions, getTitleKey, setAdhocPropertiesAllowed, setLocales, setRuntimeActionService, toString
setBeanName
public static final String NAME
public static final String PARAM_THUMBNAIL_DEFINITION_NAME
public static final String PARAM_FAILURE_DATETIME
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService
- the node servicepublic void setThumbnailService(ThumbnailService thumbnailService)
thumbnailService
- the thumbnail servicepublic void setBehaviourFilter(BehaviourFilter behaviourFilter)
public void executeImpl(Action ruleAction, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
ActionExecuterAbstractBase
executeImpl
in class ActionExecuterAbstractBase
ruleAction
- the actionactionedUponNodeRef
- the actioned upon nodeActionExecuter.execute(org.alfresco.service.cmr.action.Action, NodeRef)
protected void addParameterDefinitions(List<ParameterDefinition> paramList)
ParameterizedItemAbstractBase
addParameterDefinitions
in class ParameterizedItemAbstractBase
paramList
- the parameter definitions listParameterizedItemAbstractBase.addParameterDefinitions(java.util.List)
Copyright © 2005–2017 Alfresco Software. All rights reserved.