public class UserRoleListServiceToWebServiceAdapter extends Object implements org.pentaho.platform.api.engine.IUserRoleListService
IUserRoleListService
into IUserRoleListWebService
. This is how client code
remains unaware of server code location.Constructor and Description |
---|
UserRoleListServiceToWebServiceAdapter(IUserRoleListWebService userRoleListWebService) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getAllRoles() |
List<String> |
getAllRoles(org.pentaho.platform.api.mt.ITenant tenant) |
List<String> |
getAllUsers() |
List<String> |
getAllUsers(org.pentaho.platform.api.mt.ITenant tenant) |
List<String> |
getRolesForUser(org.pentaho.platform.api.mt.ITenant tenant,
String username) |
List<String> |
getSystemRoles() |
org.pentaho.platform.api.engine.security.userroledao.UserRoleInfo |
getUserRoleInfo() |
List<String> |
getUsersInRole(org.pentaho.platform.api.mt.ITenant tenant,
String role) |
public UserRoleListServiceToWebServiceAdapter(IUserRoleListWebService userRoleListWebService)
public List<String> getAllRoles()
getAllRoles
in interface org.pentaho.platform.api.engine.IUserRoleListService
public List<String> getAllUsers()
getAllUsers
in interface org.pentaho.platform.api.engine.IUserRoleListService
public org.pentaho.platform.api.engine.security.userroledao.UserRoleInfo getUserRoleInfo()
public List<String> getAllRoles(org.pentaho.platform.api.mt.ITenant tenant)
getAllRoles
in interface org.pentaho.platform.api.engine.IUserRoleListService
public List<String> getAllUsers(org.pentaho.platform.api.mt.ITenant tenant)
getAllUsers
in interface org.pentaho.platform.api.engine.IUserRoleListService
public List<String> getUsersInRole(org.pentaho.platform.api.mt.ITenant tenant, String role)
getUsersInRole
in interface org.pentaho.platform.api.engine.IUserRoleListService
public List<String> getRolesForUser(org.pentaho.platform.api.mt.ITenant tenant, String username)
getRolesForUser
in interface org.pentaho.platform.api.engine.IUserRoleListService
Copyright © 2019 Hitachi Vantara. All rights reserved.