@Service
@Property(name="process.label",
value="Update Folder Thumbnail Process")
public class UpdateFolderThumbnailProcess
extends AbstractAssetWorkflowProcess
UpdateFolderThumbnailProcess is called in a workflow process step.TYPE_JCR_PATH| Constructor and Description |
|---|
UpdateFolderThumbnailProcess() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(WorkItem workItem,
WorkflowSession workflowSession,
MetaDataMap args)
Executes a new Java process with the given
and . |
void |
updateFolderThumbnail(Asset asset,
Node assetNode,
com.day.cq.dam.core.impl.ui.preview.FolderPreviewUpdater folderPreviewUpdater) |
public void updateFolderThumbnail(Asset asset, Node assetNode, com.day.cq.dam.core.impl.ui.preview.FolderPreviewUpdater folderPreviewUpdater) throws RepositoryException
RepositoryExceptionpublic void execute(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap args) throws WorkflowException
WorkflowProcessWorkItem
and WorkflowSession.workItem - The WorkItem that defines the newly
started JavaProcessNew.workflowSession - The WorkflowSession
that is used for starting the JavaProcess.args - Process specific arguments can be passed hereWorkflowException - Thrown in case something goes wrong during execution.Copyright © 2010 - 2023 Adobe. All Rights Reserved