org.onebusaway.webapp.gwt.where_library
Class UserContext

java.lang.Object
  extended by org.onebusaway.webapp.gwt.where_library.UserContext

public class UserContext
extends Object


Constructor Summary
protected UserContext()
           
 
Method Summary
 void clearDefaultSearchLocationForCurrentUser(com.google.gwt.user.client.rpc.AsyncCallback<UserBean> callback)
           
static UserContext getContext()
           
 void getCurrentUser(com.google.gwt.user.client.rpc.AsyncCallback<UserBean> callback)
           
 void setDefaultSearchLocationForCurrentUser(String locationName, double lat, double lon, boolean onlyIfNotAlreadySet)
           
 void setDefaultSearchLocationForCurrentUser(String locationName, double lat, double lon, boolean onlyIfNotAlreadySet, com.google.gwt.user.client.rpc.AsyncCallback<UserBean> callback)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserContext

protected UserContext()
Method Detail

getContext

public static UserContext getContext()

getCurrentUser

public void getCurrentUser(com.google.gwt.user.client.rpc.AsyncCallback<UserBean> callback)

setDefaultSearchLocationForCurrentUser

public void setDefaultSearchLocationForCurrentUser(String locationName,
                                                   double lat,
                                                   double lon,
                                                   boolean onlyIfNotAlreadySet)

setDefaultSearchLocationForCurrentUser

public void setDefaultSearchLocationForCurrentUser(String locationName,
                                                   double lat,
                                                   double lon,
                                                   boolean onlyIfNotAlreadySet,
                                                   com.google.gwt.user.client.rpc.AsyncCallback<UserBean> callback)

clearDefaultSearchLocationForCurrentUser

public void clearDefaultSearchLocationForCurrentUser(com.google.gwt.user.client.rpc.AsyncCallback<UserBean> callback)


Copyright © 2012 OneBusAway. All Rights Reserved.