Class TripAction
- java.lang.Object
-
- com.opensymphony.xwork2.ActionSupport
-
- org.onebusaway.enterprise.webapp.actions.where.TripAction
-
- 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
public class TripAction extends com.opensymphony.xwork2.ActionSupport
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TripAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
execute()
String
getGoogleAdClientId()
String
getGoogleMapsApiKey()
String
getGoogleMapsChannelId()
String
getGoogleMapsClientId()
String
getId()
TripDetailsBean
getResult()
Date
getServiceDate()
String
getStopId()
Date
getStopTime(TripStopTimeBean stopTime)
int
getStopTimeRaw(TripStopTimeBean stopTime)
Date
getTime()
TimeZone
getTimeZone()
String
getVehicleId()
boolean
isShowArrivals()
boolean
isShowVehicleId()
void
setId(String id)
void
setServiceDate(Date serviceDate)
void
setShowArrivals(boolean showArrivals)
void
setShowVehicleId(boolean showVehicleId)
void
setStopId(String stopId)
void
setTime(Date time)
void
setVehicleId(String vehicleId)
-
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
-
getGoogleMapsClientId
public String getGoogleMapsClientId()
-
getGoogleMapsChannelId
public String getGoogleMapsChannelId()
-
getGoogleAdClientId
public String getGoogleAdClientId()
-
getGoogleMapsApiKey
public String getGoogleMapsApiKey()
-
setId
public void setId(String id)
-
getId
public String getId()
-
setServiceDate
public void setServiceDate(Date serviceDate)
-
getServiceDate
public Date getServiceDate()
-
setTime
public void setTime(Date time)
-
getTime
public Date getTime()
-
setVehicleId
public void setVehicleId(String vehicleId)
-
getVehicleId
public String getVehicleId()
-
setStopId
public void setStopId(String stopId)
-
getStopId
public String getStopId()
-
setShowArrivals
public void setShowArrivals(boolean showArrivals)
-
isShowArrivals
public boolean isShowArrivals()
-
setShowVehicleId
public void setShowVehicleId(boolean showVehicleId)
-
isShowVehicleId
public boolean isShowVehicleId()
-
getResult
public TripDetailsBean getResult()
-
getTimeZone
public TimeZone getTimeZone()
-
execute
public String execute() throws ServiceException
- Specified by:
execute
in interfacecom.opensymphony.xwork2.Action
- Overrides:
execute
in classcom.opensymphony.xwork2.ActionSupport
- Throws:
ServiceException
-
getStopTimeRaw
public int getStopTimeRaw(TripStopTimeBean stopTime)
-
getStopTime
public Date getStopTime(TripStopTimeBean stopTime)
-
-