public class FindUser extends BaseFindController
BaseFindController.PropertyFilter| Modifier and Type | Field and Description |
|---|---|
protected Set<String> |
displayProperties |
protected Set<String> |
searchProperties |
protected JahiaUserManagerService |
userService |
defaultLimit, disabled, hardLimit| Constructor and Description |
|---|
FindUser() |
| Modifier and Type | Method and Description |
|---|---|
protected Properties |
buildSearchCriteria(String queryTerm) |
static String |
getFindUserServletPath() |
protected void |
handle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected Set<JCRNodeWrapper> |
search(String queryTerm,
javax.servlet.http.HttpServletRequest request) |
protected Set<JCRUserNode> |
searchUsers(String queryTerm) |
void |
setDisplayProperties(Set<String> displayProperties) |
void |
setJahiaUserManagerService(JahiaUserManagerService jahiaUserManagerService) |
void |
setSearchProperties(Set<String> searchFields) |
protected void |
sortResults(List<org.json.JSONObject> jsonResults) |
protected org.json.JSONObject |
toJSON(JCRNodeWrapper principal) |
protected org.json.JSONObject |
toJSON(JCRUserNode user) |
protected void |
writeResults(Set<JCRNodeWrapper> users,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
JCRNodeWrapper jcrNodeWrapper,
String roles) |
handleRequest, setDefaultLimit, setDisabled, setHardLimitcheckUserAuthorized, checkUserAuthorized, checkUserLoggedIn, getCurrentUser, getIntParameter, getIntParameter, getParameter, getParameter, getRequiredPermission, isRequireAuthenticatedUser, isUserGuest, setRequireAuthenticatedUser, setRequiredPermissionprotected JahiaUserManagerService userService
public static String getFindUserServletPath()
protected Properties buildSearchCriteria(String queryTerm)
protected void handle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws JahiaForbiddenAccessException,
IOException,
org.json.JSONException
handle in class BaseFindControllerJahiaForbiddenAccessExceptionIOExceptionorg.json.JSONExceptionprotected Set<JCRNodeWrapper> search(String queryTerm, javax.servlet.http.HttpServletRequest request)
protected Set<JCRUserNode> searchUsers(String queryTerm)
public void setJahiaUserManagerService(JahiaUserManagerService jahiaUserManagerService)
protected void sortResults(List<org.json.JSONObject> jsonResults)
protected org.json.JSONObject toJSON(JCRUserNode user) throws org.json.JSONException
org.json.JSONExceptionprotected org.json.JSONObject toJSON(JCRNodeWrapper principal) throws org.json.JSONException
org.json.JSONExceptionprotected void writeResults(Set<JCRNodeWrapper> users, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, JCRNodeWrapper jcrNodeWrapper, String roles) throws IOException, org.json.JSONException
IOExceptionorg.json.JSONExceptionCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.