|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.onebusaway.users.model.properties.UserPropertiesV2
public class UserPropertiesV2
DO NO RENAME OR MOVE THIS CLASS. Serialized instances of this class will be
around forever. See notes in UserProperties
for more info.
UserProperties
,
Serialized FormConstructor Summary | |
---|---|
UserPropertiesV2()
|
|
UserPropertiesV2(UserPropertiesV2 o)
|
Method Summary | |
---|---|
void |
clear()
|
List<Bookmark> |
getBookmarks()
|
double |
getDefaultLocationLat()
|
double |
getDefaultLocationLon()
|
String |
getDefaultLocationName()
|
Long |
getMinApiRequestInterval()
API request throttling information |
Map<String,Long> |
getReadSituationIdsWithReadTime()
Information about when a service alert situation id was read by the user. |
boolean |
hasDefaultLocationLat()
|
boolean |
hasDefaultLocationLon()
|
boolean |
isRememberPreferencesEnabled()
|
void |
setBookmarks(List<Bookmark> bookmarks)
|
void |
setDefaultLocationLat(double defaultLocationLat)
|
void |
setDefaultLocationLon(double defaultLocationLon)
|
void |
setDefaultLocationName(String defaultLocationName)
|
void |
setMinApiRequestInterval(Long minApiRequestInterval)
API request throttling information |
void |
setReadSituationIdsWithReadTime(Map<String,Long> readSituationIdsWithReadTime)
Information about when a service alert situation id was read by the user. |
void |
setRememberPreferencesEnabled(boolean rememberPreferencesEnabled)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserPropertiesV2()
public UserPropertiesV2(UserPropertiesV2 o)
Method Detail |
---|
public boolean isRememberPreferencesEnabled()
public void setRememberPreferencesEnabled(boolean rememberPreferencesEnabled)
public String getDefaultLocationName()
public void setDefaultLocationName(String defaultLocationName)
public boolean hasDefaultLocationLat()
public double getDefaultLocationLat()
public void setDefaultLocationLat(double defaultLocationLat)
public boolean hasDefaultLocationLon()
public double getDefaultLocationLon()
public void setDefaultLocationLon(double defaultLocationLon)
public List<Bookmark> getBookmarks()
public void setBookmarks(List<Bookmark> bookmarks)
public Long getMinApiRequestInterval()
public void setMinApiRequestInterval(Long minApiRequestInterval)
minApiRequestInterval
- minimum time interval (in ms)public Map<String,Long> getReadSituationIdsWithReadTime()
public void setReadSituationIdsWithReadTime(Map<String,Long> readSituationIdsWithReadTime)
a
- map from situation id to the time it was read (unix-time)public void clear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |