From 2a25d97953be52451c073f8abc22034283c6d8c9 Mon Sep 17 00:00:00 2001 From: slaws Date: Sun, 10 Aug 2008 16:14:48 +0000 Subject: Start looking at a conversational interface on the Trip component git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@684543 13f79535-47bb-0310-9956-ffa450edef68 --- .../travel-contribution/src/scatours/travel/TravelBooking.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'sandbox/travelsample/travel-contribution/src/scatours/travel/TravelBooking.java') diff --git a/sandbox/travelsample/travel-contribution/src/scatours/travel/TravelBooking.java b/sandbox/travelsample/travel-contribution/src/scatours/travel/TravelBooking.java index 5aa3ef94f5..fec3ceb366 100644 --- a/sandbox/travelsample/travel-contribution/src/scatours/travel/TravelBooking.java +++ b/sandbox/travelsample/travel-contribution/src/scatours/travel/TravelBooking.java @@ -29,8 +29,10 @@ import scatours.common.TripItem; @Remotable public interface TravelBooking { - void addTripItem(String id); - void removeTripItem(String id); - double getTotalPrice(); - void purchaseTrip(); + String newTrip(); + void addTripItem(String tripId, String id); + void removeTripItem(String tripId, String id); + TripItem[] getTripItems(String tripId); + double getTotalPrice(String tripId); + void purchaseTrip(String tripId); } -- cgit v1.2.3