org.wso2.mashup.hostobjects.email
Class Email

java.lang.Object
  extended by org.mozilla.javascript.ScriptableObject
      extended by org.wso2.mashup.hostobjects.email.Email
All Implemented Interfaces:
java.io.Serializable, org.mozilla.javascript.ConstProperties, org.mozilla.javascript.debug.DebuggableObject, org.mozilla.javascript.Scriptable

public class Email
extends org.mozilla.javascript.ScriptableObject

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mozilla.javascript.ScriptableObject
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
 
Fields inherited from interface org.mozilla.javascript.Scriptable
NOT_FOUND
 
Constructor Summary
Email()
           
 
Method Summary
 java.lang.String getClassName()
          Return the name of the class.
static org.mozilla.javascript.Scriptable jsConstructor(org.mozilla.javascript.Context cx, java.lang.Object[] args, org.mozilla.javascript.Function ctorObj, boolean inNewExpr)
           
static void jsFunction_addAttachement(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, java.lang.Object[] arguments, org.mozilla.javascript.Function funObj)
           
 void jsFunction_send()
           
 java.lang.String[] jsGet_bcc()
           
 java.lang.String[] jsGet_cc()
           
 java.lang.String jsGet_from()
           
 java.lang.String jsGet_subject()
           
 java.lang.String jsGet_text()
           
 java.lang.String[] jsGet_to()
           
 void jsSet_bcc(java.lang.Object bccObject)
           
 void jsSet_cc(java.lang.Object ccObject)
           
 void jsSet_from(java.lang.String from)
           
 void jsSet_subject(java.lang.String subject)
           
 void jsSet_text(java.lang.String text)
           
 void jsSet_to(java.lang.Object toObject)
           
 
Methods inherited from class org.mozilla.javascript.ScriptableObject
associateValue, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, get, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, has, hasInstance, hasProperty, hasProperty, isConst, isSealed, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Email

public Email()
Method Detail

getClassName

public java.lang.String getClassName()
Return the name of the class.

This is typically the same name as the constructor. Classes extending ScriptableObject must implement this abstract method.

Specified by:
getClassName in interface org.mozilla.javascript.Scriptable
Specified by:
getClassName in class org.mozilla.javascript.ScriptableObject

jsConstructor

public static org.mozilla.javascript.Scriptable jsConstructor(org.mozilla.javascript.Context cx,
                                                              java.lang.Object[] args,
                                                              org.mozilla.javascript.Function ctorObj,
                                                              boolean inNewExpr)
                                                       throws java.io.IOException
Throws:
java.io.IOException

jsSet_from

public void jsSet_from(java.lang.String from)
                throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

jsGet_from

public java.lang.String jsGet_from()
                            throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

jsGet_to

public java.lang.String[] jsGet_to()
                            throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

jsSet_to

public void jsSet_to(java.lang.Object toObject)
              throws javax.mail.MessagingException,
                     org.wso2.mashup.MashupFault
Throws:
javax.mail.MessagingException
org.wso2.mashup.MashupFault

jsGet_cc

public java.lang.String[] jsGet_cc()
                            throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

jsSet_cc

public void jsSet_cc(java.lang.Object ccObject)
              throws javax.mail.MessagingException,
                     org.wso2.mashup.MashupFault
Throws:
javax.mail.MessagingException
org.wso2.mashup.MashupFault

jsGet_bcc

public java.lang.String[] jsGet_bcc()
                             throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

jsSet_bcc

public void jsSet_bcc(java.lang.Object bccObject)
               throws javax.mail.MessagingException,
                      org.wso2.mashup.MashupFault
Throws:
javax.mail.MessagingException
org.wso2.mashup.MashupFault

jsSet_subject

public void jsSet_subject(java.lang.String subject)
                   throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

jsGet_subject

public java.lang.String jsGet_subject()
                               throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

jsSet_text

public void jsSet_text(java.lang.String text)
                throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

jsGet_text

public java.lang.String jsGet_text()
                            throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

jsFunction_send

public void jsFunction_send()
                     throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

jsFunction_addAttachement

public static void jsFunction_addAttachement(org.mozilla.javascript.Context cx,
                                             org.mozilla.javascript.Scriptable thisObj,
                                             java.lang.Object[] arguments,
                                             org.mozilla.javascript.Function funObj)
                                      throws org.wso2.mashup.MashupFault,
                                             javax.mail.MessagingException
Throws:
org.wso2.mashup.MashupFault
javax.mail.MessagingException