Class DeleteRenditionActionExecuter
- java.lang.Object
-
- org.alfresco.repo.action.CommonResourceAbstractBase
-
- org.alfresco.repo.action.ParameterizedItemAbstractBase
-
- org.alfresco.repo.action.executer.ActionExecuterAbstractBase
-
- org.alfresco.repo.rendition.executer.DeleteRenditionActionExecuter
-
- All Implemented Interfaces:
ActionExecuter,LoggingAwareExecuter,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
@Deprecated public class DeleteRenditionActionExecuter extends ActionExecuterAbstractBase
Deprecated.The RenditionService is being replace by the simpler async RenditionService2.ThisActionExecuterimplementation 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.- Since:
- 3.4.2
- Author:
- Neil Mc Erlean
- See Also:
RenditionedAspect,AddFailedThumbnailActionExecuter
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringNAMEDeprecated.The action bean name.static java.lang.StringPARAM_RENDITION_DEFINITION_NAMEDeprecated.The name of the rendition definition to delete 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 DeleteRenditionActionExecuter()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 action, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)Deprecated.Execute the action implementationvoidsetBehaviourFilter(BehaviourFilter behaviourFilter)Deprecated.voidsetNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)Deprecated.voidsetRenditionService(RenditionService renditionService)Deprecated.-
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_RENDITION_DEFINITION_NAME
public static final java.lang.String PARAM_RENDITION_DEFINITION_NAME
Deprecated.The name of the rendition definition to delete e.g. cm:doclib.- See Also:
- Constant Field Values
-
-
Method Detail
-
setNodeService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Deprecated.
-
setRenditionService
public void setRenditionService(RenditionService renditionService)
Deprecated.
-
setBehaviourFilter
public void setBehaviourFilter(BehaviourFilter behaviourFilter)
Deprecated.
-
executeImpl
public void executeImpl(Action action, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
Deprecated.Description copied from class:ActionExecuterAbstractBaseExecute the action implementation- Specified by:
executeImplin classActionExecuterAbstractBase- Parameters:
action- the actionactionedUponNodeRef- the actioned upon node- See Also:
ActionExecuter.execute(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)
-
-