package com.hnshituo.core.auth.service;

import com.hnshituo.basic.service.BaseService;
import com.hnshituo.core.auth.vo.Role;

public interface RoleService extends BaseService<Role, Integer> {

	/**
	 * 该用户所在的角色群是否拥有全局数据权限
	 * @param userId
	 * @return
	 */
	public boolean hasWholeDataPrg(String userId) throws Exception;
	
	public String[] getDataPrg(String userId, String url) throws Exception;
	
}
