yujian
2019-06-20 ecf9f0669734d4397aa1277f9a22f515aa410062
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package com.yeshi.fanli.service.inter.homemodule;
 
import java.util.List;
 
import com.yeshi.fanli.entity.bus.homemodule.HomeNavbar;
import com.yeshi.fanli.entity.bus.homemodule.HomeNavbarUser;
import com.yeshi.fanli.exception.homemodule.HomeNavbarUserException;
 
public interface HomeNavbarUserService {
 
    /**
     * 查询导航栏
     * @return
     */
    public List<HomeNavbar> listEffectiveNavbar(Long uid, String device, Integer sex);
 
    /**
     * 保存用户自定义
     * @param uid
     * @param device
     * @param list
     * @throws HomeNavbarUserException
     */
    public void addNavbarUser(Long uid, String device, List<Long> list) throws HomeNavbarUserException;
 
    /**
     * 还原默认导航栏
     * @param uid
     * @param device
     * @throws HomeNavbarUserException
     */
    public List<HomeNavbar> restoreSystemDefault(Long uid, String device) throws HomeNavbarUserException;
 
    /**
     * 查询用户已选导航栏
     * @param uid
     * @param device
     * @return
     * @throws HomeNavbarUserException
     */
    public List<HomeNavbarUser> listUserNavbar(Long uid, String device) throws HomeNavbarUserException;
 
    /**
     * 同步设备上的设置
     * @param uid
     * @param device
     */
    public void synchroDeviceToUser(Long uid, String device);
 
 
    
}