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 DocumentModeldocprotected UserConfiguserConfig
-
Constructor Summary
Constructors Constructor Description UserAdapterImpl(DocumentModel doc, UserManager userManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCompany()StringgetEmail()StringgetFirstName()List<String>getGroups()StringgetLastName()StringgetName()StringgetSchemaName()StringgetTenantId()
-
-
-
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:
getNamein interfaceUserAdapter
-
getFirstName
public String getFirstName()
- Specified by:
getFirstNamein interfaceUserAdapter
-
getLastName
public String getLastName()
- Specified by:
getLastNamein interfaceUserAdapter
-
getEmail
public String getEmail()
- Specified by:
getEmailin interfaceUserAdapter
-
getCompany
public String getCompany()
- Specified by:
getCompanyin interfaceUserAdapter
-
getGroups
public List<String> getGroups()
- Specified by:
getGroupsin interfaceUserAdapter
-
getTenantId
public String getTenantId()
- Specified by:
getTenantIdin interfaceUserAdapter- Since:
- 8.1
-
getSchemaName
public String getSchemaName()
- Specified by:
getSchemaNamein interfaceUserAdapter
-
-