站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

PreferencesGroup22 - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.migration.model22.model
Interface PreferencesGroup22

All Known Implementing Classes:
UserPreferencesGroup22Impl

public interface PreferencesGroup22

A group of preferences.

Version:
$Revision: 5449 $
Author:
Julien Viet

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