org.onebusaway.users.impl
Interface CurrentUserStrategy
- All Known Implementing Classes:
- AutoUserCurrentUserStrategyImpl, CurrentUserStrategyImpl
public interface CurrentUserStrategy
getCurrentUser
User getCurrentUser(boolean createUserIfAppropriate)
- Parameters:
createUserIfAppropriate
-
- Returns:
getCurrentUserIndex
UserIndex getCurrentUserIndex(boolean createUserIfAppropriate)
- Parameters:
createUserIfAppropriate
-
- Returns:
getCurrentUserDetails
IndexedUserDetails getCurrentUserDetails(boolean createUserIfAppropriate)
- Parameters:
createUserIfAppropriate
-
- Returns:
setCurrentUser
void setCurrentUser(UserIndex userIndex)
clearCurrentUser
void clearCurrentUser()
Copyright © 2012 OneBusAway. All Rights Reserved.