public class AllowedUsersByObjectAction extends ServiceableAction implements Initializable
AmetysObject
in a list.Modifier and Type | Field and Description |
---|---|
private Logger |
_logger |
protected ReadAccessHelper |
_readAccessHelper
The helper for read access
|
protected AmetysObjectResolver |
_resolver
The Ametys object resolver
|
manager
EMPTY_MAP
Constructor and Description |
---|
AllowedUsersByObjectAction() |
Modifier and Type | Method and Description |
---|---|
private void |
_act(String objectIdsAsString,
Map<String,Map<String,Object>> responseMap,
List<String> unresolvedIds) |
private List<String> |
_groupsAsStrings(Collection<GroupIdentity> groups) |
private List<String> |
_usersAsStrings(Collection<UserIdentity> users) |
Map |
act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters) |
void |
initialize() |
void |
service(ServiceManager smanager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
protected AmetysObjectResolver _resolver
protected ReadAccessHelper _readAccessHelper
public AllowedUsersByObjectAction()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableAction
ServiceException
public void initialize() throws Exception
initialize
in interface Initializable
Exception
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
private void _act(String objectIdsAsString, Map<String,Map<String,Object>> responseMap, List<String> unresolvedIds)
private List<String> _groupsAsStrings(Collection<GroupIdentity> groups)
private List<String> _usersAsStrings(Collection<UserIdentity> users)