Class CachingUserRoleListServiceDecorator
- java.lang.Object
-
- org.pentaho.platform.plugin.services.security.userrole.CachingUserRoleListServiceDecorator
-
- All Implemented Interfaces:
org.pentaho.platform.api.engine.IUserRoleListService
public class CachingUserRoleListServiceDecorator extends Object implements org.pentaho.platform.api.engine.IUserRoleListService
Caching Decorator for an IUserRoleListService. It will use the configured ICacheManager in the PentahoSystem to cache all calls being made to the decorated instance. Created by nbaker on 5/20/14.
-
-
Constructor Summary
Constructors Constructor Description CachingUserRoleListServiceDecorator(org.pentaho.platform.api.engine.IUserRoleListService delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
List<String>
getUsersInRole(org.pentaho.platform.api.mt.ITenant tenant, String role)
-
-
-
Method Detail
-
getAllRoles
public List<String> getAllRoles()
- Specified by:
getAllRoles
in interfaceorg.pentaho.platform.api.engine.IUserRoleListService
-
getSystemRoles
public List<String> getSystemRoles()
- Specified by:
getSystemRoles
in interfaceorg.pentaho.platform.api.engine.IUserRoleListService
-
getRolesForUser
public List<String> getRolesForUser(org.pentaho.platform.api.mt.ITenant tenant, String username)
- Specified by:
getRolesForUser
in interfaceorg.pentaho.platform.api.engine.IUserRoleListService
-
getAllUsers
public List<String> getAllUsers(org.pentaho.platform.api.mt.ITenant tenant)
- Specified by:
getAllUsers
in interfaceorg.pentaho.platform.api.engine.IUserRoleListService
-
getAllRoles
public List<String> getAllRoles(org.pentaho.platform.api.mt.ITenant tenant)
- Specified by:
getAllRoles
in interfaceorg.pentaho.platform.api.engine.IUserRoleListService
-
getUsersInRole
public List<String> getUsersInRole(org.pentaho.platform.api.mt.ITenant tenant, String role)
- Specified by:
getUsersInRole
in interfaceorg.pentaho.platform.api.engine.IUserRoleListService
-
-