站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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.
 

Method Detail

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 id
create - 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