public class CompositeUserRoleListService extends Object implements IUserRoleListService
Modifier and Type | Class and Description |
---|---|
static class |
CompositeUserRoleListService.STRATEGY |
Constructor and Description |
---|
CompositeUserRoleListService(List<IUserRoleListService> delegates) |
Modifier and Type | Method and Description |
---|---|
CompositeUserRoleListService.STRATEGY |
getActiveStrategy() |
List<String> |
getAllRoles() |
List<String> |
getAllRoles(ITenant tenant) |
List<String> |
getAllUsers() |
List<String> |
getAllUsers(ITenant tenant) |
List<String> |
getRolesForUser(ITenant tenant,
String username) |
List<String> |
getSystemRoles() |
List<String> |
getUsersInRole(ITenant tenant,
String role) |
void |
setStrategy(CompositeUserRoleListService.STRATEGY strategy) |
void |
setStrategy(String strategy) |
public CompositeUserRoleListService(List<IUserRoleListService> delegates)
public void setStrategy(CompositeUserRoleListService.STRATEGY strategy)
public void setStrategy(String strategy)
public CompositeUserRoleListService.STRATEGY getActiveStrategy()
public List<String> getAllRoles()
getAllRoles
in interface IUserRoleListService
public List<String> getSystemRoles()
getSystemRoles
in interface IUserRoleListService
public List<String> getAllRoles(ITenant tenant)
getAllRoles
in interface IUserRoleListService
public List<String> getAllUsers()
getAllUsers
in interface IUserRoleListService
public List<String> getAllUsers(ITenant tenant)
getAllUsers
in interface IUserRoleListService
public List<String> getUsersInRole(ITenant tenant, String role)
getUsersInRole
in interface IUserRoleListService
public List<String> getRolesForUser(ITenant tenant, String username)
getRolesForUser
in interface IUserRoleListService
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.