Project Wonder 2.0

er.javamail
Class ERMailDeliveryComponentBased

java.lang.Object
  extended byer.javamail.ERMailDelivery
      extended byer.javamail.ERMailDeliveryComponentBased
Direct Known Subclasses:
ERMailDeliveryHTML, ERMailDeliveryWOComponentPlainText

public abstract class ERMailDeliveryComponentBased
extends ERMailDelivery

This abstract class is the basis for all WOComponetn based deliverers.

Author:
Camille Troillard

Field Summary
protected  WOComponent _component
          WOComponent used to render the HTML message.
protected  NSDictionary _sessionDictionary
          Variable that stores the state of the session.
 
Fields inherited from class er.javamail.ERMailDelivery
_attachments, _callbackObject, _charset, _inlineAttachments, _mimeMessage, callBackClassName, callBackMethodName, DefaultCharset
 
Constructor Summary
ERMailDeliveryComponentBased()
           
 
Method Summary
 WOComponent component()
           
protected  String componentContentString()
          Generates the output string used in messages
 NSDictionary sessionDictionary()
          Accessor for the sessionDictionary property
 void setComponent(WOComponent component)
          Sets the WOComponent used to render the HTML message.
 void setSessionDictionary(NSDictionary dict)
          Accessor for the sessionDictionary property
 void setWOComponentContent(WOComponent component)
          Deprecated. use setComponent instead.
 
Methods inherited from class er.javamail.ERMailDelivery
_attachments, _inlineAttachments, addAttachment, addInlineAttachment, attachments, buildMessage, callbackObject, charset, finishMessagePreparation, inlineAttachments, internetAddressWithEmailAndPersonal, mimeMessage, newMail, prepareMail, removeAttachment, sendMail, sendMail, session, setBCCAddresses, setCallBackClassWithMethod, setCallbackObject, setCCAddresses, setCharset, setFromAddress, setFromAddress, setInternetAddresses, setMimeMessage, setReplyToAddress, setSession, setSubject, setToAddress, setToAddress, setToAddresses, setXMailerHeader, xMailerHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_component

protected WOComponent _component
WOComponent used to render the HTML message.


_sessionDictionary

protected NSDictionary _sessionDictionary
Variable that stores the state of the session. In the case the component was instanciated with ERMailUtils.instanciatePage, the session may be new and hence, would lack its dictionary properties.

Constructor Detail

ERMailDeliveryComponentBased

public ERMailDeliveryComponentBased()
Method Detail

setWOComponentContent

public void setWOComponentContent(WOComponent component)
Deprecated. use setComponent instead.

Sets the WOComponent used to render the HTML message.


setComponent

public void setComponent(WOComponent component)
Sets the WOComponent used to render the HTML message.


component

public WOComponent component()

sessionDictionary

public NSDictionary sessionDictionary()
Accessor for the sessionDictionary property


setSessionDictionary

public void setSessionDictionary(NSDictionary dict)
Accessor for the sessionDictionary property


componentContentString

protected String componentContentString()
Generates the output string used in messages


Last updated: Do, Dez 9, 2004 • 12:46 PM CET

Copyright © 2002 – 2004 Project Wonder.