Tuyen Nguyen The created GTNPORTAL-3482:
-------------------------------------------
Summary: Deprecated class of UserImpl
Key: GTNPORTAL-3482
URL:
https://issues.jboss.org/browse/GTNPORTAL-3482
Project: GateIn Portal
Issue Type: Task
Security Level: Public (Everyone can see)
Reporter: Tuyen Nguyen The
Assignee: Tuyen Nguyen The
Priority: Minor
*org.exoplatform.services.organization.idm.UserImpl* class was created in order to make a
workaround to display the *userName* if exist.
This class should be *deleted* in Gatein according to a *TODO* annotation mentioned in
top. In fact, the related issue *was fixed* in JCR 1.15, see:
https://issues.jboss.org/browse/EXOJCR-1780.
the correction was made into the class
*org.exoplatform.services.organization.impl.UserImpl* on method getFullName (responsible
for displaying the username)
{code:title=UserImpl.java|borderStyle=solid}
// wrapper method
public String getFullName()
{
return getDisplayName();
}
public String getDisplayName()
{
return displayName != null ? displayName : getFirstName() + " " +
getLastName();
}
{code}
So no need to *...organization.idm.UserImpl* class any more as the class
*org.exoplatform.services.organization.impl.UserImpl* was fixed.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)