public interface CustomRoleController extends BaseController<CustomRole>
| 限定符和类型 | 方法和说明 |
|---|---|
java.util.List<CustomRole> |
findByAuthority(java.lang.String authorityId,
AuthorityQueryType queryType,
QueryCondition customRoleCondition)
查找指定权限下的自定义角色
|
java.util.List<CustomRole> |
findByAuthority(java.lang.String authorityId,
java.lang.Class cls,
AuthorityQueryType queryType,
QueryCondition customRoleCondition)
查找指定权限下的自定义角色
|
java.util.List<CustomRole> |
findByUser(java.lang.String userId,
QueryCondition customRoleCondition)
查找指定用户所属的自定义角色
|
add, find, findOne, findWithTotalCount, getById, remove, remove, updatejava.util.List<CustomRole> findByUser(java.lang.String userId, QueryCondition customRoleCondition) throws java.lang.Exception
userId - 用户IDcustomRoleCondition - 自定义角色查询条件java.lang.Exceptionjava.util.List<CustomRole> findByAuthority(java.lang.String authorityId, AuthorityQueryType queryType, QueryCondition customRoleCondition) throws java.lang.Exception
authorityId - 权限IDqueryType - 权限查询类型customRoleCondition - 自定义角色查询条件java.lang.Exceptionjava.util.List<CustomRole> findByAuthority(java.lang.String authorityId, java.lang.Class cls, AuthorityQueryType queryType, QueryCondition customRoleCondition) throws java.lang.Exception
authorityId - 权限IDcls - 权限类queryType - 权限查询类型customRoleCondition - 自定义角色查询条件java.lang.Exception