org.onebusaway.webapp.actions
Class AbstractAction

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by org.onebusaway.presentation.impl.NextActionSupport
          extended by org.onebusaway.webapp.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, org.apache.struts2.interceptor.SessionAware
Direct Known Subclasses:
AbstractRedirectAction, AbstractWhereAction, BookmarkCreateAction, BookmarkDeleteAction, BookmarkEditAction, BookmarksAction, BookmarkUpdateAction, IndexAction, IndexAction, LoginAction, PhoneNumberRegistrationAction

public abstract class AbstractAction
extends NextActionSupport

See Also:
Serialized Form

Field Summary
protected  CurrentUserService _currentUserService
           
protected  TransitDataService _transitDataService
           
protected  UserInteractionLoggingService _userInteractionLoggingService
           
 
Fields inherited from class org.onebusaway.presentation.impl.NextActionSupport
_session
 
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
protected  UserBean getCurrentUser()
           
protected  CoordinateBounds getServiceArea()
          Protected Methods
 boolean isAnonymousUser()
           
protected  void logUserInteraction(Object... objects)
           
 void setCurrentUserService(CurrentUserService currentUserService)
           
 void setServiceAreaService(ServiceAreaService serviceAreaService)
           
 void setSession(Map<String,Object> session)
           
 void setTransitDataService(TransitDataService transitDataService)
           
 void setUserInteractionLoggingService(UserInteractionLoggingService userInteractionLoggingService)
           
 
Methods inherited from class org.onebusaway.presentation.impl.NextActionSupport
clearNextActions, getNextActionOrSuccess, pushNextAction, pushNextAction
 
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

_transitDataService

protected TransitDataService _transitDataService

_currentUserService

protected CurrentUserService _currentUserService

_userInteractionLoggingService

protected UserInteractionLoggingService _userInteractionLoggingService
Constructor Detail

AbstractAction

public AbstractAction()
Method Detail

setSession

public void setSession(Map<String,Object> session)
Specified by:
setSession in interface org.apache.struts2.interceptor.SessionAware
Overrides:
setSession in class NextActionSupport

setServiceAreaService

public void setServiceAreaService(ServiceAreaService serviceAreaService)

setTransitDataService

public void setTransitDataService(TransitDataService transitDataService)

setCurrentUserService

public void setCurrentUserService(CurrentUserService currentUserService)

setUserInteractionLoggingService

public void setUserInteractionLoggingService(UserInteractionLoggingService userInteractionLoggingService)

isAnonymousUser

public boolean isAnonymousUser()

getServiceArea

protected CoordinateBounds getServiceArea()
Protected Methods


getCurrentUser

protected UserBean getCurrentUser()

logUserInteraction

protected void logUserInteraction(Object... objects)


Copyright © 2011 OneBusAway. All Rights Reserved.