org.alfresco.repo.thumbnail
Class CreateThumbnailActionExecuter
java.lang.Object
org.alfresco.repo.action.CommonResourceAbstractBase
org.alfresco.repo.action.ParameterizedItemAbstractBase
org.alfresco.repo.action.executer.ActionExecuterAbstractBase
org.alfresco.repo.thumbnail.CreateThumbnailActionExecuter
- All Implemented Interfaces:
- ActionExecuter, org.springframework.beans.factory.BeanNameAware
public class CreateThumbnailActionExecuter
- extends ActionExecuterAbstractBase
Create thumbnail action executer.
NOTE: This action is used to facilitate the async creation of thumbnails. It is not intended for genereral useage.
Method Summary |
protected void |
addParameterDefinitions(java.util.List paramList)
Adds the parameter definitions to the list |
protected void |
executeImpl(Action action,
org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
Execute the action implementation |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Set the node service |
void |
setThumbnailService(ThumbnailService thumbnailService)
Set the thumbnail service |
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
- Action name and parameters
- See Also:
- Constant Field Values
PARAM_CONTENT_PROPERTY
public static final java.lang.String PARAM_CONTENT_PROPERTY
- See Also:
- Constant Field Values
PARAM_THUMBANIL_NAME
public static final java.lang.String PARAM_THUMBANIL_NAME
- See Also:
- Constant Field Values
CreateThumbnailActionExecuter
public CreateThumbnailActionExecuter()
setThumbnailService
public void setThumbnailService(ThumbnailService thumbnailService)
- Set the thumbnail service
- Parameters:
thumbnailService
- the thumbnail service
setNodeService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
- Set the node service
- Parameters:
nodeService
- node service
executeImpl
protected 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:
ActionExecuterAbstractBase.executeImpl(org.alfresco.service.cmr.action.Action, org.alfresco.service.cmr.repository.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.