se.citerus.dddsample.application.impl
Class CargoInspectionServiceImpl

java.lang.Object
  extended by se.citerus.dddsample.application.impl.CargoInspectionServiceImpl
All Implemented Interfaces:
CargoInspectionService

public class CargoInspectionServiceImpl
extends java.lang.Object
implements CargoInspectionService


Constructor Summary
CargoInspectionServiceImpl(ApplicationEvents applicationEvents, CargoRepository cargoRepository, HandlingEventRepository handlingEventRepository)
           
 
Method Summary
 void inspectCargo(TrackingId trackingId)
          Inspect cargo and send relevant notifications to interested parties, for example if a cargo has been misdirected, or unloaded at the final destination.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CargoInspectionServiceImpl

public CargoInspectionServiceImpl(ApplicationEvents applicationEvents,
                                  CargoRepository cargoRepository,
                                  HandlingEventRepository handlingEventRepository)
Method Detail

inspectCargo

@Transactional
public void inspectCargo(TrackingId trackingId)
Description copied from interface: CargoInspectionService
Inspect cargo and send relevant notifications to interested parties, for example if a cargo has been misdirected, or unloaded at the final destination.

Specified by:
inspectCargo in interface CargoInspectionService
Parameters:
trackingId - cargo tracking id


Copyright © 2009. All Rights Reserved.