📄 iservice.java
字号:
package com.briup.service;
import java.util.List;
import java.util.Map;
import com.briup.dao.bean.Admin;
import com.briup.dao.bean.Product;
import com.briup.dao.bean.Radcheck;
import com.briup.dao.bean.Role;
import com.briup.dao.bean.User;
import com.briup.exception.BossServiceException;
import com.briup.web.form.SearchAdminForm;
import com.briup.web.form.ShowUserDetailForm;
public interface IService {
// 管理员相关的操作
// 管理员登陆(根据loginName,password判断该Adm是否存在)
public Admin adminLogin(String loginName, String password)
throws BossServiceException;
// 添加管理员
public void addAdmin(Admin admin) throws BossServiceException;
// 根据id删除管理员
public void deleteAdmin(Long[] selItem) throws BossServiceException;
// 修改管理员信息
public void updateAdmin(Admin admin) throws BossServiceException;
// 根据loginName查询管理员信息
public Admin getAdminByLoginName(String loginName) throws Exception;
public List getAllAdmins() throws BossServiceException;
public List getAdminByNum(SearchAdminForm searchAdminForm, int offset,
int maxNumPerPage) throws BossServiceException;
// 用户相关的操作
public User userLogin(String loginName, String password)
throws BossServiceException;
public void userRegistor(User busers) throws BossServiceException;
public void updateUser(User user) throws BossServiceException;
// 根据帐务帐号查询用户信息
public User getUserByLoginName(String loginName)
throws BossServiceException;
public List getUserByNum(int offset, int maxNumPerPage)
throws BossServiceException;
public Integer getUserCount() throws BossServiceException;
public void deleteUser(Long[] selItem) throws BossServiceException;
// 根据业务帐号名获取到业务帐号信息
public Radcheck getBusinesByName(String businessName)
throws BossServiceException;
public void updateRadcheck(Radcheck radcheck,boolean updateRadreply) throws BossServiceException;
public void deleteRadcheck(Long[] selItem) throws BossServiceException;
// 角色相关的操作
public void addRole(Role role) throws BossServiceException;
public List getAllRoles() throws BossServiceException;
public Role getRoleById(Long id) throws BossServiceException;
public void updateRole(Role role) throws BossServiceException;
public void deleteRole(Long[] selItem) throws BossServiceException;
// 产品相关的操作
public Product getProductById(Long id) throws Exception;
public List getProductByNum(int offset, int maxNumPerPage)
throws BossServiceException;
public Integer getProductCount() throws BossServiceException;
public List getAllProducts() throws BossServiceException;
public void addProduct(Product product) throws BossServiceException;
public void updateProduct(Product product) throws BossServiceException;
public void deleteProduct(Long[] selItem) throws BossServiceException;
public List getAllProductTypes() throws BossServiceException;
public Long getHighValue() throws BossServiceException;
// 获取用户详细的上网记录
public Map showUserDetail(ShowUserDetailForm showUserDetailForm,
Integer offset, Integer maxNumPerPage) throws BossServiceException;
public List showUserDay(String name, String year, String month, String day)
throws BossServiceException;
public List showUserMonth(String name, String year, String month)
throws BossServiceException;
public List showUserYear(String name, String year)
throws BossServiceException;
public void saveBusinessAccount(Radcheck radcheck)
throws BossServiceException;
public List showBusinessMonth() throws BossServiceException;
public List showBusinessYear() throws BossServiceException;
public List showNasDay(String year, String month, String day)
throws BossServiceException;
public List showNasMonth(String year, String month)
throws BossServiceException;
public List showNasYear(String year) throws BossServiceException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -