com.liferay.portlet
Class CustomUserAttributes

java.lang.Object
  extended by com.liferay.portlet.CustomUserAttributes
All Implemented Interfaces:
java.lang.Cloneable

public class CustomUserAttributes
extends java.lang.Object
implements java.lang.Cloneable

View Source

A separate instance of this class is created every time renderRequest.getAttribute(PortletRequest.USER_INFO) is called. It is safe to cache attributes in this instance because you can assume that all calls to this instance belong to the same user.

Author:
Brian Wing Shun Chan

Constructor Summary
CustomUserAttributes()
           
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String getValue(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> userInfo)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomUserAttributes

public CustomUserAttributes()
Method Detail

getValue

public java.lang.String getValue(java.lang.String name,
                                 java.util.Map<java.lang.String,java.lang.String> userInfo)

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object