Package evolaris.platform.smssvc.web.form

Examples of evolaris.platform.smssvc.web.form.ServiceConfirmationForm


  }

  @Override
  public ActionForward defaultMethod(ActionMapping mapping, ActionForm form, HttpServletRequest req, HttpServletResponse resp) {
   
    ServiceConfirmationForm f = (ServiceConfirmationForm)form;
   
    String serviceType = f.getServiceType();
    if(serviceType == null || serviceType.equals("")){
      throw new BugException("invalid service type");
    }
   
    if(InteractionLogManager.EVENT_TIMER_SIMULATED.equals(serviceType)){
      if(f.getServiceId() != null && f.getServiceId().length() > 0){
        req.setAttribute("id", f.getServiceId());
        return mapping.findForward("timerEventInteractionsList");
      } else {
        return mapping.findForward("timerEventList");
      }
    } else if(InteractionLogManager.EVENT_SMS_SIMULATED.equals(serviceType)){
      if(f.getServiceId() != null && f.getServiceId().length() > 0){
        req.setAttribute("id", f.getServiceId());
        return mapping.findForward("backToInteractionsList");
      } else {
        return mapping.findForward("smsServiceList");
      }
    } else {
View Full Code Here

TOP

Related Classes of evolaris.platform.smssvc.web.form.ServiceConfirmationForm

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.