| |
|
| org.tigris.scarab.om.BaseUserPreference org.tigris.scarab.om.UserPreference
UserPreference | public class UserPreference extends BaseUserPreference (Code) | | This class is the home of where we store user preferences
right now the design is based on adding columns to the database
for each thing you want to store. Eventually, we will want
to come up with a real system for dealing with this.
author: Jon S. Stevens version: $Id: UserPreference.java 10261 2006-08-27 10:11:29Z jorgeuriarte $ |
Method Summary | |
public void | save() Makes sure only non-anonymous users will upgrade their configuration. | public void | setLocale(String locale) This method truncates the preference length at 255 characters,
as the database column is onl 255 characters. |
save | public void save() throws TorqueException(Code) | | Makes sure only non-anonymous users will upgrade their configuration.
|
setLocale | public void setLocale(String locale)(Code) | | This method truncates the preference length at 255 characters,
as the database column is onl 255 characters. This should not
have an adverse affect because the Accept-Language
header parser generally only needs the first few characters.
Parameters: locale - The Locale information. |
|
|
|