📄 iagentservice.java
字号:
package com.shunshi.ssh.service;
import java.util.List;
import org.extremecomponents.table.limit.Limit;
import com.shunshi.ssh.entity.Agent;
import com.shunshi.ssh.entity.AllInfo;
import com.shunshi.ssh.entity.Page;
import com.shunshi.ssh.exception.AgentServiceException;
public interface IAgentService {
void addAgent(Agent agent) throws AgentServiceException;
void updateState(int[] id,int state) throws AgentServiceException;
void delete(int[] id) throws AgentServiceException;
Agent findById(int id)throws AgentServiceException;
List findByUser(int id)throws AgentServiceException;
void updateAgent(Agent a)throws AgentServiceException;
Page findByState(int state,Limit size,int totalRows)throws AgentServiceException;
public AllInfo getAllInfo()throws AgentServiceException;
public void saveAllInfo(AllInfo allInfo)throws AgentServiceException;
public void deleteAllInfo(Agent agent)throws AgentServiceException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -