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 SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionAnnotatedRowLevelRoleProvider(JmixModulesClasspathScanner classpathScanner, AnnotatedRoleBuilder annotatedRoleBuilder, RowLevelRoleDetector detector, org.springframework.context.ApplicationEventPublisher eventPublisher) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleandeleteRole(RowLevelRole role) findRoleByCode(String code) voidMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.security.role.RoleProvidergetRoleByCode
- 
Field Details- 
roles
 
- 
- 
Constructor Details- 
AnnotatedRowLevelRoleProvider@Autowired public AnnotatedRowLevelRoleProvider(JmixModulesClasspathScanner classpathScanner, AnnotatedRoleBuilder annotatedRoleBuilder, RowLevelRoleDetector detector, org.springframework.context.ApplicationEventPublisher eventPublisher) 
 
- 
- 
Method Details- 
getAllRoles- Specified by:
- getAllRolesin interface- RoleProvider<RowLevelRole>
 
- 
findRoleByCode- Specified by:
- findRoleByCodein interface- RoleProvider<RowLevelRole>
 
- 
deleteRole- Specified by:
- deleteRolein interface- RoleProvider<RowLevelRole>
 
- 
refreshRolespublic void refreshRoles()
 
-