|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BookingService
Cargo booking service.
| Method Summary | |
|---|---|
void |
assignCargoToRoute(Itinerary itinerary,
TrackingId trackingId)
|
TrackingId |
bookNewCargo(UnLocode origin,
UnLocode destination,
java.util.Date arrivalDeadline)
Registers a new cargo in the tracking system, not yet routed. |
void |
changeDestination(TrackingId trackingId,
UnLocode unLocode)
Changes the destination of a cargo. |
java.util.List<Itinerary> |
requestPossibleRoutesForCargo(TrackingId trackingId)
Requests a list of itineraries describing possible routes for this cargo. |
| Method Detail |
|---|
TrackingId bookNewCargo(UnLocode origin,
UnLocode destination,
java.util.Date arrivalDeadline)
origin - cargo origindestination - cargo destinationarrivalDeadline - arrival deadline
java.util.List<Itinerary> requestPossibleRoutesForCargo(TrackingId trackingId)
trackingId - cargo tracking id
void assignCargoToRoute(Itinerary itinerary,
TrackingId trackingId)
itinerary - itinerary describing the selected routetrackingId - cargo tracking id
void changeDestination(TrackingId trackingId,
UnLocode unLocode)
trackingId - cargo tracking idunLocode - UN locode of new destination
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||