View Javadoc

1   package se.citerus.dddsample.application;
2   
3   import se.citerus.dddsample.domain.model.cargo.TrackingId;
4   
5   /**
6    * Cargo inspection service.
7    */
8   public interface CargoInspectionService {
9   
10    /**
11     * Inspect cargo and send relevant notifications to interested parties,
12     * for example if a cargo has been misdirected, or unloaded
13     * at the final destination.
14     *
15     * @param trackingId cargo tracking id
16     */
17    void inspectCargo(TrackingId trackingId);
18  
19  }