Package org.onebusaway.users.impl
Interface CurrentUserStrategy
-
- All Known Implementing Classes:
AutoUserCurrentUserStrategyImpl,CurrentUserStrategyImpl
public interface CurrentUserStrategy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclearCurrentUser()UsergetCurrentUser(boolean createUserIfAppropriate)IndexedUserDetailsgetCurrentUserDetails(boolean createUserIfAppropriate)UserIndexgetCurrentUserIndex(boolean createUserIfAppropriate)voidsetCurrentUser(UserIndex userIndex)
-
-
-
Method Detail
-
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()
-
-