Project Wonder 5.0

er.javamail
Class ERMailDeliveryComponentBased

java.lang.Object
  extended by er.javamail.ERMailDelivery
      extended by er.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  com.webobjects.appserver.WOComponent _alternativeComponent
           
protected  com.webobjects.appserver.WOComponent _component
          WOComponent used to render the HTML message.
protected  com.webobjects.foundation.NSDictionary _sessionDictionary
          Variable that stores the state of the session.
 
Fields inherited from class er.javamail.ERMailDelivery
_attachments, _charset, _inlineAttachments, _mimeMessage, DefaultCharset
 
Constructor Summary
ERMailDeliveryComponentBased()
           
 
Method Summary
protected  java.lang.String _componentContentString(com.webobjects.appserver.WOComponent component)
          Generates the output string used in messages
 com.webobjects.appserver.WOComponent alternativeComponent()
           
protected  java.lang.String alternativeComponentContentString()
          Generates the output string used in messages
 com.webobjects.appserver.WOComponent component()
           
protected  java.lang.String componentContentString()
          Generates the output string used in messages
 com.webobjects.foundation.NSDictionary sessionDictionary()
          Accessor for the sessionDictionary property
 void setAlternativeComponent(com.webobjects.appserver.WOComponent alternativeComponent)
          Sets the alternative view component for rendering a different mime type (text/plain, etc)
 void setComponent(com.webobjects.appserver.WOComponent component)
          Sets the WOComponent used to render the HTML message.
 void setSessionDictionary(com.webobjects.foundation.NSDictionary dict)
          Accessor for the sessionDictionary property
 void setWOComponentContent(com.webobjects.appserver.WOComponent component)
          Deprecated. use setComponent instead.
 
Methods inherited from class er.javamail.ERMailDelivery
_attachments, _inlineAttachments, addAttachment, addInlineAttachment, attachments, buildMessage, charset, contextString, finishMessagePreparation, inlineAttachments, internetAddressWithEmailAndPersonal, mimeMessage, newMail, prepareMail, removeAttachment, sendMail, sendMail, session, setAdditionalHeader, setBCCAddresses, setBCCAddresses, setCCAddresses, setCCAddresses, setCharset, setContextString, setDelegate, setFromAddress, setFromAddress, setInternetAddresses, setMimeMessage, setReplyToAddress, setReplyToAddress, setSession, setSubject, setToAddress, setToAddress, setToAddresses, setToAddresses, setUserInfo, setXMailerHeader, userInfo, xMailerHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_component

protected com.webobjects.appserver.WOComponent _component
WOComponent used to render the HTML message.


_alternativeComponent

protected com.webobjects.appserver.WOComponent _alternativeComponent

_sessionDictionary

protected com.webobjects.foundation.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(com.webobjects.appserver.WOComponent component)
Deprecated. use setComponent instead.

Sets the WOComponent used to render the HTML message.


setComponent

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


component

public com.webobjects.appserver.WOComponent component()

setAlternativeComponent

public void setAlternativeComponent(com.webobjects.appserver.WOComponent alternativeComponent)
Sets the alternative view component for rendering a different mime type (text/plain, etc)


alternativeComponent

public com.webobjects.appserver.WOComponent alternativeComponent()

sessionDictionary

public com.webobjects.foundation.NSDictionary sessionDictionary()
Accessor for the sessionDictionary property


setSessionDictionary

public void setSessionDictionary(com.webobjects.foundation.NSDictionary dict)
Accessor for the sessionDictionary property


componentContentString

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


alternativeComponentContentString

protected java.lang.String alternativeComponentContentString()
Generates the output string used in messages


_componentContentString

protected java.lang.String _componentContentString(com.webobjects.appserver.WOComponent component)
Generates the output string used in messages


Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.