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
TheSendDownloadAssetEmailProcess
will 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 void
execute(WorkItem workItem, WorkflowSession session, MetaDataMap metaData)
Executes a new Java process with the given
andWorkItem
.WorkflowSession
java.lang.String
loadTemplate(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:WorkflowProcess
Executes a new Java process with the given
andWorkItem
.WorkflowSession
- Parameters:
workItem
- The
that defines the newly startedWorkItem
JavaProcessNew
.session
- The
that is used for starting theWorkflowSession
JavaProcess
.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
null
if not valid.
-
-