Package org.onebusaway.presentation.impl.service_alerts

Examples of org.onebusaway.presentation.impl.service_alerts.SituationsPresentation


    return _arrivalsAndDeparturesPresentation.isShowArrivals();
  }

  public SituationsPresentation getSituations() {
    if (_situations == null) {
      _situations = new SituationsPresentation();

      HttpServletRequest request = ServletActionContext.getRequest();
      Map<String, Object> config = _configurationService.getConfiguration(false, request.getContextPath());
      String key = (String) config.get("apiKey");
      if (key != null)
View Full Code Here


    return _situations;
  }

  public SituationsPresentation getSituationsForArrivalAndDeparture(
      ArrivalAndDepartureBean arrivalAndDeparture) {
    SituationsPresentation situations = new SituationsPresentation();
    situations.setSituations(arrivalAndDeparture.getSituations());
    situations.setUser(_user);
    return situations;
  }
View Full Code Here

    return _presentation;
  }

  public SituationsPresentation getSituations() {
    if (_situations == null) {
      _situations = new SituationsPresentation();
      if (_result != null)
        _situations.setSituations(_result.getSituations());
      _situations.setUser(_currentUserService.getCurrentUser());
    }
    return _situations;
View Full Code Here

TOP

Related Classes of org.onebusaway.presentation.impl.service_alerts.SituationsPresentation

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.