1 37 38 package com.sun.j2ee.blueprints.catalog.dao; 39 40 import java.util.*; 41 import com.sun.j2ee.blueprints.catalog.*; 42 import com.sun.j2ee.blueprints.util.dao.*; 43 44 47 public interface CatalogDAO { 48 49 public ArrayList getLodgings(String location, Locale locale) 50 throws CatalogDAOException, DAOSystemException; 51 public Lodging getLodging(String id, Locale locale) 52 throws CatalogDAOException, DAOSystemException; 53 public ArrayList getTransportations(String origin, String destination, Locale locale) 54 throws CatalogDAOException, DAOSystemException; 55 public Transportation getTransportation(String id, Locale locale) 56 throws CatalogDAOException, DAOSystemException; 57 public ArrayList getActivities(String location, Locale locale) 58 throws CatalogDAOException, DAOSystemException; 59 public Activity getActivity(String id, Locale locale) 60 throws CatalogDAOException, DAOSystemException; 61 public AdventurePackage getAdventurePackage(String packageId, Locale locale) 62 throws CatalogDAOException, DAOSystemException; 63 64 } 65 | Popular Tags |