当前页面:
在线文档首页 >
JBOSS Portal 2.2 API 英文版文档
PreferencesGroup - JBOSS Portal 2.2 API 英文版文档
org.jboss.portal.core.model
Interface PreferencesGroup
- All Known Implementing Classes:
- PreferencesGroupImpl
- public interface PreferencesGroup
A group of preferences.
|
Method Summary |
ValueMap |
getPreferences(java.lang.String id,
boolean create)
Return a preference set for the given id. |
getPreferences
public ValueMap getPreferences(java.lang.String id,
boolean create)
throws java.lang.IllegalArgumentException
- Return a preference set for the given id.
- Parameters:
id - the set idcreate - if true create the pref if it does not exist otherwise return the pref or null
- Returns:
- the preference set or null if it does not exist when the creation has not been requested
- Throws:
java.lang.IllegalArgumentException - if the id is null