Class UserAdapterImpl
- java.lang.Object
-
- org.nuxeo.ecm.platform.usermanager.UserAdapterImpl
-
- All Implemented Interfaces:
UserAdapter
public class UserAdapterImpl extends Object implements UserAdapter
A class that exposes the fields from user schema- Since:
- 5.7
- Author:
- Thierry Martins
-
-
Field Summary
Fields Modifier and Type Field Description protected DocumentModel
doc
protected UserConfig
userConfig
-
Constructor Summary
Constructors Constructor Description UserAdapterImpl(DocumentModel doc, UserManager userManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCompany()
String
getEmail()
String
getFirstName()
List<String>
getGroups()
String
getLastName()
String
getName()
String
getSchemaName()
String
getTenantId()
-
-
-
Field Detail
-
doc
protected final DocumentModel doc
-
userConfig
protected final UserConfig userConfig
-
-
Constructor Detail
-
UserAdapterImpl
public UserAdapterImpl(DocumentModel doc, UserManager userManager)
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceUserAdapter
-
getFirstName
public String getFirstName()
- Specified by:
getFirstName
in interfaceUserAdapter
-
getLastName
public String getLastName()
- Specified by:
getLastName
in interfaceUserAdapter
-
getEmail
public String getEmail()
- Specified by:
getEmail
in interfaceUserAdapter
-
getCompany
public String getCompany()
- Specified by:
getCompany
in interfaceUserAdapter
-
getGroups
public List<String> getGroups()
- Specified by:
getGroups
in interfaceUserAdapter
-
getTenantId
public String getTenantId()
- Specified by:
getTenantId
in interfaceUserAdapter
- Since:
- 8.1
-
getSchemaName
public String getSchemaName()
- Specified by:
getSchemaName
in interfaceUserAdapter
-
-