package jnpf.authority.service;

import jnpf.model.authority.dto.menu.FtbPermissionMigrareRoleAddDTO;
import jnpf.model.authority.dto.role.FtbPermissionPositionAuthorizationDTO;
import jnpf.model.authority.dto.role.FtbPermissionPositionMenuDTO;
import jnpf.model.authority.vo.menu.FtbPermissionMenuDirectoryVO;
import jnpf.model.authority.vo.menu.FtbPermissionModuleInfoVO;
import jnpf.model.authority.vo.role.FtbPermissionPositionMenuVO;

import java.util.List;
import java.util.Map;

public interface FtbPermissionMigrateService {

    List<FtbPermissionPositionMenuVO> getPositionMenuByTenantAndModule(FtbPermissionPositionMenuDTO ftbPermissionPositionMenuDTO);

    void syncPositionAuthorization(FtbPermissionPositionAuthorizationDTO ftbPermissionPositionAuthorizationDTO);

    List<Map<String, Object>> getRoleList(String tenantId);

    void addRole(FtbPermissionMigrareRoleAddDTO ftbPermissionRole);

    FtbPermissionModuleInfoVO queryRolePermission(String roleId, String tenantId);

    List<FtbPermissionMenuDirectoryVO> getAListOfMenuDirectory(Integer type, String tenantId);
}
