public class UpdateThumbnailActionExecuter extends ActionExecuterAbstractBase
Modifier and Type | Field and Description |
---|---|
static String |
NAME
Action name and parameters
|
static String |
PARAM_CONTENT_PROPERTY |
static String |
PARAM_THUMBNAIL_NODE |
actionDefinition, applicableTypes, publicAction
adhocPropertiesAllowed, DISPLAY_LABEL, runtimeActionService
name
PARAM_RESULT
Constructor and Description |
---|
UpdateThumbnailActionExecuter() |
Modifier and Type | Method and Description |
---|---|
protected void |
addParameterDefinitions(List<ParameterDefinition> 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 |
setGenerateThumbnails(boolean generateThumbnails)
Deprecated.
Use
ThumbnailServiceImpl.setThumbnailsEnabled(boolean) instead. |
void |
setMimetypeMaxSourceSizeKBytes(HashMap<String,Long> mimetypeMaxSourceSizeKBytes)
Set the maximum size for each mimetype above which thumbnails are not created.
|
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Set the node service
|
void |
setRenditionService(RenditionService renditionService)
Injects the rendition service.
|
void |
setThumbnailService(ThumbnailService thumbnailService)
Set the thumbnail service
|
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_CONTENT_PROPERTY
public static final String PARAM_THUMBNAIL_NODE
public void setRenditionService(RenditionService renditionService)
renditionService
- the rendition service.public void setThumbnailService(ThumbnailService thumbnailService)
thumbnailService
- the thumbnail servicepublic void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService
- node servicepublic void setMimetypeMaxSourceSizeKBytes(HashMap<String,Long> mimetypeMaxSourceSizeKBytes)
mimetypeMaxSourceSizeKBytes
- map of mimetypes to max source sizes.public void setGenerateThumbnails(boolean generateThumbnails)
ThumbnailServiceImpl.setThumbnailsEnabled(boolean)
instead.generateThumbnails
- a false
value turns off all thumbnail creation.protected void executeImpl(Action action, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
ActionExecuterAbstractBase
executeImpl
in class ActionExecuterAbstractBase
action
- the actionactionedUponNodeRef
- the actioned upon nodeActionExecuterAbstractBase.executeImpl(org.alfresco.service.cmr.action.Action, org.alfresco.service.cmr.repository.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.