//Shows all the information about all the cruises from the DB public DataSet showAllCruises() //show all cruises { CruiseCAD c = new CruiseCAD(); DataSet ds = c.showCruises(this); return(ds); }
//Show the information about the crouises that match with the region and city provided public DataSet searchAllCruises(String region, String city) { CruiseCAD c = new CruiseCAD(); DataSet ds = c.searchCruises(region, city); return(ds); }
//Shearch information about a cruise given its id public DataSet searchIDCruises(String idc) { CruiseCAD c = new CruiseCAD(); DataSet ds = c.searchIDCruises(idc); return(ds); }
//Adds a new Cruise to the DB public DataSet add_Cruise() { CruiseCAD c = new CruiseCAD(); DataSet ds = c.addCruise(this); return(ds); }
//Updates the information about a cruise from the DB provided its id public DataSet update_Cruise(int i) { CruiseCAD c = new CruiseCAD(); DataSet ds = c.updateCruise(this, i); return(ds); }
public ArrayList search_Cruise() { ArrayList a = new ArrayList(); CruiseCAD c = new CruiseCAD(); a = c.searchCruises(this); return(a); }
public ArrayList show_All() { ArrayList a = new ArrayList(); CruiseCAD c = new CruiseCAD(); a = c.show_All_Cruises(); return(a); }
public void update_Cruise() { CruiseCAD c = new CruiseCAD(); c.update_Cruise(this); }
public void delete_Cruise() { CruiseCAD c = new CruiseCAD(); c.delete_Cruise(this); }
public void add_Cruise() { CruiseCAD c = new CruiseCAD(); c.add_Cruise(this); }