com.liferay.portlet
Class DefaultCustomUserAttributes
java.lang.Object
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.
DefaultCustomUserAttributes
public DefaultCustomUserAttributes()
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