com.ibm.websphere.samples.pbw.war
Class MailAction

java.lang.Object
  extended by com.ibm.websphere.samples.pbw.war.MailAction
All Implemented Interfaces:
Serializable

public class MailAction
extends Object
implements Serializable

This class sends the email confirmation message.

See Also:
Serialized Form

Constructor Summary
MailAction()
          Public constructor
 
Method Summary
 void sendConfirmationMessage(Customer customer, String orderKey)
          Send the email order confirmation message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailAction

public MailAction()
Public constructor

Method Detail

sendConfirmationMessage

public final void sendConfirmationMessage(Customer customer,
                                          String orderKey)
                                   throws javax.ejb.CreateException,
                                          javax.ejb.FinderException
Send the email order confirmation message.

Parameters:
customer - The customer information.
orderKey - The order number.
Throws:
javax.ejb.CreateException
javax.ejb.FinderException


Copyright © 2011. All Rights Reserved.