public class GetQueryProfileTreeAction extends ServiceableAction
Query
Modifier and Type | Field and Description |
---|---|
protected GroupManager |
_groupManager
Group manager
|
protected AmetysObjectResolver |
_resolver
Ametys resolver
|
protected UserManager |
_userManager
User manager
|
protected UserPopulationDAO |
_userPopulationDAO
The user population DAO
|
protected CurrentUserProvider |
_userProvider
The current user provider
|
manager
EMPTY_MAP
Constructor and Description |
---|
GetQueryProfileTreeAction() |
Modifier and Type | Method and Description |
---|---|
private void |
_addGroupInfo(List<Map<String,Object>> entries,
GroupIdentity groupIdentity) |
private void |
_addUserInfo(List<Map<String,Object>> entries,
UserIdentity userIdentity) |
private Map<String,Object> |
_getProfileInfo(Query query,
Query.QueryProfile profile) |
Map |
act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters) |
void |
service(ServiceManager smanager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
protected AmetysObjectResolver _resolver
protected GroupManager _groupManager
protected UserManager _userManager
protected CurrentUserProvider _userProvider
protected UserPopulationDAO _userPopulationDAO
public GetQueryProfileTreeAction()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableAction
ServiceException
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
Exception
private Map<String,Object> _getProfileInfo(Query query, Query.QueryProfile profile)
private void _addUserInfo(List<Map<String,Object>> entries, UserIdentity userIdentity)
private void _addGroupInfo(List<Map<String,Object>> entries, GroupIdentity groupIdentity)