Class StopAction

    • Constructor Detail

      • StopAction

        public StopAction()
    • Method Detail

      • setId

        public void setId​(List<String> ids)
        To give more than one Stop ID, the URL must specify id= more than once.
      • setRoute

        public void setRoute​(List<String> routeLists)
        Supports two styles of URL. It can be comma-seperated, or route= can be given multiple times.
      • setOrder

        public void setOrder​(String order)
      • setTime

        public void setTime​(Date time)
      • setMinutesBefore

        public void setMinutesBefore​(int minutesBefore)
      • setMinutesAfter

        public void setMinutesAfter​(int minutesAfter)
      • setShowArrivals

        public void setShowArrivals​(boolean showArrivals)
      • isShowArrivals

        public boolean isShowArrivals()
      • setTitle

        public void setTitle​(String title)
      • getTitle

        public String getTitle()
      • setShowTitle

        public void setShowTitle​(boolean showTitle)
      • isShowTitle

        public boolean isShowTitle()
      • execute

        public String execute()
                       throws ServiceException
        Specified by:
        execute in interface com.opensymphony.xwork2.Action
        Overrides:
        execute in class com.opensymphony.xwork2.ActionSupport
        Throws:
        ServiceException
      • testAgenciesWithDisclaimers

        public boolean testAgenciesWithDisclaimers​(List<AgencyBean> agencies)
      • getStopAndRouteIdsAsUrlParams

        public String getStopAndRouteIdsAsUrlParams()
        Build URL of stops and routes for the Refined Search page.