Class DefaultUserRoleListWebService
- java.lang.Object
-
- org.pentaho.platform.security.userrole.ws.DefaultUserRoleListWebService
-
- All Implemented Interfaces:
IUserRoleListWebService
public class DefaultUserRoleListWebService extends Object implements IUserRoleListWebService
Implementation ofIUserRoleListWebService
that delegates to anIUserRoleListService
instance.- Author:
- rmansoor
-
-
Constructor Summary
Constructors Constructor Description DefaultUserRoleListWebService()
No-arg constructor for when in Pentaho BI Server.DefaultUserRoleListWebService(org.pentaho.platform.api.engine.IUserRoleListService userRoleListService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getAllRoles()
This method returns the entire set of roles in the systemList<String>
getAllRolesForTenant(org.pentaho.platform.core.mt.Tenant tenant)
List<String>
getAllUsers()
This method returns the entire set of users in the systemList<String>
getAllUsersForTenant(org.pentaho.platform.core.mt.Tenant tenant)
List<String>
getRolesForUser(String username)
org.pentaho.platform.api.engine.security.userroledao.UserRoleInfo
getUserRoleInfo()
This method returns the entire set of users and roles in the systemList<String>
getUsersInRole(String role)
-
-
-
Method Detail
-
getAllRoles
public List<String> getAllRoles()
Description copied from interface:IUserRoleListWebService
This method returns the entire set of roles in the system- Specified by:
getAllRoles
in interfaceIUserRoleListWebService
- Returns:
- List of roles
-
getAllUsers
public List<String> getAllUsers()
Description copied from interface:IUserRoleListWebService
This method returns the entire set of users in the system- Specified by:
getAllUsers
in interfaceIUserRoleListWebService
- Returns:
- List of users
-
getUserRoleInfo
public org.pentaho.platform.api.engine.security.userroledao.UserRoleInfo getUserRoleInfo()
Description copied from interface:IUserRoleListWebService
This method returns the entire set of users and roles in the system- Specified by:
getUserRoleInfo
in interfaceIUserRoleListWebService
- Returns:
- an info object
-
getAllRolesForTenant
public List<String> getAllRolesForTenant(org.pentaho.platform.core.mt.Tenant tenant)
- Specified by:
getAllRolesForTenant
in interfaceIUserRoleListWebService
-
getAllUsersForTenant
public List<String> getAllUsersForTenant(org.pentaho.platform.core.mt.Tenant tenant)
- Specified by:
getAllUsersForTenant
in interfaceIUserRoleListWebService
-
-