Liferay 6.2-ce-ga5

com.liferay.portlet
Class DefaultCustomUserAttributes

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

public class DefaultCustomUserAttributes
extends Object
implements CustomUserAttributes

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.


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

Constructor Detail

DefaultCustomUserAttributes

public DefaultCustomUserAttributes()
Method Detail

clone

public Object clone()
Specified by:
clone in interface CustomUserAttributes
Overrides:
clone in class Object

getValue

public String getValue(String name,
                       Map<String,String> userInfo)
Specified by:
getValue in interface CustomUserAttributes

Liferay 6.2-ce-ga5