All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.stylefeng.roses.kernel.sys.modular.role.action.RoleAssignOperateAction Maven / Gradle / Ivy

There is a newer version: 8.1.7
Show newest version
package cn.stylefeng.roses.kernel.sys.modular.role.action;

import cn.stylefeng.roses.kernel.sys.modular.role.enums.PermissionNodeTypeEnum;
import cn.stylefeng.roses.kernel.sys.modular.role.pojo.request.RoleBindPermissionRequest;

import java.util.Set;

/**
 * 角色绑定权限操作的接口
 *
 * @author fengshuonan
 * @since 2023/6/13 22:16
 */
public interface RoleAssignOperateAction {

    /**
     * 获取节点的类型,有4种节点类型
     *
     * @author fengshuonan
     * @since 2023/6/13 22:17
     */
    PermissionNodeTypeEnum getNodeType();

    /**
     * 执行角色绑定权限的过程,根据不同的点击类型,执行不同的操作过程
     *
     * @param roleBindPermissionRequest    角色绑定权限的参数
     * @param roleLimitMenuIdsAndOptionIds 角色所能承受的绑定范围
     * @author fengshuonan
     * @since 2023/6/13 22:17
     */
    void doOperateAction(RoleBindPermissionRequest roleBindPermissionRequest, Set roleLimitMenuIdsAndOptionIds);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy