public interface IRoleAuthorizationPolicyRoleBindingDao
Modifier and Type | Method and Description |
---|---|
List<String> |
getBoundLogicalRoleNames(org.pentaho.platform.api.mt.ITenant tenant,
List<String> runtimeRoleNames)
Gets the logical roles bound to the given runtime roles in a particular tenant.
|
List<String> |
getBoundLogicalRoleNames(List<String> runtimeRoleNames)
Gets the logical roles bound to the given runtime roles.
|
List<String> |
getBoundLogicalRoleNames(javax.jcr.Session session,
org.pentaho.platform.api.mt.ITenant tenant,
List<String> runtimeRoleNames)
This was added to decouple
PentahoEntryCollector
Gets the logical roles bound to the given runtime roles in a particular tenant. |
List<String> |
getBoundLogicalRoleNames(javax.jcr.Session session,
List<String> runtimeRoleNames)
This was added to decouple
PentahoEntryCollector
Gets the logical roles bound to the given runtime roles. |
RoleBindingStruct |
getRoleBindingStruct(org.pentaho.platform.api.mt.ITenant tenant,
String locale)
Gets a struct-like object that contains everything known by this DAO for a given tenant.
|
RoleBindingStruct |
getRoleBindingStruct(String locale)
Gets a struct-like object that contains everything known by this DAO.
|
void |
setRoleBindings(org.pentaho.platform.api.mt.ITenant tenant,
String runtimeRoleName,
List<String> logicalRolesNames)
Sets the bindings for the given runtime role in a particular tenant.
|
void |
setRoleBindings(String runtimeRoleName,
List<String> logicalRolesNames)
Sets the bindings for the given runtime role.
|
RoleBindingStruct getRoleBindingStruct(String locale)
locale
- locale, possibly null
RoleBindingStruct getRoleBindingStruct(org.pentaho.platform.api.mt.ITenant tenant, String locale)
tenant
- locale
- void setRoleBindings(String runtimeRoleName, List<String> logicalRolesNames)
runtimeRoleName
- runtime role namelogicalRoleNames
- list of logical role namesvoid setRoleBindings(org.pentaho.platform.api.mt.ITenant tenant, String runtimeRoleName, List<String> logicalRolesNames)
tenant
- runtimeRoleName
- logicalRolesNames
- List<String> getBoundLogicalRoleNames(List<String> runtimeRoleNames)
#getRoleBindingStruct()
.runtimeRoleNames
- list of runtime role namesnull
List<String> getBoundLogicalRoleNames(org.pentaho.platform.api.mt.ITenant tenant, List<String> runtimeRoleNames)
#getRoleBindingStruct()
.tenant
- runtimeRoleNames
- list of runtime role namesnull
List<String> getBoundLogicalRoleNames(javax.jcr.Session session, List<String> runtimeRoleNames) throws javax.jcr.RepositoryException
PentahoEntryCollector
Gets the logical roles bound to the given runtime roles. Note that the size of the incoming list might not
match the size of the returned list. This is a convenience method. The same result could be obtained from
#getRoleBindingStruct()
.runtimeRoleNames
- list of runtime role namesnull
javax.jcr.RepositoryException
List<String> getBoundLogicalRoleNames(javax.jcr.Session session, org.pentaho.platform.api.mt.ITenant tenant, List<String> runtimeRoleNames) throws javax.jcr.RepositoryException
PentahoEntryCollector
Gets the logical roles bound to the given runtime roles in a particular tenant. Note that the size of the
incoming list might not match the size of the returned list. This is a convenience method. The same result
could be obtained from #getRoleBindingStruct()
.tenant
- runtimeRoleNames
- list of runtime role namesnull
javax.jcr.RepositoryException
Copyright © 2019 Hitachi Vantara. All rights reserved.