public class DeleteRenditionActionExecuter extends ActionExecuterAbstractBase
ActionExecuter
implementation is used internally to delete rendition nodes when a rendition update has failed.
The scenario is as follows: a content node exists in the repository and has a number of rendition nodes associated with it.
When the content node is given new content, each of the rendition nodes must be updated to reflect the new source content.
But if one or more of those re-renditions fail, then the old rendition nodes now refer to out of date content and should be deleted.
This class executes the deletion of the specified rendition node.RenditionedAspect
,
AddFailedThumbnailActionExecuter
Modifier and Type | Field and Description |
---|---|
static String |
NAME
The action bean name.
|
static String |
PARAM_RENDITION_DEFINITION_NAME
The name of the rendition definition to delete e.g.
|
actionDefinition, applicableTypes, publicAction
adhocPropertiesAllowed, DISPLAY_LABEL, runtimeActionService
name
PARAM_RESULT
Constructor and Description |
---|
DeleteRenditionActionExecuter() |
Modifier and Type | Method and Description |
---|---|
protected void |
addParameterDefinitions(List<ParameterDefinition> paramList)
Adds the parameter definitions to the list
|
void |
executeImpl(Action action,
org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
Execute the action implementation
|
void |
setBehaviourFilter(BehaviourFilter behaviourFilter) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setRenditionService(RenditionService renditionService) |
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_RENDITION_DEFINITION_NAME
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
public void setRenditionService(RenditionService renditionService)
public void setBehaviourFilter(BehaviourFilter behaviourFilter)
public void executeImpl(Action action, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
ActionExecuterAbstractBase
executeImpl
in class ActionExecuterAbstractBase
action
- the actionactionedUponNodeRef
- the actioned upon nodeActionExecuter.execute(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.