Package io.jmix.security.impl.role
Class BaseRoleRepository<T extends BaseRole>
java.lang.Object
io.jmix.security.impl.role.BaseRoleRepository<T>
- All Implemented Interfaces:
RoleRepository<T>
- Direct Known Subclasses:
ResourceRoleRepositoryImpl
,RowLevelRoleRepositoryImpl
public abstract class BaseRoleRepository<T extends BaseRole>
extends Object
implements RoleRepository<T>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
deleteRole
(String code) findRoleByCode
(String code) protected T
findRoleByCodeExcludeVisited
(String code, Set<String> visited) protected abstract Collection<? extends RoleProvider<T>>
protected abstract void
mergeChildRoleState
(T role, T childRole) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jmix.security.role.RoleRepository
getRoleByCode
-
Constructor Details
-
BaseRoleRepository
public BaseRoleRepository()
-
-
Method Details
-
getRoleProviders
-
mergeChildRoleState
-
findRoleByCode
- Specified by:
findRoleByCode
in interfaceRoleRepository<T extends BaseRole>
-
deleteRole
- Specified by:
deleteRole
in interfaceRoleRepository<T extends BaseRole>
-
getAllRoles
- Specified by:
getAllRoles
in interfaceRoleRepository<T extends BaseRole>
-
findRoleByCodeExcludeVisited
-