com.ibm.xsp.actions
Class SendMailAction

java.lang.Object
  extended by javax.faces.el.MethodBinding
      extended by com.ibm.xsp.binding.MethodBindingEx
          extended by com.ibm.xsp.actions.SendMailAction
All Implemented Interfaces:
ComponentBindingObject, ValueBindingObject, FacesOutputFiltering, javax.faces.component.StateHolder

public class SendMailAction
extends MethodBindingEx
implements FacesOutputFiltering

Not intended to be subclassed.

Since:
9.0.0 Added in version 9.0

Field Summary
 
Fields inherited from class com.ibm.xsp.binding.MethodBindingEx
ENABLE_SOURCEID
 
Constructor Summary
SendMailAction()
           
 
Method Summary
 void addEeContext(Parameter parameter)
          Add to the list of parameters
 java.lang.String getBcc()
           
 java.lang.String getBodyHtml()
           
 java.lang.String getBodyPlain()
           
 java.lang.String getCc()
           
 java.lang.String getDefaultHtmlFilter()
           Return the defaultHtmlFilter
 java.lang.String getDeliveryPriority()
          Returns the Delivery Priority property
 java.util.List<Parameter> getEeContext()
          Return the list of parameters
 java.lang.String getEmbeddedFormat()
           
 java.lang.String getEmbeddedJson()
           
 java.lang.String getEmbeddedXml()
           
 java.lang.String getEncodingType()
           
 java.lang.String getFrom()
           
 java.lang.String getGadgetUrl()
           
 java.lang.String getHtmlFilter()
           Return the value of the htmlFilter property.
 java.lang.String getHtmlFilterName()
           Return the HTMLFilterName
 java.lang.String getHtmlUrl()
           
 java.lang.String getImportance()
           
 java.lang.String getSubject()
           
 java.lang.String getTo()
           
 java.lang.Class<java.lang.String> getType(javax.faces.context.FacesContext arg0)
           
 java.lang.Object invoke(javax.faces.context.FacesContext context, java.lang.Object[] arg1)
          Invoked the send mail action
 boolean isEncrypt()
           
 boolean isMarkSubjectConfidential()
           
 boolean isPreventCopying()
          Returns the _preventCopying property value
 boolean isSignMail()
           
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object value)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setBcc(java.lang.String bcc)
           
 void setBodyHtml(java.lang.String bodyHtml)
           
 void setBodyPlain(java.lang.String bodyPlain)
           
 void setCc(java.lang.String cc)
           
 void setDeliveryPriority(java.lang.String deliveryPriority)
          Set the delivery priority
 void setEmbeddedFormat(java.lang.String embeddedFormat)
           
 void setEmbeddedJson(java.lang.String embeddedJson)
           
 void setEmbeddedXml(java.lang.String embdeddedXml)
           
 void setEncodingType(java.lang.String _encodingType)
           
 void setEncrypt(boolean encrypt)
           
 void setFrom(java.lang.String from)
           
 void setGadgetUrl(java.lang.String gadgetUrl)
           
 void setHtmlFilter(java.lang.String htmlFilter)
           Set the value of the htmlFilter property.
 void setHtmlUrl(java.lang.String htmlUrl)
           
 void setImportance(java.lang.String importance)
           
 void setMarkSubjectConfidential(boolean markSubjectConfidential)
           
 void setPreventCopying(boolean preventCopying)
          Set the prevent copying property on the email
 void setSignMail(boolean signMail)
           
 void setSubject(java.lang.String subject)
           
 void setTo(java.lang.String to)
           
 
Methods inherited from class com.ibm.xsp.binding.MethodBindingEx
getComponent, getFacesContext, getParamNames, getParent, getSourceReferenceId, getValueBinding, isTransient, normalizePageName, setComponent, setParamNames, setParent, setSourceReferenceId, setTransient, setValueBinding
 
Methods inherited from class javax.faces.el.MethodBinding
getExpressionString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SendMailAction

public SendMailAction()
Method Detail

getType

public java.lang.Class<java.lang.String> getType(javax.faces.context.FacesContext arg0)
                                          throws javax.faces.el.MethodNotFoundException
Specified by:
getType in class javax.faces.el.MethodBinding
Throws:
javax.faces.el.MethodNotFoundException

invoke

public java.lang.Object invoke(javax.faces.context.FacesContext context,
                               java.lang.Object[] arg1)
                        throws javax.faces.el.EvaluationException,
                               javax.faces.el.MethodNotFoundException
Invoked the send mail action

Specified by:
invoke in class javax.faces.el.MethodBinding
Returns:
Throws:
javax.faces.el.EvaluationException
javax.faces.el.MethodNotFoundException

setEmbeddedJson

public void setEmbeddedJson(java.lang.String embeddedJson)
Parameters:
_eeJson - the _eeJson to set

setEmbeddedXml

public void setEmbeddedXml(java.lang.String embdeddedXml)
Parameters:
_eeXml - the _eeXml to set

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext context)
Specified by:
saveState in interface javax.faces.component.StateHolder
Overrides:
saveState in class MethodBindingEx

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         java.lang.Object value)
Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class MethodBindingEx

getEmbeddedJson

public java.lang.String getEmbeddedJson()
Returns:
the _embeddedJson property

getEmbeddedXml

public java.lang.String getEmbeddedXml()
Returns:
the _embeddedXml property

getTo

public java.lang.String getTo()
Returns:
Returns the To property

setTo

public void setTo(java.lang.String to)
Parameters:
script - The script to set.

getCc

public java.lang.String getCc()
Returns:
the _carbonCopy

setCc

public void setCc(java.lang.String cc)
Parameters:
_carbonCopy - the _carbonCopy to set

getBcc

public java.lang.String getBcc()
Returns:
the _blindCarbonCopy

setBcc

public void setBcc(java.lang.String bcc)
Parameters:
_blindCarbonCopy - the _blindCarbonCopy to set

getSubject

public java.lang.String getSubject()
Returns:
the _subject

setSubject

public void setSubject(java.lang.String subject)
Parameters:
_subject - the _subject to set

getFrom

public java.lang.String getFrom()
Returns:
the _principal

setFrom

public void setFrom(java.lang.String from)
Parameters:
_principal - the _principal to set

getBodyPlain

public java.lang.String getBodyPlain()
Returns:
the _plaintext

setBodyPlain

public void setBodyPlain(java.lang.String bodyPlain)
Parameters:
_plaintext - the _plaintext to set

getBodyHtml

public java.lang.String getBodyHtml()
Returns:
the _html

setBodyHtml

public void setBodyHtml(java.lang.String bodyHtml)
Parameters:
_html - the _html to set

getGadgetUrl

public java.lang.String getGadgetUrl()
Returns:
the gadgetUrl

setGadgetUrl

public void setGadgetUrl(java.lang.String gadgetUrl)
Parameters:
gadgetUrl - the gadgetUrl to set

getHtmlUrl

public java.lang.String getHtmlUrl()
Returns:
the htmlUrl

setHtmlUrl

public void setHtmlUrl(java.lang.String htmlUrl)
Parameters:
htmlUrl - the htmlUrl to set

setEncodingType

public void setEncodingType(java.lang.String _encodingType)
Parameters:
htmlUrl - the htmlUrl to set

getEncodingType

public java.lang.String getEncodingType()
Returns:
the htmlUrl

addEeContext

public void addEeContext(Parameter parameter)
Add to the list of parameters

Parameters:
parameter -

getEeContext

public java.util.List<Parameter> getEeContext()
Return the list of parameters

Returns:

getEmbeddedFormat

public java.lang.String getEmbeddedFormat()
Returns:
the embeddedFormat

setEmbeddedFormat

public void setEmbeddedFormat(java.lang.String embeddedFormat)
Parameters:
embeddedFormat - the embeddedFormat to set

isEncrypt

public boolean isEncrypt()
Returns:
isEncrypted

setEncrypt

public void setEncrypt(boolean encrypt)
Parameters:
encrypt - the encrypt to set

isSignMail

public boolean isSignMail()
Returns:
the isSignMail

setSignMail

public void setSignMail(boolean signMail)
Parameters:
signMail -

getImportance

public java.lang.String getImportance()
Returns:
the _importance

setImportance

public void setImportance(java.lang.String importance)
Parameters:
_importance - the _importance to set

isMarkSubjectConfidential

public boolean isMarkSubjectConfidential()
Returns:
the _markSubjectConfidential

setMarkSubjectConfidential

public void setMarkSubjectConfidential(boolean markSubjectConfidential)
Parameters:
markSubjectConfidential - .

getDeliveryPriority

public java.lang.String getDeliveryPriority()
Returns the Delivery Priority property

Returns:
String

setDeliveryPriority

public void setDeliveryPriority(java.lang.String deliveryPriority)
Set the delivery priority

Parameters:
setDeliveryPriority -

isPreventCopying

public boolean isPreventCopying()
Returns the _preventCopying property value

Returns:
boolean

setPreventCopying

public void setPreventCopying(boolean preventCopying)
Set the prevent copying property on the email

Parameters:
preventCopying -

getHtmlFilterName

public java.lang.String getHtmlFilterName()

Return the HTMLFilterName

Specified by:
getHtmlFilterName in interface FacesOutputFiltering
Returns:

getHtmlFilter

public java.lang.String getHtmlFilter()

Return the value of the htmlFilter property. Contents:

Indicates which Active Content Filtering processor to use.


setHtmlFilter

public void setHtmlFilter(java.lang.String htmlFilter)

Set the value of the htmlFilter property.


getDefaultHtmlFilter

public java.lang.String getDefaultHtmlFilter()

Return the defaultHtmlFilter