Example #1
0
        // Gives all the information about all the flights hosted in the data base
        public DataSet showAllFlights()
        {
            FlightCAD c  = new FlightCAD();
            DataSet   ds = c.showFlights(this);

            return(ds);
        }
Example #2
0
        // Searches for a single flight given its id
        public DataSet searchIDFlights(String idF)
        {
            FlightCAD c  = new FlightCAD();
            DataSet   ds = c.searchIDFlights(idF);

            return(ds);
        }
Example #3
0
        // It shows all the information about the flights which concern the two cities passed by parameter
        public DataSet searchAllFlights(String city1, String city2)
        {
            FlightCAD c  = new FlightCAD();
            DataSet   ds = c.searchFlights(city1, city2);

            return(ds);
        }
Example #4
0
        // Updates the information of an existing entitie of class Flight by calling its respective CAD
        public DataSet update_Flight(int i)
        {
            FlightCAD c  = new FlightCAD();
            DataSet   ds = c.updateFlight(this, i);

            return(ds);
        }
Example #5
0
        // Adds a new entitie of class Flight by calling its respective CAD
        public DataSet add_Flight()
        {
            FlightCAD c  = new FlightCAD();
            DataSet   ds = c.addFlight(this);

            return(ds);
        }
Example #6
0
 public void show_timetable()
 {
     m_cc = new FlightCAD();
     m_cc.show_timetable(this);
 }
Example #7
0
 public void search_flight()
 {
     m_cc = new FlightCAD();
     m_cc.search_flight(this);
 }
Example #8
0
 public void update_flight()
 {
     m_cc = new FlightCAD();
     m_cc.update_flight(this);
 }
Example #9
0
 public void delete_flight()
 {
     m_cc = new FlightCAD();
     m_cc.delete_flight(this);
 }
Example #10
0
 public void add_flight()
 {
     m_cc = new FlightCAD();
     m_cc.add_flight(this);
 }