|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interace used to represent a collection of preferences that are related to a user portlet instance. User prferences are on a per user per portlet basis. Unlike the other portlet preferences types, user preferences are not localized.
Note:The localizable methods are still available because the super interface (EbiPortletPreferencesWritable) provides these, however they should not used since only a locale of null will return anything valid. Infact, implementations of this interface should simply ignore the locale argument passed in and delegate to the non localized methods.
Method Summary | |
List |
getAllPreferences()
Returns a List with all the preferences. |
EbiPortletPreference |
getPreference(String name)
Returns a preference by name. |
Map |
getPreferenceMap()
Returns a Map with all the preferences keyed by name. |
boolean |
isLocalesSet()
Indicates whether any searchable locales have been set for the preferences object. |
void |
setUserLocales(Locale[] locales)
Sets a list of user locales (in the order they should be searched) when looking for preferences. |
Methods implemented from interface com.novell.afw.portlet.api.EbiPortletPreferencesWritable |
createPreference,
overridePreference,
removePreference |
Methods implemented from interface com.novell.afw.portlet.api.EbiPortletPreferences |
getAllPreferences,
getDisplayableXML,
getParentPreferences,
getPreference,
getPreferenceMap,
isPreferenceInherited,
toXML |
Method Detail |
public EbiPortletPreference getPreference(String name)
name
- String name of the preference.public List getAllPreferences()
public Map getPreferenceMap()
public void setUserLocales(Locale[] locales)
locales
- Ordered list of locales to be searched.public boolean isLocalesSet()
|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |