org.onebusaway.users.client.model
Class UserBean

java.lang.Object
  extended by org.onebusaway.users.client.model.UserBean
All Implemented Interfaces:
Serializable

public class UserBean
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
UserBean()
           
 
Method Summary
 void addBookmark(BookmarkBean bookmark)
           
 List<BookmarkBean> getBookmarks()
           
 double getDefaultLocationLat()
           
 double getDefaultLocationLon()
           
 String getDefaultLocationName()
           
 List<UserIndexBean> getIndices()
           
 List<String> getLastSelectedStopIds()
           
 Long getMinApiRequestInterval()
           
 Map<String,Long> getReadServiceAlerts()
           
 String getUserId()
           
 boolean hasDefaultLocation()
           
 boolean isAdmin()
           
 boolean isAnonymous()
           
 boolean isRememberPreferencesEnabled()
           
 void setAdmin(boolean admin)
           
 void setAnonymous(boolean anonymous)
           
 void setBookmarks(List<BookmarkBean> bookmarks)
           
 void setDefaultLocationLat(double defaultLocationLat)
           
 void setDefaultLocationLon(double defaultLocationLon)
           
 void setDefaultLocationName(String defaultLocationName)
           
 void setHasDefaultLocation(boolean defaultLocation)
           
 void setIndices(List<UserIndexBean> indices)
           
 void setLastSelectedStopIds(List<String> lastSelectedStopIds)
           
 void setMinApiRequestInterval(Long minApiRequestInterval)
           
 void setReadServiceAlerts(Map<String,Long> readServiceAlerts)
           
 void setRememberPreferencesEnabled(boolean rememberPreferencesEnabled)
           
 void setUserId(String userId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserBean

public UserBean()
Method Detail

getUserId

public String getUserId()

setUserId

public void setUserId(String userId)

isRememberPreferencesEnabled

public boolean isRememberPreferencesEnabled()

setRememberPreferencesEnabled

public void setRememberPreferencesEnabled(boolean rememberPreferencesEnabled)

hasDefaultLocation

public boolean hasDefaultLocation()

setHasDefaultLocation

public void setHasDefaultLocation(boolean defaultLocation)

getDefaultLocationName

public String getDefaultLocationName()

setDefaultLocationName

public void setDefaultLocationName(String defaultLocationName)

getDefaultLocationLat

public double getDefaultLocationLat()

setDefaultLocationLat

public void setDefaultLocationLat(double defaultLocationLat)

getDefaultLocationLon

public double getDefaultLocationLon()

setDefaultLocationLon

public void setDefaultLocationLon(double defaultLocationLon)

getLastSelectedStopIds

public List<String> getLastSelectedStopIds()

setLastSelectedStopIds

public void setLastSelectedStopIds(List<String> lastSelectedStopIds)

getBookmarks

public List<BookmarkBean> getBookmarks()

setBookmarks

public void setBookmarks(List<BookmarkBean> bookmarks)

addBookmark

public void addBookmark(BookmarkBean bookmark)

getMinApiRequestInterval

public Long getMinApiRequestInterval()

setMinApiRequestInterval

public void setMinApiRequestInterval(Long minApiRequestInterval)

getReadServiceAlerts

public Map<String,Long> getReadServiceAlerts()

setReadServiceAlerts

public void setReadServiceAlerts(Map<String,Long> readServiceAlerts)

isAnonymous

public boolean isAnonymous()

setAnonymous

public void setAnonymous(boolean anonymous)

isAdmin

public boolean isAdmin()

setAdmin

public void setAdmin(boolean admin)

getIndices

public List<UserIndexBean> getIndices()

setIndices

public void setIndices(List<UserIndexBean> indices)


Copyright © 2012 OneBusAway. All Rights Reserved.