| | |
| | | public interface UserCustomSettingsService {
|
| | |
|
| | | /**
|
| | | * 更新各项设置状态
|
| | | * 更新各项设置状态
|
| | | * |
| | | * @param uid
|
| | | * @param typeNum
|
| | | * @param state
|
| | |
| | | */
|
| | | public void saveModuleState(Long uid, String type, Integer state) throws UserCustomSettingsException;
|
| | |
|
| | | |
| | | /**
|
| | | * 获取我的所有自定义设置
|
| | | * 获取我的所有自定义设置
|
| | | * |
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | | public List<UserCustomSettings> getSettingsByUid(Long uid) throws UserCustomSettingsException;
|
| | |
|
| | | |
| | | /**
|
| | | * 获取设置信息
|
| | | * @param uid 用户id
|
| | | * @param type 类型
|
| | | * 获取设置信息
|
| | | * |
| | | * @param uid
|
| | | * 用户id
|
| | | * @param type
|
| | | * 类型
|
| | | * @return
|
| | | */
|
| | | public UserCustomSettings getSettingsByUidAndType(Long uid, String type) throws UserCustomSettingsException;
|
| | |
|
| | | |
| | | /**
|
| | | * 设置列表
|
| | | * |
| | | * @param uid
|
| | | * @return
|
| | | * @throws UserCustomSettingsException
|
| | |
| | |
|
| | | /**
|
| | | * 推送时判断是否设置免打扰推送
|
| | | * |
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | |
| | |
|
| | | /**
|
| | | * 查询设置免打扰用户
|
| | | * |
| | | * @return
|
| | | */
|
| | | public List<Long> getCancelNoticeUsers();
|
| | |
|
| | | /**
|
| | | * 通过用户,类型,状态检索数据
|
| | | * |
| | | * @param uidList
|
| | | * @param type
|
| | | * @param state
|
| | | * @return
|
| | | */
|
| | | public List<UserCustomSettings> listByUidListAndTypeAndState(List<Long> uidList, String type, Integer state);
|
| | |
|
| | | }
|