public class UserSearchAction extends AbstractAction implements ThreadSafe, Serviceable
Modifier and Type | Field and Description |
---|---|
private static int |
_DEFAULT_COUNT_VALUE |
private static int |
_DEFAULT_OFFSET_VALUE |
private UserHelper |
_userHelper |
private UserManager |
_userManager |
private CurrentUserProvider |
_userProvider |
EMPTY_MAP
Constructor and Description |
---|
UserSearchAction() |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
_getSearchParameters(String source)
Get the search parameters
|
private void |
_searchUsersByContext(List<Map<String,Object>> users,
Map<String,Object> jsParameters,
String source,
Parameters parameters,
Set<String> contexts) |
private void |
_searchUsersByPopulation(List<Map<String,Object>> users,
Map<String,Object> jsParameters,
String source,
Parameters parameters,
String userPopulationId,
String userDirectoryId) |
Map |
act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters) |
void |
service(ServiceManager manager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
private static final int _DEFAULT_COUNT_VALUE
private static final int _DEFAULT_OFFSET_VALUE
private UserManager _userManager
private UserHelper _userHelper
private CurrentUserProvider _userProvider
public UserSearchAction()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
protected Map<String,Object> _getSearchParameters(String source)
source
- The search patternprivate void _searchUsersByContext(List<Map<String,Object>> users, Map<String,Object> jsParameters, String source, Parameters parameters, Set<String> contexts)