Package org.silverpeas.core.webapi.util
Class UserEntity
- java.lang.Object
-
- org.silverpeas.core.webapi.util.UserEntity
-
- All Implemented Interfaces:
Serializable
public class UserEntity extends Object implements Serializable
It represents the web entity of a user in Silverpeas from which a representation (usually in JSON) can be produced. This web entity gather common usual user information and an entry point (a URI) to its more complete profile. It is usually used in other web entities to refer a user (for example the author of a contribution represented by the web entity).- Author:
- mmoquillon
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
UserEntity()
UserEntity(User user)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFirstName()
String
getFullName()
String
getId()
String
getLastName()
URI
getUri()
-