Interface IRoleAuthorizationPolicyRoleBindingDaoWebService
-
- All Known Implementing Classes:
DefaultRoleAuthorizationPolicyRoleBindingDaoWebService
public interface IRoleAuthorizationPolicyRoleBindingDaoWebService
JAX-WS-safe version ofIRoleAuthorizationPolicyRoleBindingDao
. In this case, nothing is different but it keeps JAX-WS annotations out of the core classes.- Author:
- mlowery
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>
getBoundLogicalRoleNames(List<String> runtimeRoleNames)
Gets the logical roles bound to the given runtime roles.List<String>
getBoundLogicalRoleNamesForTenant(org.pentaho.platform.core.mt.Tenant tenant, List<String> runtimeRoleNames)
RoleBindingStruct
getRoleBindingStruct(String locale)
RoleBindingStruct
getRoleBindingStructForTenant(org.pentaho.platform.core.mt.Tenant tenant, String locale)
Gets a struct-like object that contains everything known by this DAO.void
setRoleBindings(String runtimeRoleName, List<String> logicalRolesNames)
Sets the bindings for the given runtime role.void
setRoleBindingsForTenant(org.pentaho.platform.core.mt.Tenant tenant, String runtimeRoleName, List<String> logicalRolesNames)
-
-
-
Method Detail
-
getRoleBindingStruct
RoleBindingStruct getRoleBindingStruct(String locale)
-
getRoleBindingStructForTenant
RoleBindingStruct getRoleBindingStructForTenant(org.pentaho.platform.core.mt.Tenant tenant, String locale)
Gets a struct-like object that contains everything known by this DAO. This is a batch operation provided for UIs.- Parameters:
locale
- locale, possiblynull
- Returns:
- role binding struct
-
setRoleBindings
void setRoleBindings(String runtimeRoleName, List<String> logicalRolesNames)
Sets the bindings for the given runtime role. All other bindings for this runtime role are removed.- Parameters:
runtimeRoleName
- runtime role namelogicalRoleNames
- list of logical role names
-
setRoleBindingsForTenant
void setRoleBindingsForTenant(org.pentaho.platform.core.mt.Tenant tenant, String runtimeRoleName, List<String> logicalRolesNames)
-
getBoundLogicalRoleNames
List<String> getBoundLogicalRoleNames(List<String> runtimeRoleNames)
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()
.- Parameters:
runtimeRoleNames
- list of runtime role names- Returns:
- list of logical role names, never
null
-
-