org.onebusaway.phone.actions
Class AbstractAction

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by org.onebusaway.phone.actions.AbstractAction
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
Direct Known Subclasses:
ArrivalsAndDeparturesForRouteAction, ArrivalsAndDeparturesForStopIdAction, BookmarkStopAction, DeleteBookmarkAction, GetBookmarksAction, IndexAction, IndexAction, IndexAction, MostRecentStopAction, NavigateDownAction, NavigateToAction, RegistrationAction, RouteForNameAction, StopForCodeAction, StopsForRouteAction, WelcomeAction

public class AbstractAction
extends com.opensymphony.xwork2.ActionSupport
implements CurrentUserAware

See Also:
Serialized Form

Field Summary
protected  UserBean _currentUser
           
protected  CurrentUserService _currentUserService
           
protected  TransitDataService _transitDataService
           
static String 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
AbstractAction()
           
 
Method Summary
 UserBean getCurrentUser()
           
protected  CoordinateBounds getDefaultSearchArea()
           
protected  void logUserInteraction(Object... objects)
           
 void setCurrentUser(UserBean currentUser)
           
 void setCurrentUserService(CurrentUserService userDataService)
           
 void setServiceAreaService(ServiceAreaService serviceAreaService)
           
 void setTransitDataService(TransitDataService transitDataService)
           
 void setUserInteractionLoggingService(UserInteractionLoggingService userInteractionLoggingService)
           
 
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
 

Field Detail

NEEDS_DEFAULT_SEARCH_LOCATION

public static final String NEEDS_DEFAULT_SEARCH_LOCATION
See Also:
Constant Field Values

_transitDataService

protected TransitDataService _transitDataService

_currentUserService

protected CurrentUserService _currentUserService

_currentUser

protected UserBean _currentUser
Constructor Detail

AbstractAction

public AbstractAction()
Method Detail

setTransitDataService

public void setTransitDataService(TransitDataService transitDataService)

setCurrentUserService

public void setCurrentUserService(CurrentUserService userDataService)

setServiceAreaService

public void setServiceAreaService(ServiceAreaService serviceAreaService)

setUserInteractionLoggingService

public void setUserInteractionLoggingService(UserInteractionLoggingService userInteractionLoggingService)

setCurrentUser

public void setCurrentUser(UserBean currentUser)
Specified by:
setCurrentUser in interface CurrentUserAware

getCurrentUser

public UserBean getCurrentUser()

getDefaultSearchArea

protected CoordinateBounds getDefaultSearchArea()

logUserInteraction

protected void logUserInteraction(Object... objects)


Copyright © 2011 OneBusAway. All Rights Reserved.