Package xpetstore.domain.customer.interfaces

Examples of xpetstore.domain.customer.interfaces.CustomerLocal


    }

    private void notifyCustomer( OrderLocal order )
        throws Exception
    {
      CustomerLocal customer = order.getCustomer(  );
      if ( customer == null)
      {
        Debug.print( "No customer to notify" );
        return;
      }
      
        String to = customer.getCustomerValue(  ).getEmail(  );
        String subject = "[Petstore] Order Confirmation";
        String body = toHtml( order );
        JMSUtil.sendToJMSQueue( JNDINames.QUEUE_MAIL, new Email( to, subject, body ), false );
    }
View Full Code Here

TOP

Related Classes of xpetstore.domain.customer.interfaces.CustomerLocal

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.