Class StopsForRouteAction
- java.lang.Object
-
- com.opensymphony.xwork2.ActionSupport
-
- org.onebusaway.presentation.impl.NextActionSupport
-
- org.onebusaway.enterprise.webapp.actions.where.AbstractAction
-
- org.onebusaway.enterprise.webapp.actions.where.AbstractWhereAction
-
- org.onebusaway.enterprise.webapp.actions.where.StopsForRouteAction
-
- All Implemented Interfaces:
com.opensymphony.xwork2.Action
,com.opensymphony.xwork2.interceptor.ValidationAware
,com.opensymphony.xwork2.LocaleProvider
,com.opensymphony.xwork2.TextProvider
,com.opensymphony.xwork2.Validateable
,Serializable
,org.apache.struts2.interceptor.SessionAware
public class StopsForRouteAction extends AbstractWhereAction
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.onebusaway.enterprise.webapp.actions.where.AbstractAction
_currentUserService, _transitDataService
-
Fields inherited from class org.onebusaway.presentation.impl.NextActionSupport
_session
-
-
Constructor Summary
Constructors Constructor Description StopsForRouteAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
execute()
List<NameBean>
getDirectionNames()
RouteBean
getRoute()
List<StopBean>
getStops()
void
setGroupIndex(int groupIndex)
void
setId(String id)
-
Methods inherited from class org.onebusaway.enterprise.webapp.actions.where.AbstractAction
getCurrentUser, getServiceArea, isAnonymousUser, setCurrentUserService, setServiceAreaService, setSession, setTransitDataService
-
Methods inherited from class org.onebusaway.presentation.impl.NextActionSupport
clearNextActions, getNextActionOrSuccess, pushNextAction, pushNextAction
-
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getContainer, getFieldErrors, getFormatted, getLocale, getLocaleProvider, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
-
-
-
-
Method Detail
-
setId
public void setId(String id)
-
setGroupIndex
public void setGroupIndex(int groupIndex)
-
getRoute
public RouteBean getRoute()
-
execute
public String execute() throws ServiceException
- Specified by:
execute
in interfacecom.opensymphony.xwork2.Action
- Overrides:
execute
in classcom.opensymphony.xwork2.ActionSupport
- Throws:
ServiceException
-
-