Class AnnotatedRowLevelRoleProvider
java.lang.Object
io.jmix.security.impl.role.provider.AnnotatedRowLevelRoleProvider
- All Implemented Interfaces:
 RoleProvider<RowLevelRole>,RowLevelRoleProvider
@Component("sec_AnnotatedRowLevelRoleProvider")
public class AnnotatedRowLevelRoleProvider
extends Object
implements RowLevelRoleProvider
Role provider that gets row level roles from classes annotated with
 
RowLevelRole.- 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionAnnotatedRowLevelRoleProvider(JmixModulesClasspathScanner classpathScanner, AnnotatedRoleBuilder annotatedRoleBuilder, RowLevelRoleDetector detector)  - 
Method Summary
Modifier and TypeMethodDescriptionbooleandeleteRole(RowLevelRole role) findRoleByCode(String code) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.security.role.RoleProvider
getRoleByCode 
- 
Field Details
- 
roles
 
 - 
 - 
Constructor Details
- 
AnnotatedRowLevelRoleProvider
@Autowired public AnnotatedRowLevelRoleProvider(JmixModulesClasspathScanner classpathScanner, AnnotatedRoleBuilder annotatedRoleBuilder, RowLevelRoleDetector detector)  
 - 
 - 
Method Details
- 
getAllRoles
- Specified by:
 getAllRolesin interfaceRoleProvider<RowLevelRole>
 - 
findRoleByCode
- Specified by:
 findRoleByCodein interfaceRoleProvider<RowLevelRole>
 - 
deleteRole
- Specified by:
 deleteRolein interfaceRoleProvider<RowLevelRole>
 - 
refreshRoles
public void refreshRoles() 
 -