org.onebusaway.phone.actions.search
Class RouteForNameAction

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by org.onebusaway.phone.actions.AbstractAction
          extended by org.onebusaway.phone.actions.search.RouteForNameAction
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, Serializable, CurrentUserAware

public class RouteForNameAction
extends AbstractAction

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
RouteForNameAction()
           
 
Method Summary
 String execute()
           
 RouteBean getRoute()
           
 String getRouteName()
           
 List<RouteBean> getRoutes()
           
 void setRouteName(String routeName)
           
 
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

RouteForNameAction

public RouteForNameAction()
Method Detail

setRouteName

public void setRouteName(String routeName)

getRouteName

public String getRouteName()

getRoute

public RouteBean getRoute()

getRoutes

public List<RouteBean> getRoutes()

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 © 2012 OneBusAway. All Rights Reserved.