1 package se.citerus.dddsample.application;
2
3 import se.citerus.dddsample.domain.model.cargo.TrackingId;
4 import se.citerus.dddsample.domain.model.handling.CannotCreateHandlingEventException;
5 import se.citerus.dddsample.domain.model.handling.HandlingEvent;
6 import se.citerus.dddsample.domain.model.location.UnLocode;
7 import se.citerus.dddsample.domain.model.voyage.VoyageNumber;
8
9 import java.util.Date;
10
11
12
13
14 public interface HandlingEventService {
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29 void registerHandlingEvent(Date completionTime,
30 TrackingId trackingId,
31 VoyageNumber voyageNumber,
32 UnLocode unLocode,
33 HandlingEvent.Type type) throws CannotCreateHandlingEventException;
34
35 }