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 StringfirstNamestatic Set<String>FULLTEXT_FIELDSstatic StringIDstatic StringJSON_COMPANYstatic StringJSON_EMAILstatic StringJSON_FIRSTNAMEstatic StringJSON_LASTNAMEstatic StringJSON_TENANT_IDstatic StringJSON_USERNAMEprotected StringlastNameprotected Stringpatternprotected StringtenantIdprotected UserManageruserManagerprotected Stringusername
-
Constructor Summary
Constructors Constructor Description QueryUsers()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BlobbuildResponse(List<DocumentModel> users)protected voidputIfNotNull(Map<String,Object> map, String key, Object value)Blobrun()
-
-
-
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
-
-