package com.windchat.im.storage.api;

import java.sql.SQLException;
import java.util.List;

import com.windchat.im.storage.bean.UserGroupBean;

public interface IUserGroupDao {

	List<String> checkGroupMember(String siteGroupId, List<String> userIds) throws SQLException;

	UserGroupBean getUserGroupSetting(String siteUserId, String siteGroupId) throws SQLException;

	boolean updateUserGroupSetting(String siteUserId, UserGroupBean bean) throws SQLException;

	public boolean isMute(String siteUserId, String siteGroupId) throws SQLException;

	public boolean updateMute(String siteUserId, String siteGroupId, boolean mute) throws SQLException;

	public int queryGroupMessagePerDay(long now, int day) throws SQLException;

}
