|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.action.CommonResourceAbstractBase
org.alfresco.repo.action.ParameterizedItemAbstractBase
org.alfresco.repo.action.executer.ActionExecuterAbstractBase
org.alfresco.repo.thumbnail.UpdateThumbnailActionExecuter
public class UpdateThumbnailActionExecuter
Update thumbnail action executer. NOTE: This action is used to facilitate the async update of thumbnails. It is not intended for general usage.
| Field Summary | |
|---|---|
static java.lang.String |
NAME
Action name and parameters |
static java.lang.String |
PARAM_CONTENT_PROPERTY
|
static java.lang.String |
PARAM_THUMBNAIL_NODE
|
| Fields inherited from class org.alfresco.repo.action.executer.ActionExecuterAbstractBase |
|---|
actionDefinition, applicableTypes, publicAction |
| Fields inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase |
|---|
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 | |
|---|---|
UpdateThumbnailActionExecuter()
|
|
| 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 |
setGenerateThumbnails(boolean generateThumbnails)
Enable thumbnail creation at all regardless of mimetype. |
void |
setMimetypeMaxSourceSizeKBytes(java.util.HashMap 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 |
| 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 org.alfresco.repo.action.ParameterizedItemAbstractBase |
|---|
checkMandatoryProperties, getAdhocPropertiesAllowed, getDescriptionKey, getParamDisplayLabel, getParameterDefintions, getTitleKey, setRuntimeActionService, toString |
| Methods inherited from class org.alfresco.repo.action.CommonResourceAbstractBase |
|---|
setBeanName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String NAME
public static final java.lang.String PARAM_CONTENT_PROPERTY
public static final java.lang.String PARAM_THUMBNAIL_NODE
| Constructor Detail |
|---|
public UpdateThumbnailActionExecuter()
| Method Detail |
|---|
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(java.util.HashMap mimetypeMaxSourceSizeKBytes)
mimetypeMaxSourceSizeKBytes - map of mimetypes to max source sizes.public void setGenerateThumbnails(boolean generateThumbnails)
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 ActionExecuterAbstractBaseaction - the actionactionedUponNodeRef - the actioned upon nodeActionExecuterAbstractBase.executeImpl(org.alfresco.service.cmr.action.Action, org.alfresco.service.cmr.repository.NodeRef)protected void addParameterDefinitions(java.util.List paramList)
ParameterizedItemAbstractBase
addParameterDefinitions in class ParameterizedItemAbstractBaseparamList - the parameter definitions listParameterizedItemAbstractBase.addParameterDefinitions(java.util.List)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||