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

com.didiglobal.logi.security.service.UserProjectService Maven / Gradle / Ivy

Go to download

logi-security 提供项目大多都需要的一些基础功能(用户、角色、权限、登录、注册、操作记录)

There is a newer version: 2.10.19
Show newest version
package com.didiglobal.logi.security.service;

import java.util.List;

/**
 * @author cjm
 */
public interface UserProjectService {

    /**
     * 根据项目id,获取用户idList
     * @param projectId 项目id
     * @return 用户idList
     */
    List getUserIdListByProjectId(Integer projectId);

    /**
     * 根据用户idList,获取项目idList
     * @param userIdList 用户idList
     * @return 项目idList
     */
    List getProjectIdListByUserIdList(List userIdList);

    /**
     * 保存用户与项目的关联信息
     * @param projectId 项目id
     * @param userIdList 用户idList
     */
    void saveUserProject(Integer projectId, List userIdList);

    /**
     * 更新用户与项目的关联信息,保存新关系之前会删除old的关联信息
     * @param projectId 项目id
     * @param userIdList 用户idList
     */
    void updateUserProject(Integer projectId, List userIdList);


    /**
     * 删除用户与项目的关联信息
     * @param projectId 项目id
     */
    void deleteUserProjectByProjectId(Integer projectId);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy