Package evolaris.framework.smsservices.business

Examples of evolaris.framework.smsservices.business.SmsSenderManager


  private Sender senderFromMsisdn(HttpServletRequest req, String sendingMsisdnSelection, Group group) {
    if (sendingMsisdnSelection == null || sendingMsisdnSelection.startsWith("(")){
      throw new InputException(getResources(req).getMessage(locale,"smssvc.noSenderNumberSelected"));
    }
    long sendingMsisdn = Long.parseLong(sendingMsisdnSelection);
    SmsSenderManager smsSenderManager = new SmsSenderManager(locale,session);
    Sender sender = smsSenderManager.getSmsSenderByMsisdn(sendingMsisdn);
    if (!smsSenderManager.isValidForGroup(sender,group)){
      throw new InputException(getResources(req).getMessage(locale,"smssvc.invalidSender"));
    }
    return sender;
  }
View Full Code Here

TOP

Related Classes of evolaris.framework.smsservices.business.SmsSenderManager

Copyright © 2018 www.massapicom. 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.