com.day.cq.mcm.core.process
Class BounceCounterProcess

java.lang.Object
  extended by com.day.cq.mcm.core.process.BounceCounterProcess
All Implemented Interfaces:
WorkflowProcess

@Service
@Property(name="process.lable",
          value="Email Bounce Counter")
public class BounceCounterProcess
extends Object
implements WorkflowProcess

A workflow process to iterate over a mail import root directory and process a user's newsletter bounce counters accordingly.


Field Summary
protected  NewsletterService newsletterService
           
 
Constructor Summary
BounceCounterProcess()
           
 
Method Summary
 void execute(WorkItem item, WorkflowSession session, MetaDataMap args)
          Executes a new Java process with the given WorkItem and WorkflowSession.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

newsletterService

@Reference
protected NewsletterService newsletterService
Constructor Detail

BounceCounterProcess

public BounceCounterProcess()
Method Detail

execute

public void execute(WorkItem item,
                    WorkflowSession session,
                    MetaDataMap args)
             throws WorkflowException
Description copied from interface: WorkflowProcess
Executes a new Java process with the given WorkItem and WorkflowSession.

Specified by:
execute in interface WorkflowProcess
Parameters:
item - The WorkItem that defines the newly started JavaProcessNew.
session - The WorkflowSession that is used for starting the JavaProcess.
args - Process specific arguments can be passed here
Throws:
WorkflowException - Thrown in case something goes wrong during execution.
See Also:
com.day.cq.workflow.exec.WorkflowProcess#execute(com.day.cq.workflow. exec.WorkItem, com.day.cq.workflow.WorkflowSession, com.day.cq.workflow.metadata.MetaDataMap)


Copyright © 2011-2012 Adobe Systems Incorporated. All Rights Reserved.