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

UserPreferencesGroup22Impl - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.migration.model22.impl.user
Class UserPreferencesGroup22Impl

java.lang.Object
  extended byorg.jboss.portal.migration.model22.impl.user.UserPreferencesGroup22Impl
All Implemented Interfaces:
PreferencesGroup22

public class UserPreferencesGroup22Impl
extends java.lang.Object
implements PreferencesGroup22


Field Summary
 java.lang.String groupId
          The id.
protected  java.lang.Long key
          The key.
 java.util.Map prefMap
          The preferences map.
 
Constructor Summary
protected UserPreferencesGroup22Impl()
          Used by hibernate only.
  UserPreferencesGroup22Impl(java.lang.String id)
           
 
Method Summary
protected  java.lang.String getGroupId()
          Called by Hibernate.
protected  java.lang.Long getKey()
          Called by Hibernate.
 ValueMap getPreferences(java.lang.String id, boolean create)
          Return a preference set for the given id.
protected  java.util.Map getPrefMap()
          Called by Hibernate.
protected  void setGroupId(java.lang.String groupId)
          Called by Hibernate.
protected  void setKey(java.lang.Long key)
          Called by Hibernate.
protected  void setPrefMap(java.util.Map prefMap)
          Called by Hibernate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

protected java.lang.Long key
The key.


groupId

public java.lang.String groupId
The id.


prefMap

public java.util.Map prefMap
The preferences map.

Constructor Detail

UserPreferencesGroup22Impl

public UserPreferencesGroup22Impl(java.lang.String id)

UserPreferencesGroup22Impl

protected UserPreferencesGroup22Impl()
Used by hibernate only.

Method Detail

getKey

protected java.lang.Long getKey()
Called by Hibernate.


setKey

protected void setKey(java.lang.Long key)
Called by Hibernate.


getGroupId

protected java.lang.String getGroupId()
Called by Hibernate.


setGroupId

protected void setGroupId(java.lang.String groupId)
Called by Hibernate.


getPrefMap

protected java.util.Map getPrefMap()
Called by Hibernate.


setPrefMap

protected void setPrefMap(java.util.Map prefMap)
Called by Hibernate.


getPreferences

public ValueMap getPreferences(java.lang.String id,
                               boolean create)
                        throws java.lang.IllegalArgumentException
Description copied from interface: PreferencesGroup22
Return a preference set for the given id.

Specified by:
getPreferences in interface PreferencesGroup22
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