Class ScheduleForRouteAction
- java.lang.Object
-
- com.opensymphony.xwork2.ActionSupport
-
- org.onebusaway.api.actions.OneBusAwayApiActionSupport
-
- org.onebusaway.api.actions.api.ApiActionSupport
-
- org.onebusaway.api.actions.api.where.ScheduleForRouteAction
-
- All Implemented Interfaces:
com.opensymphony.xwork2.Action
,com.opensymphony.xwork2.interceptor.ValidationAware
,com.opensymphony.xwork2.LocaleProvider
,com.opensymphony.xwork2.ModelDriven<ResponseBean>
,com.opensymphony.xwork2.TextProvider
,com.opensymphony.xwork2.Validateable
,Serializable
public class ScheduleForRouteAction extends ApiActionSupport
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.onebusaway.api.actions.api.ApiActionSupport
_response
-
-
Constructor Summary
Constructors Constructor Description ScheduleForRouteAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.onebusaway.gtfs.model.AgencyAndId
convertAgencyAndId(String id)
Private MethodsString
getId()
void
setDate(Date date)
void
setId(String id)
protected org.apache.struts2.rest.DefaultHttpHeaders
setNoServiceResponse(Object data)
protected org.apache.struts2.rest.DefaultHttpHeaders
setNoServiceThatDayResponse(Object data)
org.apache.struts2.rest.DefaultHttpHeaders
show()
-
Methods inherited from class org.onebusaway.api.actions.api.ApiActionSupport
getBeanFactoryV2, getBeanFactoryV2, getModel, getReturnVersion, getTime, isVersion, setExceptionResponse, setIncludeReferences, setKey, setOkResponse, setOkResponseText, setResourceNotFoundResponse, setTime, setUnknownVersionResponse, setValidationErrorsResponse, setVersion
-
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, execute, 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)
-
getId
public String getId()
-
setDate
public void setDate(Date date)
-
show
public org.apache.struts2.rest.DefaultHttpHeaders show() throws ServiceException
- Throws:
ServiceException
-
convertAgencyAndId
protected org.onebusaway.gtfs.model.AgencyAndId convertAgencyAndId(String id)
Private Methods
-
setNoServiceResponse
protected org.apache.struts2.rest.DefaultHttpHeaders setNoServiceResponse(Object data)
-
setNoServiceThatDayResponse
protected org.apache.struts2.rest.DefaultHttpHeaders setNoServiceThatDayResponse(Object data)
-
-