package com.rbac.service;

import com.rbac.entity.FunctionEntity;
import com.rbac.entity.MenuEntity;
import com.rbac.vo.PageResult;
import com.rbac.vo.formbean.FunctionFormBean;

import java.util.List;

/**
 *
 */
public interface FunctionService {

    PageResult<FunctionFormBean> pageQueryFunction(int currentPage, int pageSize, int mid);

    int addFunction(FunctionFormBean functionFormBean);

    int updateFunction(FunctionFormBean functionFormBean);

    FunctionEntity findFunctionByFid(int fid);

    List<String> findResourcesByUid(int uid);

    int deleteFunctionByFid(int fid);
}
