se.citerus.dddsample.interfaces.booking.facade
Interface BookingServiceFacade
- All Superinterfaces:
- java.rmi.Remote
- All Known Implementing Classes:
- BookingServiceFacadeImpl
public interface BookingServiceFacade
- extends java.rmi.Remote
This facade shields the domain layer - model, services, repositories -
from concerns about such things as the user interface and remoting.
bookNewCargo
java.lang.String bookNewCargo(java.lang.String origin,
java.lang.String destination,
java.util.Date arrivalDeadline)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
loadCargoForRouting
CargoRoutingDTO loadCargoForRouting(java.lang.String trackingId)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
assignCargoToRoute
void assignCargoToRoute(java.lang.String trackingId,
RouteCandidateDTO route)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
changeDestination
void changeDestination(java.lang.String trackingId,
java.lang.String destinationUnLocode)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
requestPossibleRoutesForCargo
java.util.List<RouteCandidateDTO> requestPossibleRoutesForCargo(java.lang.String trackingId)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
listShippingLocations
java.util.List<LocationDTO> listShippingLocations()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
listAllCargos
java.util.List<CargoRoutingDTO> listAllCargos()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
Copyright © 2009. All Rights Reserved.