org.silverpeas.profile
Class UserReference
java.lang.Object
org.silverpeas.EntityReference<UserDetail>
org.silverpeas.profile.UserReference
public class UserReference
- extends EntityReference<UserDetail>
A reference to a given user in Silverpeas, such user being represented by a
UserDetail
instance.
- Author:
- mmoquillon
UserReference
public UserReference(String id)
fromUser
public static UserReference fromUser(UserDetail user)
getEntity
public UserDetail getEntity()
- Description copied from class:
EntityReference
- Gets the instance of the entity targeted by this reference.
- Specified by:
getEntity
in class EntityReference<UserDetail>
- Returns:
- the entity identified by this reference.
Copyright © 2016 Silverpeas. All Rights Reserved.