Class DatabaseResourceRoleProvider
java.lang.Object
io.jmix.securitydata.impl.role.provider.BaseDatabaseRoleProvider<ResourceRole>
io.jmix.securitydata.impl.role.provider.DatabaseResourceRoleProvider
- All Implemented Interfaces:
ResourceRoleProvider
,RoleProvider<ResourceRole>
@Component("sec_DatabaseResourceRoleProvider")
public class DatabaseResourceRoleProvider
extends BaseDatabaseRoleProvider<ResourceRole>
implements ResourceRoleProvider
Role provider that gets resource roles from the database from the
ResourceRoleEntity
.-
Field Summary
Fields inherited from class io.jmix.securitydata.impl.role.provider.BaseDatabaseRoleProvider
accessManager, dataManager, metadata
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
buildFetchPlan
(FetchPlanBuilder fetchPlanBuilder) protected ResourceRole
protected Class<?>
Methods inherited from class io.jmix.securitydata.impl.role.provider.BaseDatabaseRoleProvider
buildFindByCodeQuery, deleteRole, findRoleByCode, getAllRoles, setAccessManager, setDataManager, setMetadata
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.RoleProvider
deleteRole, findRoleByCode, getAllRoles, getRoleByCode
-
Constructor Details
-
DatabaseResourceRoleProvider
public DatabaseResourceRoleProvider()
-
-
Method Details
-
getRoleClass
- Specified by:
getRoleClass
in classBaseDatabaseRoleProvider<ResourceRole>
-
buildFetchPlan
- Specified by:
buildFetchPlan
in classBaseDatabaseRoleProvider<ResourceRole>
-
buildRole
- Specified by:
buildRole
in classBaseDatabaseRoleProvider<ResourceRole>
-