org.onebusaway.phone.actions.stops
Class ArrivalsAndDeparturesForStopIdAction

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by org.onebusaway.phone.actions.AbstractAction
          extended by org.onebusaway.phone.actions.stops.ArrivalsAndDeparturesForStopIdAction
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.ModelDriven<PhoneArrivalsAndDeparturesModel>, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, Serializable, CurrentUserAware

public class ArrivalsAndDeparturesForStopIdAction
extends AbstractAction
implements com.opensymphony.xwork2.ModelDriven<PhoneArrivalsAndDeparturesModel>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.onebusaway.phone.actions.AbstractAction
_currentUser, _currentUserService, _transitDataService, NEEDS_DEFAULT_SEARCH_LOCATION
 
Fields inherited from class com.opensymphony.xwork2.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ArrivalsAndDeparturesForStopIdAction()
           
 
Method Summary
 String execute()
           
 PhoneArrivalsAndDeparturesModel getModel()
           
 void setModel(PhoneArrivalsAndDeparturesModel model)
           
 void setRouteIds(Set<String> routeIds)
           
 void setStopIds(List<String> stopIds)
           
 
Methods inherited from class org.onebusaway.phone.actions.AbstractAction
getCurrentUser, getDefaultSearchArea, logUserInteraction, setCurrentUser, setCurrentUserService, setServiceAreaService, setTransitDataService, setUserInteractionLoggingService
 
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrivalsAndDeparturesForStopIdAction

public ArrivalsAndDeparturesForStopIdAction()
Method Detail

setModel

public void setModel(PhoneArrivalsAndDeparturesModel model)

setStopIds

public void setStopIds(List<String> stopIds)

setRouteIds

public void setRouteIds(Set<String> routeIds)

getModel

public PhoneArrivalsAndDeparturesModel getModel()
Specified by:
getModel in interface com.opensymphony.xwork2.ModelDriven<PhoneArrivalsAndDeparturesModel>

execute

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


Copyright © 2011 OneBusAway. All Rights Reserved.