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);
|
|
|
|
}
|