com.day.cq.dam.core.process
Class CreateThumbnailProcess
java.lang.Object
com.day.cq.dam.core.AbstractAssetProcess
com.day.cq.dam.core.process.CreateThumbnailProcess
- All Implemented Interfaces:
- JavaProcess, JavaProcessExt
public class CreateThumbnailProcess
- extends AbstractAssetProcess
The ExtractMetadataProcess is called in a workflow process step. This
process will import metadata, create thumbnails of the respective asset/file.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateThumbnailProcess
public CreateThumbnailProcess()
execute
public void execute(WorkItem workItem,
WorkflowSession workflowSession,
String[] args)
throws Exception
- Description copied from interface:
JavaProcessExt
- Executes a new Java process with the given
WorkItem
and WorkflowSession.
- Parameters:
workItem - The WorkItem that defines the newly
started JavaProcess.workflowSession - The WorkflowSession that is used for
starting the JavaProcess.args - Process specific arguments can be passed here
- Throws:
Exception - Thrown in case something goes wrong during execution.
execute
public void execute(WorkItem workItem,
WorkflowSession workflowSession)
throws Exception
- Description copied from interface:
JavaProcess
- Executes a new Java process with the given
WorkItem
and WorkflowSession.
- Parameters:
workItem - The WorkItem that defines the newly
started JavaProcess.workflowSession - The WorkflowSession that is used for
starting the JavaProcess.
- Throws:
Exception - Thrown in case something goes wrong during execution.
getRenditionFolder
protected Node getRenditionFolder(String path,
Session session)
throws RepositoryException
- Throws:
RepositoryException
Copyright © 2009 Day Management AG. All Rights Reserved.