Examples of SmsEventParameters


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

    }
   
    receivedSms.setInvocation(invocation);
    SmsDbManager smsMgr = new SmsDbManager(locale, session);
    smsMgr.writeIncomingMessageLog(receivedSms);
    eventParameters = new SmsEventParameters(locale, session, user, invocation, receivedSms);
    InteractionLog log = new InteractionLog();
    eventParameters.updateInteractionLog(log);
    log.setOperation(InteractionLogManager.EVENT_SMS_SIMULATED);
    log.setParameter(executionForm.getMessage());
    interactionLogManager.writeInteractionLog(log);   
View Full Code Here

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

  public EventParameters dummyEventParametersForList(HttpServletRequest req){
    InteractionList interactionList = interactionListFromSession(req);
    if (interactionList instanceof Invocation){  // used for services, SMS- and Email
      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);
View Full Code Here

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

              if(messageObject instanceof ReceivedSms) {
                ReceivedSms sms = (ReceivedSms)messageObject;
                LOGGER.info("sms message: `" + sms.getContent() + "`; sender: " + sms.getSender() + "; invocationId: " + invocation.getId() + " (keyword=`" + invocation.getKeywords() + "`)");
                user = userManager.registerUserByMsisdn(Long.parseLong(sms.getSender()), sms.getOperator(), invocation.getGroup());
                eventParameters = new SmsEventParameters(Locale.GERMAN,session,user,invocation,sms);
                eventParameters.updateInteractionLog(log);
                interactionLogManager.writeInteractionLog(log);

              } else if(messageObject instanceof ReceivedEmail) {
                ReceivedEmail email = (ReceivedEmail)messageObject;
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.