Interface TravelSectorDao
- All Known Implementing Classes:
DefaultTravelSectorDao
public interface TravelSectorDao
this interface finds and return travel sector
-
Method Summary
Modifier and TypeMethodDescriptionfindTravelSector(TransportFacilityModel origin, TransportFacilityModel destination) This API find and return Travel sector based on origin and destination.findTravelSectorByCodes(String origin, String destination) Find travel sectors list.
-
Method Details
-
findTravelSector
TravelSectorModel findTravelSector(TransportFacilityModel origin, TransportFacilityModel destination) This API find and return Travel sector based on origin and destination.- Parameters:
origin- the origindestination- the destination- Returns:
- travel sector model
-
findTravelSectorByCodes
Find travel sectors list.- Parameters:
origin- the origindestination- the destination- Returns:
- the list
-