org.alfresco.repo.rendition.executer
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, org.springframework.beans.factory.BeanNameAware
public class DeleteRenditionActionExecuter
- extends ActionExecuterAbstractBase
This 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.
- Since:
- 3.4.2
- See Also:
RenditionedAspect
,
AddFailedThumbnailActionExecuter
Methods inherited from class org.alfresco.repo.action.executer.ActionExecuterAbstractBase |
createActionDefinition, execute, getActionDefinition, getIgnoreLock, getQueueName, getTrackStatus, init, setApplicableTypes, setBaseNodeService, setIgnoreLock, setLockService, setPublicAction, setQueueName, setTrackStatus |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NAME
public static final java.lang.String NAME
- The action bean name.
- See Also:
- Constant Field Values
PARAM_RENDITION_DEFINITION_NAME
public static final java.lang.String PARAM_RENDITION_DEFINITION_NAME
- The name of the rendition definition to delete e.g. cm:doclib.
- See Also:
- Constant Field Values
DeleteRenditionActionExecuter
public DeleteRenditionActionExecuter()
setNodeService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
setRenditionService
public void setRenditionService(RenditionService renditionService)
setBehaviourFilter
public void setBehaviourFilter(BehaviourFilter behaviourFilter)
executeImpl
public void executeImpl(Action action,
org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
- Description copied from class:
ActionExecuterAbstractBase
- Execute the action implementation
- Specified by:
executeImpl
in class ActionExecuterAbstractBase
- Parameters:
action
- the actionactionedUponNodeRef
- the actioned upon node- See Also:
org.alfresco.repo.action.executer.ActionExecuter#execute(org.alfresco.service.cmr.repository.NodeRef, NodeRef)
addParameterDefinitions
protected void addParameterDefinitions(java.util.List paramList)
- Description copied from class:
ParameterizedItemAbstractBase
- Adds the parameter definitions to the list
- Specified by:
addParameterDefinitions
in class ParameterizedItemAbstractBase
- Parameters:
paramList
- the parameter definitions list- See Also:
ParameterizedItemAbstractBase.addParameterDefinitions(java.util.List)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.