@Service @Property(name="service.description",value="Send download asset email notification.") @Property(name="process.label",value="Send Download Asset Email Notification") public class SendDownloadAssetEmailProcess extends AbstractAssetWorkflowProcess
SendDownloadAssetEmailProcess
will send download asset email.TYPE_JCR_PATH
Constructor and Description |
---|
SendDownloadAssetEmailProcess() |
Modifier and Type | Method and Description |
---|---|
void |
execute(WorkItem workItem,
WorkflowSession session,
MetaDataMap metaData)
Executes a new Java process with the given
and . |
java.lang.String |
loadTemplate(Session session,
java.lang.String path)
Deprecated.
since 6.4. Reading content of email-templates given template-absolute-paths is
not supported.
|
public void execute(WorkItem workItem, WorkflowSession session, MetaDataMap metaData) throws WorkflowException
WorkflowProcess
WorkItem
and WorkflowSession
.workItem
- The WorkItem
that defines the newly
started JavaProcessNew
.session
- The WorkflowSession
that is used for starting the JavaProcess
.metaData
- Process specific arguments can be passed hereWorkflowException
- Thrown in case something goes wrong during execution.@Deprecated public java.lang.String loadTemplate(Session session, java.lang.String path)
path
- mail templates root pathsession
- sessionnull
if not valid.Copyright © 2010 - 2020 Adobe. All Rights Reserved