com.googlecode.jpattern.service.mail
Class SendMailCommand

java.lang.Object
  extended by com.googlecode.jpattern.core.command.ICommand
      extended by com.googlecode.jpattern.core.command.ACommand
          extended by com.googlecode.jpattern.service.mail.SendMailCommand
All Implemented Interfaces:
Serializable, Runnable

public class SendMailCommand
extends ACommand

Author:
Francesco Cina' 04/nov/2009
See Also:
Serialized Form

Constructor Summary
SendMailCommand(StringBuffer from, StringBuffer to, StringBuffer subject, StringBuffer body)
           
SendMailCommand(StringBuffer from, StringBuffer to, StringBuffer subject, StringBuffer body, ICommand aSuccessor)
           
 
Method Summary
protected  void createMessages(ICommandResult result, boolean valid)
           
protected  void internalRollBack()
           
protected  void internalRollBack(ICommandResult result)
           
protected  void result(ICommandResult result)
           
 
Methods inherited from class com.googlecode.jpattern.core.command.ACommand
exec, exec, getLogger, getPreviousCommand, getProvider, run, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SendMailCommand

public SendMailCommand(StringBuffer from,
                       StringBuffer to,
                       StringBuffer subject,
                       StringBuffer body)

SendMailCommand

public SendMailCommand(StringBuffer from,
                       StringBuffer to,
                       StringBuffer subject,
                       StringBuffer body,
                       ICommand aSuccessor)
Method Detail

internalRollBack

protected void internalRollBack()

result

protected void result(ICommandResult result)
Specified by:
result in class ACommand

createMessages

protected void createMessages(ICommandResult result,
                              boolean valid)

internalRollBack

protected void internalRollBack(ICommandResult result)
Specified by:
internalRollBack in class ACommand


Copyright © 2011. All Rights Reserved.