org.onebusaway.phone.actions.bookmarks
Class BookmarkStopAction

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by org.onebusaway.phone.actions.AbstractAction
          extended by org.onebusaway.phone.actions.bookmarks.BookmarkStopAction
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, Serializable, CurrentUserAware

@Component
public class BookmarkStopAction
extends AbstractAction

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.onebusaway.phone.actions.AbstractAction
_currentUser, _currentUserService, _transitDataService, NEEDS_DEFAULT_SEARCH_LOCATION
 
Fields inherited from class com.opensymphony.xwork2.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
BookmarkStopAction()
           
 
Method Summary
 String execute()
           
 List<StopBean> getStops()
           
 void setBookmarkPresentationService(BookmarkPresentationService bookmarkPresentationService)
           
 void setStop(StopBean stop)
           
 void setStops(List<StopBean> stops)
           
 
Methods inherited from class org.onebusaway.phone.actions.AbstractAction
getCurrentUser, getDefaultSearchArea, logUserInteraction, setCurrentUser, setCurrentUserService, setServiceAreaService, setTransitDataService, setUserInteractionLoggingService
 
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

BookmarkStopAction

public BookmarkStopAction()
Method Detail

setBookmarkPresentationService

public void setBookmarkPresentationService(BookmarkPresentationService bookmarkPresentationService)

setStop

public void setStop(StopBean stop)

setStops

public void setStops(List<StopBean> stops)

getStops

public List<StopBean> getStops()

execute

public String execute()
               throws Exception
Specified by:
execute in interface com.opensymphony.xwork2.Action
Overrides:
execute in class com.opensymphony.xwork2.ActionSupport
Throws:
Exception


Copyright © 2011 OneBusAway. All Rights Reserved.