类 RoleService


  • public class RoleService
    extends cool.scx.base.BaseService<Role>
    RoleService
    版本:
    1.1.2
    作者:
    scx567888
    • 构造器详细资料

      • RoleService

        public RoleService​(UserRoleService userRoleService)

        Constructor for CoreRoleService.

        参数:
        userRoleService - a UserRoleService object.
    • 方法详细资料

      • getRoleListByUser

        public List<Role> getRoleListByUser​(User user)
        getRoleListByUser
        参数:
        user - a User object
        返回:
        a List object
      • getUserRoleByUserIds

        public List<UserRole> getUserRoleByUserIds​(List<Long> userIds)
        getUserRoleByUserIds
        参数:
        userIds - a User object
        返回:
        a List object