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

com.ueboot.shiro.service.role.RoleService Maven / Gradle / Ivy

There is a newer version: 3.1.0
Show newest version
/*
 * Copyright (c)  2018
 * All rights reserved.
 * 2018-08-21 09:40:34
 */
package com.ueboot.shiro.service.role;

import com.ueboot.shiro.entity.Role;
import com.ueboot.core.service.BaseService;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * Created on 2018-08-21 09:40:34
 *
 * @author yangkui
 * @since 2.1.0 by ueboot-generator
 */
public interface RoleService extends BaseService {

    Role findByName(String name);

    void deleteRole(Long[] roleIds);


    Page findByName(Pageable pageable, String name);

    /***
     * 统计是否有
     * @param id
     * @return
     */
    Long statisticUserByRoleId(Long id);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy