Class GetNuxeoPrincipal
- java.lang.Object
-
- org.nuxeo.ecm.automation.core.operations.services.directory.AbstractDirectoryOperation
-
- org.nuxeo.ecm.automation.core.operations.users.GetNuxeoPrincipal
-
public class GetNuxeoPrincipal extends AbstractDirectoryOperation
Fetch a user fromUserManager
and return it as aDocumentModel
. Using the DocumentModel rather that a POJO allow to also fetch custom properties.- Since:
- 5.7
- Author:
- Tiry
-
-
Field Summary
Fields Modifier and Type Field Description protected OperationContext
ctx
static String
ID
protected String
login
protected UserManager
umgr
-
Constructor Summary
Constructors Constructor Description GetNuxeoPrincipal()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentModel
run()
-
Methods inherited from class org.nuxeo.ecm.automation.core.operations.services.directory.AbstractDirectoryOperation
canManageDirectories, createActionContext, validateCanManageDirectories
-
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
umgr
protected UserManager umgr
-
login
protected String login
-
ctx
protected OperationContext ctx
-
-
Method Detail
-
run
public DocumentModel run()
-
-