iagentservice.java

来自「一个关于物流的管理系统」· Java 代码 · 共 27 行

JAVA
27
字号
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 + =
减小字号Ctrl + -
显示快捷键?