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 java.lang.String |
NAME
The action bean name.
|
static java.lang.String |
PARAM_RENDITION_DEFINITION_NAME
The name of the rendition definition to delete e.g.
|
actionDefinition, applicableTypes, publicActionDISPLAY_LABEL, runtimeActionServicenamePARAM_RESULT| Constructor and Description |
|---|
DeleteRenditionActionExecuter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addParameterDefinitions(java.util.List 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, setApplicableTypes, setBaseNodeService, setDictionaryService, setIgnoreLock, setLockService, setPublicAction, setQueueName, setTrackStatuscheckMandatoryProperties, getAdhocPropertiesAllowed, getDescriptionKey, getParamDisplayLabel, getParameterDefintions, getTitleKey, setRuntimeActionService, toStringsetBeanNamepublic static final java.lang.String NAME
public static final java.lang.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)
ActionExecuterAbstractBaseexecuteImpl in class ActionExecuterAbstractBaseaction - the actionactionedUponNodeRef - the actioned upon nodeorg.alfresco.repo.action.executer.ActionExecuter#execute(org.alfresco.service.cmr.repository.NodeRef, NodeRef)protected void addParameterDefinitions(java.util.List paramList)
ParameterizedItemAbstractBaseaddParameterDefinitions in class ParameterizedItemAbstractBaseparamList - the parameter definitions listParameterizedItemAbstractBase.addParameterDefinitions(java.util.List)Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.