1 package org.kuali.mobility.tours.dao; 2 3 import java.util.List; 4 5 import org.kuali.mobility.tours.entity.POI; 6 import org.kuali.mobility.tours.entity.Tour; 7 8 public interface ToursDao { 9 public Tour findTourById(Long id); 10 public Tour findTourByName(String name); 11 public Long saveTour(Tour tour); 12 public List<Tour> findAllTours(); 13 public void deleteTourById(Long id); 14 public POI findPoiById(Long id); 15 public Long savePoi(POI poi); 16 public void deletePoiById(Long poiId); 17 public List<POI> findAllCommonPOI(); 18 public POI findPoiByOrder(Long tourId, Integer order); 19 }