public class UserRoleListServiceToWebServiceAdapter extends Object implements 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(ITenant tenant) |
List<String> |
getAllUsers() |
List<String> |
getAllUsers(ITenant tenant) |
List<String> |
getRolesForUser(ITenant tenant,
String username) |
List<String> |
getSystemRoles() |
UserRoleInfo |
getUserRoleInfo() |
List<String> |
getUsersInRole(ITenant tenant,
String role) |
public UserRoleListServiceToWebServiceAdapter(IUserRoleListWebService userRoleListWebService)
public List<String> getAllRoles()
getAllRoles
in interface IUserRoleListService
public List<String> getAllUsers()
getAllUsers
in interface IUserRoleListService
public UserRoleInfo getUserRoleInfo()
public List<String> getAllRoles(ITenant tenant)
getAllRoles
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
public List<String> getSystemRoles()
getSystemRoles
in interface IUserRoleListService
Copyright © 2017 Hitachi Vantara. All rights reserved.