com.day.cq.dam.core.process
Class ExtractMetadataProcess
java.lang.Object
com.day.cq.dam.core.AbstractAssetProcess
com.day.cq.dam.core.process.ExtractMetadataProcess
- All Implemented Interfaces:
- JavaProcess, JavaProcessExt
public class ExtractMetadataProcess
- 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 |
ExtractMetadataProcess
public ExtractMetadataProcess()
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.
execute
public void execute(WorkItem workItem,
WorkflowSession workflowSession,
String[] strings)
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.strings - Process specific arguments can be passed here
- Throws:
Exception - Thrown in case something goes wrong during execution.
saveMetadata
protected void saveMetadata(Node file,
ExtractedMetadata metadata,
Session session)
Copyright © 2009 Day Management AG. All Rights Reserved.