Skip navigation links


com.essbase.eas.essbase.server
Class EmailPropertiesLogic

java.lang.Object
  extended by com.essbase.eas.essbase.server.EmailPropertiesLogic


public class EmailPropertiesLogic
extends java.lang.Object

EmailPropertiesLogic provides the server logic for sending an an xml document using the

JavaMail

package. Uses EmailLogic to actually send the document

Since:
6.5.3
Version:
6.5.4
Author:
Scott Rasmussen

Constructor Summary
EmailPropertiesLogic()
          Construct the EmailPropertiesLogic object.

 

Method Summary
 java.util.ArrayList sendApplicationEmail(EssSession session, java.lang.String serverName, java.lang.String appName, java.lang.String toName, java.lang.String ccName, java.lang.String bccName, java.lang.String subject, java.lang.String msgText, java.lang.String fromName, java.lang.String fromEmail, java.lang.String smtpHost)
          Send an email of application properties using the
 void sendApplicationEmailFAF(java.lang.String processId, EssSession session, java.lang.String serverName, java.lang.String appName, java.lang.String toName, java.lang.String ccName, java.lang.String bccName, java.lang.String subject, java.lang.String msgText, java.lang.String fromName, java.lang.String fromEmail, java.lang.String smtpHost)
          Send an email of application properties in fire and forget mode
 java.util.ArrayList sendDatabaseEmail(EssSession session, java.lang.String serverName, java.lang.String appName, java.lang.String dbName, java.lang.String toName, java.lang.String ccName, java.lang.String bccName, java.lang.String subject, java.lang.String msgText, java.lang.String fromName, java.lang.String fromEmail, java.lang.String smtpHost)
          Send an email of database properties using the
 void sendDatabaseEmailFAF(java.lang.String processId, EssSession session, java.lang.String serverName, java.lang.String appName, java.lang.String dbName, java.lang.String toName, java.lang.String ccName, java.lang.String bccName, java.lang.String subject, java.lang.String msgText, java.lang.String fromName, java.lang.String fromEmail, java.lang.String smtpHost)
          Send database email in Fire and Forget mode
 java.util.ArrayList sendServerEmail(EssSession session, java.lang.String serverName, java.lang.String toName, java.lang.String ccName, java.lang.String bccName, java.lang.String subject, java.lang.String msgText, java.lang.String fromName, java.lang.String fromEmail, java.lang.String smtpHost)
          Send an email of server properties using the
 void sendServerEmailFAF(java.lang.String processId, EssSession session, java.lang.String serverName, java.lang.String toName, java.lang.String ccName, java.lang.String bccName, java.lang.String subject, java.lang.String msgText, java.lang.String fromName, java.lang.String fromEmail, java.lang.String smtpHost)
          Send an email of server properties in fire and forget mode

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

EmailPropertiesLogic

public EmailPropertiesLogic()
Construct the EmailPropertiesLogic object.

Method Detail

sendServerEmailFAF

public void sendServerEmailFAF(java.lang.String processId,
                               EssSession session,
                               java.lang.String serverName,
                               java.lang.String toName,
                               java.lang.String ccName,
                               java.lang.String bccName,
                               java.lang.String subject,
                               java.lang.String msgText,
                               java.lang.String fromName,
                               java.lang.String fromEmail,
                               java.lang.String smtpHost)
                        throws java.lang.Exception
Send an email of server properties in fire and forget mode
Parameters:
process - id the process id for fire and forget
session - the EssbaseSession
serverName - the Essbase server
toName - the address(es) to send the document to
ccName - the address(es) to CC the document to
bccName - the address(es) to BCC the document to
subject - the subject of the message
fromName - the display or personal name of the sender
fromEmail - the sender's email address
smtpHost - the smtpHost to use to send the message
Throws:
java.lang.Exception

sendServerEmail

public java.util.ArrayList sendServerEmail(EssSession session,
                                           java.lang.String serverName,
                                           java.lang.String toName,
                                           java.lang.String ccName,
                                           java.lang.String bccName,
                                           java.lang.String subject,
                                           java.lang.String msgText,
                                           java.lang.String fromName,
                                           java.lang.String fromEmail,
                                           java.lang.String smtpHost)
Send an email of server properties using the

JavaMail

package.
Parameters:
session - the EssbaseSession
serverName - the Essbase server
toName - the address(es) to send the document to
ccName - the address(es) to CC the document to
bccName - the address(es) to BCC the document to
subject - the subject of the message
msgText - a message
fromName - the personal name of the sender
fromEmail - the email address of the sender
smtpHost - the smtpHost to use to send the message
Returns:
ArrayList with CommandStatus with result of sending the the email

sendApplicationEmailFAF

public void sendApplicationEmailFAF(java.lang.String processId,
                                    EssSession session,
                                    java.lang.String serverName,
                                    java.lang.String appName,
                                    java.lang.String toName,
                                    java.lang.String ccName,
                                    java.lang.String bccName,
                                    java.lang.String subject,
                                    java.lang.String msgText,
                                    java.lang.String fromName,
                                    java.lang.String fromEmail,
                                    java.lang.String smtpHost)
                             throws java.lang.Exception
Send an email of application properties in fire and forget mode
Parameters:
processId - the fire and forget process id
session - the EssbaseSession
serverName - the Essbase server
appName - the Essbase application
toName - the address(es) to send the document to
ccName - the address(es) to CC the document to
bccName - the address(es) to BCC the document to
subject - the subject of the message
fromName - the name of the sender
fromEmail - the email address of the sender
smtpHost - the smtpHost to use to send the message
Throws:
java.lang.Exception
See Also:
com.essbase.eas.essbase.server.EmailLogic#sendApplicationProperties

sendApplicationEmail

public java.util.ArrayList sendApplicationEmail(EssSession session,
                                                java.lang.String serverName,
                                                java.lang.String appName,
                                                java.lang.String toName,
                                                java.lang.String ccName,
                                                java.lang.String bccName,
                                                java.lang.String subject,
                                                java.lang.String msgText,
                                                java.lang.String fromName,
                                                java.lang.String fromEmail,
                                                java.lang.String smtpHost)
Send an email of application properties using the

JavaMail

package.
Parameters:
session - the EssbaseSession
serverName - the Essbase server
appName - the Essbase application
toName - the address(es) to send the document to
ccName - the address(es) to CC the document to
bccName - the address(es) to BCC the document to
subject - the subject of the message
msgText - the text message
fromName - the name of the sender of the document
fromEmail - the email address of the sender
smtpHost - the smtpHost to use to send the message
Returns:
ArrayList with CommandStatus with result of sending the the email

sendDatabaseEmailFAF

public void sendDatabaseEmailFAF(java.lang.String processId,
                                 EssSession session,
                                 java.lang.String serverName,
                                 java.lang.String appName,
                                 java.lang.String dbName,
                                 java.lang.String toName,
                                 java.lang.String ccName,
                                 java.lang.String bccName,
                                 java.lang.String subject,
                                 java.lang.String msgText,
                                 java.lang.String fromName,
                                 java.lang.String fromEmail,
                                 java.lang.String smtpHost)
                          throws java.lang.Exception
Send database email in Fire and Forget mode
Parameters:
processId - process id for fire and forget
session - the EssbaseSession
serverName - the Essbase server
appName - the Essbase application
dbName - the Essbase database
toName - the address(es) to send the document to
ccName - the address(es) to CC the document to
bccName - the address(es) to BCC the document to
subject - the subject of the message
fromName - the address of the sender of the document
fromEmail - the email address of the sender
smtpHost - the smtpHost to use to send the message
Throws:
java.lang.Exception

sendDatabaseEmail

public java.util.ArrayList sendDatabaseEmail(EssSession session,
                                             java.lang.String serverName,
                                             java.lang.String appName,
                                             java.lang.String dbName,
                                             java.lang.String toName,
                                             java.lang.String ccName,
                                             java.lang.String bccName,
                                             java.lang.String subject,
                                             java.lang.String msgText,
                                             java.lang.String fromName,
                                             java.lang.String fromEmail,
                                             java.lang.String smtpHost)
Send an email of database properties using the

JavaMail

package.
Parameters:
session - the EssbaseSession
serverName - the Essbase server
appName - the Essbase application
dbName - the Essbase database
toName - the address(es) to send the document to
ccName - the address(es) to CC the document to
bccName - the address(es) to BCC the document to
subject - the subject of the message
msgText - message text
fromName - the address of the sender of the document
fromEmail - the email address of the sender
smtpHost - the smtpHost to use to send the message
Returns:
ArrayList with CommandStatus with result of sending the the email

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.