oracle.clex.process
Class SendMail

java.lang.Object
  |
  +--oracle.cle.process.Process
        |
        +--oracle.cle.process.GenericProcess
              |
              +--oracle.clex.process.SendMail
All Implemented Interfaces:
Child, java.lang.Cloneable, ProcessConstants, java.io.Serializable, State

public class SendMail
extends GenericProcess

Process used to send email.Uses EmailManager. This parameters need for this Process should be in the info table as "to", "from", "body" and "subject".

See Also:
EmailManager, Serialized Form

Field Summary
static java.lang.String BCC
           
static java.lang.String BODY
           
static java.lang.String CC
           
static java.lang.String FROM
           
static java.lang.String HOST
           
static java.lang.String SUBJECT
           
static java.lang.String TO
           
 
Fields inherited from class oracle.cle.process.GenericProcess
parent
 
Fields inherited from class oracle.cle.process.Process
condition, DEBUG, endState, FAILURE, name, processes, service, stateMachine, SUCCESS, TRANSITION_CONDITION_FAILURE, TRANSITION_CONDITION_SUCCESS
 
Fields inherited from interface oracle.cle.process.ProcessConstants
ALLINFO, BINARYSIZE, CONNECTION_PROVIDER_DTD_NAME, CONNECTION_PROVIDER_VALIDATION_PROPERTY, CONTENTTYPE, CURRENTPAGEID, CURRENTSERVICE, ERRORMESSAGE, GENERICBINARYRESULT, GENERICTEXTRESULT, GETINFO_CHECK_ALL, GETINFO_CHECK_CONTROLLERONLY, GETINFO_CHECK_SERVICEONLY, HTML, HTMLRESULT, JSPRESULT, LOGOFF, NOMESSAGE, PAGEID, PDF, PDFRESULT, PRE_GROUP_DTD_NAME, PRE_GROUP_VALIDATION_PROPERTY, PROCESS_FEEDBACK, RESTART, RESULTTYPE, RULES_DTD_NAME, SERVICE_DESCRIPTOR, SERVICE_DTD_NAME, SERVICE_VALIDATION_PROPERTY, SERVICEINITIALSTATE, SERVICENAME, SESSIONID, SKIP, STACKTRACE, USER, USERROLE, WML, XML, XMLRESULT
 
Constructor Summary
SendMail()
           
 
Method Summary
static void main(java.lang.String[] args)
          A simple main method for testing the Process before integration with the Service and DisplayGroup.
protected  void registerInfo()
          Register all ProcessParameters(TO,FROM,BODY,SUBJECT)
 void start()
          Sends the email using the EmailManager
 
Methods inherited from class oracle.cle.process.GenericProcess
clone, getBooleanInfo, getFloatInfo, getInfo, getInfo, getInfo, getInfoValue, getInfoValue, getInfoValueFromController, getInfoValueFromService, getIntegerInfo, getParameterNamed, getParameters, getParent, getParents, getResultNamed, getResults, getSessionId, getStringInfo, processParameters, processResults, registerBooleanParameter, registerBooleanResult, registerIntegerParameter, registerIntegerResult, registerParameter, registerProcessInfo, registerResult, registerStringArrayParameter, registerStringArrayResult, registerStringParameter, registerStringParameter, registerStringResult, registerStringResult, retrieveStringParameter, runTest, setParent, setResult, setResult, setResult
 
Methods inherited from class oracle.cle.process.Process
addCondition, addProcess, cloneProcess, debug, generateFailureCondition, generateSuccessCondition, getClassname, getCondition, getConditions, getIconName, getImageName, getName, getProcesses, getProcessNamed, getStateMachine, hashCode, isEndState, removeCondition, removeCondition, reportException, returnCondition, setCondition, setCondition, setEndState, setName, setService, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

TO

public static final java.lang.String TO

SUBJECT

public static final java.lang.String SUBJECT

BODY

public static final java.lang.String BODY

FROM

public static final java.lang.String FROM

HOST

public static final java.lang.String HOST

BCC

public static final java.lang.String BCC

CC

public static final java.lang.String CC
Constructor Detail

SendMail

public SendMail()
Method Detail

registerInfo

protected void registerInfo()
Register all ProcessParameters(TO,FROM,BODY,SUBJECT)
Overrides:
registerInfo in class GenericProcess

start

public void start()
Sends the email using the EmailManager
Overrides:
start in class GenericProcess

main

public static void main(java.lang.String[] args)
A simple main method for testing the Process before integration with the Service and DisplayGroup.


Copyright © 2003 ORACLE Corp. All Rights Reserved.