package com.mvc.service;
import java.util.List;
import com.mvc.entity.Role;
/**
* 角色
* @author wanghuimin
* @date 2016年9月18日
*/
public interface RoleService {
// 根据状态删除
boolean deleteState(Integer role_id);
// 筛选角色列表
List<Role> findRoleAlls();
// 查询角色总条数
Long countTotal();
// 根据页数筛选用户列表
List<Role> findUserAllByPage(Integer offset, Integer end);
// 根据ID查看角色详情
Role findRoleContentById(Integer role_id);
//添加角色
boolean save(Role role);
}