org.onebusaway.api.actions.api.where
Class PlanTripAction

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by org.onebusaway.api.actions.OneBusAwayApiActionSupport
          extended by org.onebusaway.api.actions.api.ApiActionSupport
              extended by org.onebusaway.api.actions.api.where.PlanTripAction
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.ModelDriven<ResponseBean>, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, Serializable

public class PlanTripAction
extends ApiActionSupport

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.opensymphony.xwork2.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
PlanTripAction()
           
 
Method Summary
 org.apache.struts2.rest.DefaultHttpHeaders create()
           
 ConstraintsBean getConstraints()
           
 String getIncludeSelectedItinerary()
           
 org.apache.struts2.rest.DefaultHttpHeaders index()
           
 void setConstraints(ConstraintsBean constraints)
           
 void setDateAndTime(String value)
           
 void setFromBlockId(String fromBlockId)
           
 void setFromServiceDate(long fromServiceDate)
           
 void setFromVehicleId(String fromVehicleId)
           
 void setIncludeSelectedItinerary(String includeSelectedItinerary)
           
 void setLatFrom(double latFrom)
           
 void setLatTo(double latTo)
           
 void setLonFrom(double lonFrom)
           
 void setLonTo(double lonTo)
           
 void setMode(List<String> modes)
           
 void setTime(Date time)
           
 void setTransitDataService(TransitDataService transitDataService)
           
 
Methods inherited from class org.onebusaway.api.actions.api.ApiActionSupport
getBeanFactoryV2, getBeanFactoryV2, getModel, getReturnVersion, isVersion, setExceptionResponse, setIncludeReferences, setKey, setOkResponse, setResourceNotFoundResponse, setUnknownVersionResponse, setValidationErrorsResponse, setVersion
 
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, execute, 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

PlanTripAction

public PlanTripAction()
Method Detail

setTransitDataService

public void setTransitDataService(TransitDataService transitDataService)

setLatFrom

public void setLatFrom(double latFrom)

setLonFrom

public void setLonFrom(double lonFrom)

setFromBlockId

public void setFromBlockId(String fromBlockId)

setFromServiceDate

public void setFromServiceDate(long fromServiceDate)

setFromVehicleId

public void setFromVehicleId(String fromVehicleId)

setLatTo

public void setLatTo(double latTo)

setLonTo

public void setLonTo(double lonTo)

setTime

public void setTime(Date time)

setDateAndTime

public void setDateAndTime(String value)
                    throws ParseException
Throws:
ParseException

setIncludeSelectedItinerary

public void setIncludeSelectedItinerary(String includeSelectedItinerary)

getIncludeSelectedItinerary

public String getIncludeSelectedItinerary()

setConstraints

public void setConstraints(ConstraintsBean constraints)

getConstraints

public ConstraintsBean getConstraints()

setMode

public void setMode(List<String> modes)

create

public org.apache.struts2.rest.DefaultHttpHeaders create()
                                                  throws IOException,
                                                         ServiceException
Throws:
IOException
ServiceException

index

public org.apache.struts2.rest.DefaultHttpHeaders index()
                                                 throws IOException,
                                                        ServiceException
Throws:
IOException
ServiceException


Copyright © 2011 OneBusAway. All Rights Reserved.