org.onebusaway.sms.actions.sms
Class ArrivalsAndDeparturesAction

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by org.onebusaway.presentation.impl.NextActionSupport
          extended by org.onebusaway.sms.actions.sms.AbstractTextmarksAction
              extended by org.onebusaway.sms.actions.sms.ArrivalsAndDeparturesAction
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.ModelDriven<SmsArrivalsAndDeparturesModel>, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, Serializable, org.apache.struts2.interceptor.SessionAware

public class ArrivalsAndDeparturesAction
extends AbstractTextmarksAction
implements com.opensymphony.xwork2.ModelDriven<SmsArrivalsAndDeparturesModel>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.onebusaway.sms.actions.sms.AbstractTextmarksAction
_currentUserService, _text, _transitDataService
 
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
ArrivalsAndDeparturesAction()
           
 
Method Summary
 String execute()
           
 SmsArrivalsAndDeparturesModel getModel()
           
 void setArgs(String[] args)
           
 void setModel(SmsArrivalsAndDeparturesModel model)
           
 void setRouteFilter(Set<String> routeIds)
           
 void setStopId(String stopId)
           
 void setStopIds(List<String> stopIds)
           
 
Methods inherited from class org.onebusaway.sms.actions.sms.AbstractTextmarksAction
getText, logUserInteraction, setCurrentUserService, setMessage, setText, setTransitDataService, setUserInteractionLoggingService
 
Methods inherited from class org.onebusaway.presentation.impl.NextActionSupport
clearNextActions, getNextActionOrSuccess, pushNextAction, pushNextAction, setSession
 
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

ArrivalsAndDeparturesAction

public ArrivalsAndDeparturesAction()
Method Detail

setModel

public void setModel(SmsArrivalsAndDeparturesModel model)

setStopId

public void setStopId(String stopId)

setStopIds

public void setStopIds(List<String> stopIds)

setRouteFilter

public void setRouteFilter(Set<String> routeIds)

setArgs

public void setArgs(String[] args)

getModel

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

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


Copyright © 2011 OneBusAway. All Rights Reserved.