|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.xwork2.ActionSupport
org.onebusaway.presentation.impl.NextActionSupport
org.onebusaway.webapp.actions.AbstractAction
org.onebusaway.webapp.actions.where.AbstractWhereAction
org.onebusaway.webapp.actions.where.StopAction
public class StopAction
Field Summary | |
---|---|
protected List<String> |
_ids
|
protected WebappArrivalsAndDeparturesModel |
_model
|
Fields inherited from class org.onebusaway.webapp.actions.AbstractAction |
---|
_currentUserService, _transitDataService, _userInteractionLoggingService |
Fields inherited from class org.onebusaway.presentation.impl.NextActionSupport |
---|
_session |
Fields inherited from class com.opensymphony.xwork2.ActionSupport |
---|
LOG |
Fields inherited from interface com.opensymphony.xwork2.Action |
---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
---|---|
StopAction()
|
Method Summary | |
---|---|
String |
execute()
|
List<String> |
getId()
|
WebappArrivalsAndDeparturesModel |
getModel()
|
Set<String> |
getRoutes()
|
String |
getStopAndRouteIdsAsUrlParams()
Build URL of stops and routes for the Refined Search page. |
String |
getTitle()
|
boolean |
isShowArrivals()
|
boolean |
isShowTitle()
|
void |
setId(List<String> ids)
To give more than one Stop ID, the URL must specify id= more than once. |
void |
setMinutesAfter(int minutesAfter)
|
void |
setMinutesBefore(int minutesBefore)
|
void |
setModel(WebappArrivalsAndDeparturesModel model)
|
void |
setOrder(String order)
|
void |
setRoute(List<String> routeLists)
Supports two styles of URL. |
void |
setShowArrivals(boolean showArrivals)
|
void |
setShowTitle(boolean showTitle)
|
void |
setTime(Date time)
|
void |
setTitle(String title)
|
boolean |
testAgenciesWithDisclaimers(List<AgencyBean> agencies)
|
Methods inherited from class org.onebusaway.webapp.actions.AbstractAction |
---|
getCurrentUser, getServiceArea, isAnonymousUser, logUserInteraction, setCurrentUserService, setServiceAreaService, setSession, setTransitDataService, setUserInteractionLoggingService |
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, 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 |
Field Detail |
---|
protected List<String> _ids
protected WebappArrivalsAndDeparturesModel _model
Constructor Detail |
---|
public StopAction()
Method Detail |
---|
public void setModel(WebappArrivalsAndDeparturesModel model)
public void setId(List<String> ids)
public List<String> getId()
public void setRoute(List<String> routeLists)
public Set<String> getRoutes()
public void setOrder(String order)
public void setTime(Date time)
public void setMinutesBefore(int minutesBefore)
public void setMinutesAfter(int minutesAfter)
public void setShowArrivals(boolean showArrivals)
public boolean isShowArrivals()
public WebappArrivalsAndDeparturesModel getModel()
getModel
in interface com.opensymphony.xwork2.ModelDriven<WebappArrivalsAndDeparturesModel>
public void setTitle(String title)
public String getTitle()
public void setShowTitle(boolean showTitle)
public boolean isShowTitle()
public String execute() throws ServiceException
execute
in interface com.opensymphony.xwork2.Action
execute
in class com.opensymphony.xwork2.ActionSupport
ServiceException
public boolean testAgenciesWithDisclaimers(List<AgencyBean> agencies)
public String getStopAndRouteIdsAsUrlParams()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |