Class QueryUsers
- java.lang.Object
-
- org.nuxeo.ecm.automation.core.operations.users.QueryUsers
-
public class QueryUsers extends Object
- Since:
- 5.6
-
-
Field Summary
Fields Modifier and Type Field Description protected String
firstName
static Set<String>
FULLTEXT_FIELDS
static String
ID
static String
JSON_COMPANY
static String
JSON_EMAIL
static String
JSON_FIRSTNAME
static String
JSON_LASTNAME
static String
JSON_TENANT_ID
static String
JSON_USERNAME
protected String
lastName
protected String
pattern
protected String
tenantId
protected UserManager
userManager
protected String
username
-
Constructor Summary
Constructors Constructor Description QueryUsers()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Blob
buildResponse(List<DocumentModel> users)
protected void
putIfNotNull(Map<String,Object> map, String key, Object value)
Blob
run()
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
JSON_USERNAME
public static final String JSON_USERNAME
- See Also:
- Constant Field Values
-
JSON_FIRSTNAME
public static final String JSON_FIRSTNAME
- See Also:
- Constant Field Values
-
JSON_LASTNAME
public static final String JSON_LASTNAME
- See Also:
- Constant Field Values
-
JSON_EMAIL
public static final String JSON_EMAIL
- See Also:
- Constant Field Values
-
JSON_COMPANY
public static final String JSON_COMPANY
- See Also:
- Constant Field Values
-
JSON_TENANT_ID
public static final String JSON_TENANT_ID
- See Also:
- Constant Field Values
-
userManager
protected UserManager userManager
-
username
protected String username
-
firstName
protected String firstName
-
lastName
protected String lastName
-
pattern
protected String pattern
-
tenantId
protected String tenantId
-
-
Method Detail
-
run
public Blob run() throws IOException
- Throws:
IOException
-
buildResponse
protected Blob buildResponse(List<DocumentModel> users) throws IOException
- Throws:
IOException
-
-