Class AbstractAction
- java.lang.Object
-
- com.opensymphony.xwork2.ActionSupport
-
- org.onebusaway.presentation.impl.NextActionSupport
-
- org.onebusaway.enterprise.webapp.actions.where.AbstractAction
-
- 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
,org.apache.struts2.interceptor.SessionAware
- Direct Known Subclasses:
AbstractWhereAction
public abstract class AbstractAction extends NextActionSupport
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected CurrentUserService
_currentUserService
protected TransitDataService
_transitDataService
-
Fields inherited from class org.onebusaway.presentation.impl.NextActionSupport
_session
-
-
Constructor Summary
Constructors Constructor Description AbstractAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected UserBean
getCurrentUser()
protected CoordinateBounds
getServiceArea()
Protected Methodsboolean
isAnonymousUser()
void
setCurrentUserService(CurrentUserService currentUserService)
void
setServiceAreaService(ServiceAreaService serviceAreaService)
void
setSession(Map<String,Object> session)
void
setTransitDataService(TransitDataService transitDataService)
-
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, execute, 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
-
-
-
-
Field Detail
-
_transitDataService
protected TransitDataService _transitDataService
-
_currentUserService
protected CurrentUserService _currentUserService
-
-
Method Detail
-
setSession
public void setSession(Map<String,Object> session)
- Specified by:
setSession
in interfaceorg.apache.struts2.interceptor.SessionAware
- Overrides:
setSession
in classNextActionSupport
-
setServiceAreaService
@Autowired public void setServiceAreaService(ServiceAreaService serviceAreaService)
-
setTransitDataService
@Autowired public void setTransitDataService(TransitDataService transitDataService)
-
setCurrentUserService
@Autowired public void setCurrentUserService(CurrentUserService currentUserService)
-
isAnonymousUser
public boolean isAnonymousUser()
-
getServiceArea
protected CoordinateBounds getServiceArea()
Protected Methods
-
getCurrentUser
protected UserBean getCurrentUser()
-
-