farefacade.java

来自「用户管理的系统设计」· Java 代码 · 共 45 行

JAVA
45
字号
package facade;

import java.util.List;
import java.sql.Connection;
import persistent.FarePersistent;
import persistent.FareVo;
import persistent.FlightMsg;


public class FareFacade 
{
	FarePersistent up = new FarePersistent();
	
	public List getAllCity(Connection con) throws Exception
	{
		return up.getAllCity(con);
	}
	
	public List getAllFlight(Connection con) throws Exception
	{
		return up.getAllFlight(con);
	}
	
	public List getAllFlightID(Connection con) throws Exception
	{
		return up.getAllFlightID(con);
	}
	
	public List getFlightMsg(Connection con,String cityname)throws Exception
	{
		return up.getFlightMsg(con, cityname);
	}
	
	public FareVo getFlightFare(Connection con,String flightname)throws Exception
	{
		return up.getFlightFare(con, flightname);
	}
	
	public FlightMsg getFlightSchedule(Connection con,String schedulename)throws Exception
	{
		return up.getFlightSchedule(con,schedulename);
	}
	
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?