se.citerus.dddsample.application
Interface HandlingEventService

All Known Implementing Classes:
HandlingEventServiceImpl

public interface HandlingEventService

Handling event service.


Method Summary
 void registerHandlingEvent(java.util.Date completionTime, TrackingId trackingId, VoyageNumber voyageNumber, UnLocode unLocode, HandlingEvent.Type type)
          Registers a handling event in the system, and notifies interested parties that a cargo has been handled.
 

Method Detail

registerHandlingEvent

void registerHandlingEvent(java.util.Date completionTime,
                           TrackingId trackingId,
                           VoyageNumber voyageNumber,
                           UnLocode unLocode,
                           HandlingEvent.Type type)
                           throws CannotCreateHandlingEventException
Registers a handling event in the system, and notifies interested parties that a cargo has been handled.

Parameters:
completionTime - when the event was completed
trackingId - cargo tracking id
voyageNumber - voyage number
unLocode - UN locode for the location where the event occurred
type - type of event
Throws:
CannotCreateHandlingEventException - if a handling event that represents an actual event that's relevant to a cargo we're tracking can't be created from the parameters


Copyright © 2009. All Rights Reserved.