Examples of EmailEventParameters


Examples of evolaris.framework.smsservices.business.commands.EmailEventParameters

      Invocation invocation = (Invocation)interactionList;
      if (invocation.getMsisdn() != null){
        return new SmsEventParameters(locale,session,null,null,null);
      }
      if (invocation.getEmail() != null){
        return new EmailEventParameters(locale,session,null,null,null);
      }
      return new ServiceEventParameters(locale,session,null,null,null);
    } else {
      return null// any types of parameters possible for fragment interactions
    }
View Full Code Here

Examples of evolaris.framework.smsservices.business.commands.EmailEventParameters

              } else if(messageObject instanceof ReceivedEmail) {
                ReceivedEmail email = (ReceivedEmail)messageObject;
                LOGGER.info("email message: `" + email.getContent() + "`; subject: " + email.getSubject() + "`; sender: " + email.getEmailSender() + "; invocationId: " + invocation.getId() + " (keyword=`" + invocation.getKeywords() + "`)");
                user = userManager.registerUserByEmail(email.getEmailSender(), invocation.getGroup());
                eventParameters = new EmailEventParameters(Locale.GERMAN,session,user,invocation, email);
                eventParameters.updateInteractionLog(log);
                interactionLogManager.writeInteractionLog(log);
              } else {
                throw new BugException("unsupported message type: " + messageObject.getClass().getName());
              }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.