org.onebusaway.users.impl
Interface CurrentUserStrategy

All Known Implementing Classes:
AutoUserCurrentUserStrategyImpl, CurrentUserStrategyImpl

public interface CurrentUserStrategy


Method Summary
 void clearCurrentUser()
           
 User getCurrentUser(boolean createUserIfAppropriate)
           
 IndexedUserDetails getCurrentUserDetails(boolean createUserIfAppropriate)
           
 UserIndex getCurrentUserIndex(boolean createUserIfAppropriate)
           
 void setCurrentUser(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()


Copyright © 2011 OneBusAway. All Rights Reserved.