Uses of Interface
org.pentaho.platform.api.mt.ITenant
Package
Description
-
Uses of ITenant in org.pentaho.platform.api.engine
Modifier and TypeMethodDescriptionIUserRoleListService.getAllRoles
(ITenant tenant) Returns all authorities known to the provider for a given tenant.IUserRoleListService.getAllUsers
(ITenant tenant) Returns all user names known to the provider for a given tenant.IUserRoleListService.getRolesForUser
(ITenant tenant, String username) Returns all authorities granted for a specified user.IUserRoleListService.getUsersInRole
(ITenant tenant, String role) Returns all known users in the specified role. -
Uses of ITenant in org.pentaho.platform.api.engine.security.userroledao
Modifier and TypeMethodDescriptionIUserRoleDao.createRole
(ITenant tenant, String roleName, String description, String[] memberUserNames) Create a role under a specified tenant.IUserRoleDao.createUser
(ITenant tenant, String username, String password, String description, String[] roles) Creates user under a specified tenant.Retrieves the role with a given name from the specified tenant.IUserRoleDao.getRoleMembers
(ITenant tenant, String roleName) Retrieves the list of users associated to a particular role in a given tenant.Retrieve all the role from the specified tenant.Retrieve all the roles from the specified tenant.Retrieve the user from a specified tenant of the repository.IUserRoleDao.getUserRoles
(ITenant tenant, String userName) Retrieves the list of roles associated to a particular user in a given tenant.Retrieve all the users from the specified tenant of a repository.Retrieve all the users from the specified tenant of a repository .void
IUserRoleDao.setPassword
(ITenant tenant, String userName, String password) Update the password of an existing user under a specified tenant.void
IUserRoleDao.setRoleDescription
(ITenant tenant, String roleName, String description) Update the role description of a given role under a specific tenant.void
IUserRoleDao.setRoleMembers
(ITenant tenant, String roleName, String[] memberUserNames) Assign list of user names to a particular role in a specified tenant.void
IUserRoleDao.setUserDescription
(ITenant tenant, String userName, String description) Update the user description of an existing user under a speficied tenant.void
IUserRoleDao.setUserRoles
(ITenant tenant, String userName, String[] roles) Assign a list of roles to a particular user in a specified tenant. -
Uses of ITenant in org.pentaho.platform.api.mt
Modifier and TypeMethodDescriptionITenantManager.createTenant
(ITenant parentTenant, String tenantName, String tenantAdminRoleName, String authenticatedRoleName, String anonymousRoleName) Extracts the tenant from the principleId.ITenantManager.getTenantByRootFolderPath
(String tenantRootFolderPath) Modifier and TypeMethodDescriptionITenantManager.getChildTenants
(ITenant parentTenant) Gets children tenants of the "parent" tenant.ITenantManager.getChildTenants
(ITenant parentTenant, boolean includeDisabledTenants) Gets children tenants of the "parent" tenant.Modifier and TypeMethodDescriptionITenantManager.createTenant
(ITenant parentTenant, String tenantName, String tenantAdminRoleName, String authenticatedRoleName, String anonymousRoleName) ITenantManager.createUserHomeFolder
(ITenant tenant, String username) Creates users home folder.void
ITenantManager.deleteTenant
(ITenant tenant) Deletes the tenantvoid
ITenantManager.enableTenant
(ITenant tenant, boolean enable) Enables/disables the tenant with the paths of tenantPathITenantManager.getChildTenants
(ITenant parentTenant) Gets children tenants of the "parent" tenant.ITenantManager.getChildTenants
(ITenant parentTenant, boolean includeDisabledTenants) Gets children tenants of the "parent" tenant.ITenantedPrincipleNameResolver.getPrincipleId
(ITenant tenant, String principalName) Constructs a principle ID from tenant and principle name.ITenantManager.getTenantRootFolder
(ITenant tenant) ITenantManager.getUserHomeFolder
(ITenant tenant, String username) Retrieves users home folder.boolean
ITenantManager.isSubTenant
(ITenant parentTenant, ITenant descendantTenant) Modifier and TypeMethodDescriptionvoid
ITenantManager.deleteTenants
(List<ITenant> tenantPaths) Deletes a list of tenantsvoid
ITenantManager.enableTenants
(List<ITenant> tenantPaths, boolean enable) Enables/disables the tenants with paths in the tenantPaths list -
Uses of ITenant in org.pentaho.platform.api.repository2.unified
Modifier and TypeMethodDescriptionvoid
To be called before any users belonging to a particular tenant interact with the backing repository.void
To be called before user indicated byusername
interacts with the backing repository.