se.citerus.dddsample.domain.model.handling
Interface HandlingEventRepository

All Known Implementing Classes:
HandlingEventRepositoryHibernate

public interface HandlingEventRepository

Handling event repository.


Method Summary
 HandlingHistory lookupHandlingHistoryOfCargo(TrackingId trackingId)
           
 void store(HandlingEvent event)
          Stores a (new) handling event.
 

Method Detail

store

void store(HandlingEvent event)
Stores a (new) handling event.

Parameters:
event - handling event to save

lookupHandlingHistoryOfCargo

HandlingHistory lookupHandlingHistoryOfCargo(TrackingId trackingId)
Parameters:
trackingId - cargo tracking id
Returns:
The handling history of this cargo


Copyright © 2009. All Rights Reserved.