Package com.day.cq.dam.core.process
Class SendDownloadAssetEmailProcess
- java.lang.Object
-
- com.day.cq.dam.commons.process.AbstractAssetWorkflowProcess
-
- com.day.cq.dam.core.process.SendDownloadAssetEmailProcess
-
- All Implemented Interfaces:
WorkflowProcess
@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
TheSendDownloadAssetEmailProcesswill send download asset email.
-
-
Field Summary
-
Fields inherited from class com.day.cq.dam.commons.process.AbstractAssetWorkflowProcess
TYPE_JCR_PATH
-
-
Constructor Summary
Constructors Constructor Description SendDownloadAssetEmailProcess()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidexecute(WorkItem workItem, WorkflowSession session, MetaDataMap metaData)Executes a new Java process with the givenandWorkItem.WorkflowSessionjava.lang.StringloadTemplate(javax.jcr.Session session, java.lang.String path)Deprecated.since 6.4.
-
-
-
Method Detail
-
execute
public void execute(WorkItem workItem, WorkflowSession session, MetaDataMap metaData) throws WorkflowException
Description copied from interface:WorkflowProcessExecutes a new Java process with the givenandWorkItem.WorkflowSession- Parameters:
workItem- Thethat defines the newly startedWorkItemJavaProcessNew.session- Thethat is used for starting theWorkflowSessionJavaProcess.metaData- Process specific arguments can be passed here- Throws:
WorkflowException- Thrown in case something goes wrong during execution.
-
loadTemplate
@Deprecated public java.lang.String loadTemplate(javax.jcr.Session session, java.lang.String path)Deprecated.since 6.4. Reading content of email-templates given template-absolute-paths is not supported.Loads the mail templates from the repository.- Parameters:
path- mail templates root pathsession- session- Returns:
- a reader to the template or
nullif not valid.
-
-