/** * Copyright (c) 2018 人人开源 All rights reserved. * * https://www.renren.io * * 版权所有,侵权必究! */ package com.epmet.service; import com.epmet.commons.mybatis.service.BaseService; import com.epmet.commons.tools.security.bo.ResourceBO; import com.epmet.dto.MenuResourceDTO; import com.epmet.entity.SysResourceEntity; import java.util.List; /** * 资源管理 * * @author Mark sunlightcs@gmail.com * @since 1.0.0 */ public interface SysResourceService extends BaseService { /** * 获取菜单资源列表 * @param menuId 菜单ID */ List getMenuResourceList(Long menuId); /** * 获取所有资源列表 */ List getResourceList(); /** * 获取用户资源列表 * @param userId 用户ID */ List getUserResourceList(Long userId); /** * 保存菜单资源 * @param menuId 菜单ID * @param menuName 菜单名称 * @param resourceList 资源列表 */ void saveMenuResource(Long menuId, String menuName, List resourceList); }