xyz.migoo.framework.infra.service.sys.permission.PermissionService Maven / Gradle / Ivy
The newest version!
package xyz.migoo.framework.infra.service.sys.permission;
import xyz.migoo.framework.infra.dal.dataobject.sys.Menu;
import org.springframework.lang.Nullable;
import xyz.migoo.framework.security.core.service.SecurityPermissionFrameworkService;
import java.util.Collection;
import java.util.List;
import java.util.Set;
public interface PermissionService extends SecurityPermissionFrameworkService {
/**
* 初始化权限的本地缓存
*/
void initLocalCache();
/**
* 获得角色们拥有的菜单列表,从缓存中获取
*
* 任意参数为空时,则返回为空
*
* @param roleIds 角色编号数组
* @param menuTypes 菜单类型数组
* @param menusStatuses 菜单状态数组
* @return 菜单列表
*/
List